diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-25 21:42:32 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2001-06-25 21:42:32 +0000 |
commit | a7a58d735630d566a767f15ff48bff20eb5a33ab (patch) | |
tree | 184b6609ba9a960131314d8b7432e47b2b7458bf /sys | |
parent | 7fbadbaeab83931593a477c887b14695c440bea3 (diff) |
PCIIDE compat intr disestablish routines for i386
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/pci/pciide_machdep.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/i386/pci/pciide_machdep.c b/sys/arch/i386/pci/pciide_machdep.c index 64902de6982..fcfdc0f6d8a 100644 --- a/sys/arch/i386/pci/pciide_machdep.c +++ b/sys/arch/i386/pci/pciide_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide_machdep.c,v 1.3 2001/04/04 07:02:55 csapuntz Exp $ */ +/* $OpenBSD: pciide_machdep.c,v 1.4 2001/06/25 21:42:31 csapuntz Exp $ */ /* $NetBSD: pciide_machdep.c,v 1.2 1999/02/19 18:01:27 mycroft Exp $ */ /* @@ -65,9 +65,12 @@ pciide_machdep_compat_intr_establish(dev, pa, chan, func, arg) irq = PCIIDE_COMPAT_IRQ(chan); cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg, dev->dv_xname); - if (cookie == NULL) - return (NULL); - printf("%s: %s interrupting at irq %d\n", dev->dv_xname, - PCIIDE_CHANNEL_NAME(chan), irq); + return (cookie); } + +void +pciide_machdep_compat_intr_disestablish(pci_chipset_tag_t pc, void *cookie) +{ + isa_intr_disestablish(NULL, cookie); +} |