diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-26 05:58:39 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-26 05:58:39 +0000 |
commit | ac032b36f0ca6ead1912a15af080eede2a37554f (patch) | |
tree | d66474d4c9747afd0a30b4702342c6fcc55ac1f8 /sys/dev/pci/pciide.c | |
parent | dd21a231b6601efa7c5f47a47718b4a46e95d5fd (diff) |
Fix args to pciide_machdep_compat_intr_disestablish
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r-- | sys/dev/pci/pciide.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 2cc6978f628..c568399cf01 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.54 2001/06/25 23:00:55 csapuntz Exp $ */ +/* $OpenBSD: pciide.c,v 1.55 2001/06/26 05:58:38 csapuntz Exp $ */ /* $NetBSD: pciide.c,v 1.110 2001/03/20 17:56:46 bouyer Exp $ */ /* @@ -1223,13 +1223,12 @@ pciide_unmap_compat_intr(pa, cp, compatchan, interface) struct pciide_channel *cp; int compatchan, interface; { - struct pciide_softc *sc = (struct pciide_softc *)cp->wdc_channel.wdc; struct channel_softc *wdc_cp = &cp->wdc_channel; if ((interface & PCIIDE_INTERFACE_PCI(wdc_cp->channel)) != 0) return; - pciide_machdep_compat_intr_disestablish(&sc->sc_wdcdev.sc_dev, cp->ih); + pciide_machdep_compat_intr_disestablish(pa->pa_pc, cp->ih); } void |