diff options
author | sos <sos@FreeBSD.org> | 2004-07-17 14:48:46 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2004-07-17 14:48:46 +0000 |
commit | 7eac47804ac14b8cee9ef876ab7c8b32244c201a (patch) | |
tree | 9791227633784ae724a99a568c09f3f009d2125b /sys/dev/ata | |
parent | 0303c434d1c60e96f969f7f61c17960e7565f5e2 (diff) | |
download | FreeBSD-src-7eac47804ac14b8cee9ef876ab7c8b32244c201a.zip FreeBSD-src-7eac47804ac14b8cee9ef876ab7c8b32244c201a.tar.gz |
Dont set "address setup timing" on newer VIA chips.
closes PR: 69180
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-chipset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-chipset.c b/sys/dev/ata/ata-chipset.c index 859c864..cfd2eab 100644 --- a/sys/dev/ata/ata-chipset.c +++ b/sys/dev/ata/ata-chipset.c @@ -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); |