patch-2.4.18 linux/drivers/scsi/fdomain.c
Next file: linux/drivers/scsi/hosts.c
Previous file: linux/drivers/scsi/aic7xxx/aic7xxx_linux.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Jan 14 18:53:53 2002
- Orig file:
linux.orig/drivers/scsi/fdomain.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/scsi/fdomain.c linux/drivers/scsi/fdomain.c
@@ -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;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)