--- 27rc5~/drivers/pcmcia/i82092.c 2003-11-28 20:26:20.000000000 +0200 +++ 27rc5/drivers/pcmcia/i82092.c 2004-08-07 14:09:39.000000000 +0300 @@ -788,7 +788,7 @@ leave("i82092aa_set_io_map with invalid map"); return -EINVAL; } - if ((io->start > 0xffff) || (io->stop > 0xffff) || (io->stop < io->start)){ + if (io->stop < io->start){ leave("i82092aa_set_io_map with invalid io"); return -EINVAL; } --- 27rc5~/drivers/pcmcia/i82365.c 2003-11-28 20:26:20.000000000 +0200 +++ 27rc5/drivers/pcmcia/i82365.c 2004-08-07 14:09:39.000000000 +0300 @@ -1225,8 +1225,7 @@ "%#4.4x-%#4.4x)\n", sock, io->map, io->flags, io->speed, io->start, io->stop); map = io->map; - if ((map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) || - (io->stop < io->start)) return -EINVAL; + if ((map > 1) || (io->stop < io->start)) return -EINVAL; /* Turn off the window before changing anything */ if (i365_get(sock, I365_ADDRWIN) & I365_ENA_IO(map)) i365_bclr(sock, I365_ADDRWIN, I365_ENA_IO(map)); --- 27rc5~/drivers/pcmcia/tcic.c 2002-11-29 01:53:14.000000000 +0200 +++ 27rc5/drivers/pcmcia/tcic.c 2004-08-07 14:09:39.000000000 +0300 @@ -844,8 +844,7 @@ DEBUG(1, "tcic: SetIOMap(%d, %d, %#2.2x, %d ns, " "%#4.4x-%#4.4x)\n", lsock, io->map, io->flags, io->speed, io->start, io->stop); - if ((io->map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) || - (io->stop < io->start)) return -EINVAL; + if ((io->map > 1) || (io->stop < io->start)) return -EINVAL; tcic_setw(TCIC_ADDR+2, TCIC_ADR2_INDREG | (psock << TCIC_SS_SHFT)); addr = TCIC_IWIN(psock, io->map);