mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Dont set "address setup timing" on newer VIA chips.
closes PR: 69180
This commit is contained in:
parent
6fd05b64b5
commit
4ad91b11e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132291
@ -2695,7 +2695,8 @@ ata_via_family_setmode(struct ata_device *atadev, int mode)
|
||||
if (ctlr->chip->cfg2 & NVIDIA)
|
||||
reg += 0x10;
|
||||
|
||||
pci_write_config(parent, reg - 0x08, timings[ata_mode2idx(mode)], 1);
|
||||
if (ctlr->chip->cfg1 != VIA133)
|
||||
pci_write_config(parent, reg - 0x08, timings[ata_mode2idx(mode)], 1);
|
||||
|
||||
error = ata_controlcmd(atadev, ATA_SETFEATURES, ATA_SF_SETXFER, 0, mode);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user