patch-2.2.11 linux/drivers/macintosh/mediabay.c
Next file: linux/drivers/macintosh/via-pmu.c
Previous file: linux/drivers/isdn/sc/message.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Aug 9 12:04:57 1999
- Orig file:
v2.2.10/linux/drivers/macintosh/mediabay.c
- Orig date:
Mon Dec 21 08:37:28 1998
diff -u --recursive --new-file v2.2.10/linux/drivers/macintosh/mediabay.c linux/drivers/macintosh/mediabay.c
@@ -64,8 +64,7 @@
#ifdef CONFIG_BLK_DEV_IDE
/* check the busy bit in the media-bay ide interface
(assumes the media-bay contains an ide device) */
-#define MB_IDE_READY(i) ((in_8((volatile unsigned char *) \
- (media_bays[i].cd_base + 0x70)) & 0x80) == 0)
+#define MB_IDE_READY(i) ((inb(media_bays[i].cd_base + 0x70) & 0x80) == 0)
#endif
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)