aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/chipsets/ata-sis.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-03-30 22:18:38 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-03-30 22:18:38 +0000
commit9cf4fe2ebe5e7790a18b2b27f5c68b2b08ee34b7 (patch)
tree8b14f8d516ed7f249e9c59ba2ec27c475ea3a397 /sys/dev/ata/chipsets/ata-sis.c
parentf8ee854304a256737ebe10a3c9b928e5a95c2ab6 (diff)
downloadsrc-9cf4fe2ebe5e7790a18b2b27f5c68b2b08ee34b7.tar.gz
src-9cf4fe2ebe5e7790a18b2b27f5c68b2b08ee34b7.zip
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
Notes
Notes: svn path=/head/; revision=190581
Diffstat (limited to 'sys/dev/ata/chipsets/ata-sis.c')
-rw-r--r--sys/dev/ata/chipsets/ata-sis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-sis.c b/sys/dev/ata/chipsets/ata-sis.c
index 1d9dac72e658..8e02ee904453 100644
--- a/sys/dev/ata/chipsets/ata-sis.c
+++ b/sys/dev/ata/chipsets/ata-sis.c
@@ -226,7 +226,7 @@ ata_sis_ch_attach(device_t dev)
static void
ata_sis_reset(device_t dev)
{
- if (ata_sata_phy_reset(dev))
+ if (ata_sata_phy_reset(dev, -1, 1))
ata_generic_reset(dev);
}