lkml.org 
[lkml]   [1999]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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;
    }
    \
     
     \ /
      Last update: 2005-03-22 13:55    [W:0.029 / U:28.944 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site