summaryrefslogtreecommitdiff
path: root/drivers/i82365.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-09-08 22:03:11 +0000
committerwdenk <wdenk>2004-09-08 22:03:11 +0000
commiteedcd078fe1434d93b84322c4e14c52f80282a41 (patch)
tree0dd7b16045dd41fbda926f929f1d7cf8edbd2ae0 /drivers/i82365.c
parent7ca202f566a6e9dc3d0dd0216e82ad1a48f50f19 (diff)
downloadu-boot-imx-eedcd078fe1434d93b84322c4e14c52f80282a41.zip
u-boot-imx-eedcd078fe1434d93b84322c4e14c52f80282a41.tar.gz
u-boot-imx-eedcd078fe1434d93b84322c4e14c52f80282a41.tar.bz2
* Patch by Detlev Zundel, 08 Sep 2004:
Update etags build target * Improve NetConsole support: add support for broadcast destination address and buffered input. * Cleanup compiler warnings for GCC 3.3.x and later * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch
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 5f44eac..1ac50d7 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 */