summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/chipsets/ata-via.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-03-30 22:18:38 +0000
committermav <mav@FreeBSD.org>2009-03-30 22:18:38 +0000
commitd4ed9d6887a6828e3bc3925a80a1c36e526275a2 (patch)
tree8b14f8d516ed7f249e9c59ba2ec27c475ea3a397 /sys/dev/ata/chipsets/ata-via.c
parentab91849b30614e59f7ed6899853f1a1335930965 (diff)
downloadFreeBSD-src-d4ed9d6887a6828e3bc3925a80a1c36e526275a2.zip
FreeBSD-src-d4ed9d6887a6828e3bc3925a80a1c36e526275a2.tar.gz
Integrate user/mav/ata branch:
Add ch_suspend/ch_resume methods for PCI controllers and implement them for AHCI. Refactor AHCI channel initialization according to it. Fix Port Multipliers operation. It is far from perfect yet, but works now. Tested with JMicron JMB363 AHCI + SiI 3726 PMP pair. Previous version was also tested with SiI 4726 PMP. Hardware sponsored by: Vitsch Electronics / VEHosting.nl
Diffstat (limited to 'sys/dev/ata/chipsets/ata-via.c')
-rw-r--r--sys/dev/ata/chipsets/ata-via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-via.c b/sys/dev/ata/chipsets/ata-via.c
index 4530adf..525ca2f 100644
--- a/sys/dev/ata/chipsets/ata-via.c
+++ b/sys/dev/ata/chipsets/ata-via.c
@@ -269,7 +269,7 @@ ata_via_reset(device_t dev)
if ((ctlr->chip->cfg2 & VIABAR) && (ch->unit > 1))
ata_generic_reset(dev);
else
- if (ata_sata_phy_reset(dev))
+ if (ata_sata_phy_reset(dev, -1, 1))
ata_generic_reset(dev);
}
OpenPOWER on IntegriCloud