lkml.org 
[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPATCH fdomain-2.4.16
Date
--- /tmp/foo/fdomain.c.orig	Sun Sep 30 21:26:07 2001
+++ drivers/scsi/fdomain.c Tue Nov 27 23:59:59 2001
@@ -729,13 +729,13 @@
switch (Quantum) {
case 2: /* ISA_200S */
case 3: /* ISA_250MG */
- base = readb(bios_base + 0x1fa2) + (readb(bios_base + 0x1fa3) << 8);
+ base = isa_readb(bios_base + 0x1fa2) + (isa_readb(bios_base + 0x1fa3) <<
8);
break;
case 4: /* ISA_200S (another one) */
- base = readb(bios_base + 0x1fa3) + (readb(bios_base + 0x1fa4) << 8);
+ base = isa_readb(bios_base + 0x1fa3) + (isa_readb(bios_base + 0x1fa4) <<
8);
break;
default:
- base = readb(bios_base + 0x1fcc) + (readb(bios_base + 0x1fcd) << 8);
+ base = isa_readb(bios_base + 0x1fcc) + (isa_readb(bios_base + 0x1fcd) <<
8);
break;
}

@@ -1955,7 +1955,7 @@
offset = bios_base + 0x1f31 + drive * 25;
break;
}
- memcpy_fromio( &i, offset, sizeof( struct drive_info ) );
+ isa_memcpy_fromio( &i, offset, sizeof( struct drive_info ) );
info_array[0] = i.heads;
info_array[1] = i.sectors;
info_array[2] = i.cylinders;


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.045 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site