Revert r132291.
Restore setting PIO/WDMA timings for VIA UDMA133 controllers. Linux disables only AST register writing there, but no all timings.
This commit is contained in:
parent
6d6bc99ad2
commit
ba8834a379
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=213301
@ -352,8 +352,7 @@ ata_via_old_setmode(device_t dev, int target, int mode)
|
||||
piomode = mode;
|
||||
}
|
||||
/* Set WDMA/PIO timings */
|
||||
if (ctlr->chip->cfg1 != VIA133)
|
||||
pci_write_config(parent, reg - 0x08,timings[ata_mode2idx(piomode)], 1);
|
||||
pci_write_config(parent, reg - 0x08,timings[ata_mode2idx(piomode)], 1);
|
||||
return (mode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user