mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Dont set "address setup timing" on newer VIA chips.
closes PR: 69180
This commit is contained in:
parent
6fd05b64b5
commit
4ad91b11e7
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue