aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/chipsets/ata-sis.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2009-02-19 00:32:55 +0000
committerAlexander Motin <mav@FreeBSD.org>2009-02-19 00:32:55 +0000
commit78d154163c0b75b53be4f16c36d2722240ac86c1 (patch)
treed0db707a28184efa663d8a1c183d38fc63966fb2 /sys/dev/ata/chipsets/ata-sis.c
parent8a520db77d36e9b586f1e1f416d5920562889472 (diff)
downloadsrc-78d154163c0b75b53be4f16c36d2722240ac86c1.tar.gz
src-78d154163c0b75b53be4f16c36d2722240ac86c1.zip
Quite mechanical ch_detach implementations for all atapci subdrivers.
Some dmainit call fixes for previous commit.
Notes
Notes: svn path=/head/; revision=188769
Diffstat (limited to 'sys/dev/ata/chipsets/ata-sis.c')
-rw-r--r--sys/dev/ata/chipsets/ata-sis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/chipsets/ata-sis.c b/sys/dev/ata/chipsets/ata-sis.c
index de84c0566152..b3c86f5ffd83 100644
--- a/sys/dev/ata/chipsets/ata-sis.c
+++ b/sys/dev/ata/chipsets/ata-sis.c
@@ -187,6 +187,7 @@ ata_sis_chipinit(device_t dev)
if ((ctlr->r_res2 = bus_alloc_resource_any(dev, ctlr->r_type2,
&ctlr->r_rid2, RF_ACTIVE))) {
ctlr->ch_attach = ata_sis_ch_attach;
+ ctlr->ch_detach = ata_pci_ch_detach;
ctlr->reset = ata_sis_reset;
/* enable PCI interrupt */