summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c5
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