patch-2.3.40 linux/drivers/block/pdc202xx.c
Next file: linux/drivers/block/piix.c
Previous file: linux/drivers/block/paride/pf.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Jan 14 00:50:53 2000
- Orig file:
v2.3.39/linux/drivers/block/pdc202xx.c
- Orig date:
Mon Dec 20 18:48:21 1999
diff -u --recursive --new-file v2.3.39/linux/drivers/block/pdc202xx.c linux/drivers/block/pdc202xx.c
@@ -227,7 +227,7 @@
unsigned short EP;
byte CLKSPD = IN_BYTE(high_16 + 0x11);
int drive_number = ((hwif->channel ? 2 : 0) + (drive->select.b.unit & 0x01));
- byte udma_66 = ((id->word93 & 0x2000) && (hwif->udma_four)) ? 1 : 0;
+ byte udma_66 = ((id->hw_config & 0x2000) && (hwif->udma_four)) ? 1 : 0;
byte udma_33 = ultra ? (inb(high_16 + 0x001f) & 1) : 0;
/*
@@ -661,8 +661,6 @@
if (hwif->dma_base) {
hwif->dmaproc = &pdc202xx_dmaproc;
- hwif->drives[0].autotune = 0;
- hwif->drives[1].autotune = 0;
} else {
hwif->drives[0].autotune = 1;
hwif->drives[1].autotune = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)