* Patch by Detlev Zundel, 08 Sep 2004:
[oweals/u-boot.git] / drivers / i82365.c
index 5f44eacdde258419c2edd196e57d42dcbd5936d6..1ac50d783a8d7d23a39601f6175e42f1d7950979 100644 (file)
@@ -429,7 +429,8 @@ static int i365_set_io_map (socket_info_t * s, struct pccard_io_map *io)
        u_char map, ioctl;
 
        map = io->map;
-       if ((map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) ||
+       /* comment out: comparison is always false due to limited range of data type */
+       if ((map > 1) || /* (io->start > 0xffff) || (io->stop > 0xffff) || */
                (io->stop < io->start))
                return -1;
        /* Turn off the window before changing anything */