Messages in this thread Patch in this message |  | | | Date | Sat, 18 Dec 1999 03:27:25 -0600 | | From | Bill Wendling <> | | Subject | [patch] read[bwl] and ioremap problem |
| |
Hi,
I have a first patch in this (the isa_read[bwl] thingy). It's my first Linux patch, so I'm kinda nervous about it. It's small and attached :). Was this was people had in mind?
-- || Bill Wendling wendling@ganymede.isdn.uiuc.edu diff -Naur linux-2.3.33/drivers/block/macide.c linux/drivers/block/macide.c --- linux-2.3.33/drivers/block/macide.c Sat Sep 4 15:07:19 1999 +++ linux/drivers/block/macide.c Sat Dec 18 03:09:47 1999 @@ -71,9 +71,9 @@ static int mac_ack_intr(ide_hwif_t* hwif) { unsigned char isr; - isr = readb(MAC_HD_BASE + MAC_HD_ISR); + isr = isa_readb(MAC_HD_BASE + MAC_HD_ISR); if (isr & (1<<5)) { - writeb(isr & ~(1<<5), MAC_HD_BASE + MAC_HD_ISR); + isa_writeb(isr & ~(1<<5), MAC_HD_BASE + MAC_HD_ISR); return 1; } |  |