summaryrefslogtreecommitdiff
path: root/drivers/i82365.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i82365.c')
-rw-r--r--drivers/i82365.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/i82365.c b/drivers/i82365.c
index 5f44eacdde2..1ac50d783a8 100644
--- a/drivers/i82365.c
+++ b/drivers/i82365.c
@@ -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 */