From ac032b36f0ca6ead1912a15af080eede2a37554f Mon Sep 17 00:00:00 2001 From: Constantine Sapuntzakis Date: Tue, 26 Jun 2001 05:58:39 +0000 Subject: Fix args to pciide_machdep_compat_intr_disestablish --- sys/dev/pci/pciide.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci') 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 -- cgit v1.2.3