[patch] read[bwl] and ioremap problem

Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Sat, 18 Dec 1999 03:27:25 -0600


--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii

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

--EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch

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; }

--EeQfGwPcQSOJBaQU--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/