From: tholo Date: Fri, 22 Mar 1996 18:29:50 +0000 (+0000) Subject: Fix previous changes; accept and forward a device name, do not just use X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e592ec27e6d796f5ae4bcfd401f4fe8b977ae49f;p=openbsd Fix previous changes; accept and forward a device name, do not just use a generic name "pci" for interrupt statistics --- diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c index 856588fa920..b84cf3c2083 100644 --- a/sys/arch/i386/pci/pci_machdep.c +++ b/sys/arch/i386/pci/pci_machdep.c @@ -373,11 +373,12 @@ pci_map_mem(tag, reg, vap, pap) } void * -pci_map_int(tag, level, func, arg) +pci_map_int(tag, level, func, arg, what) pcitag_t tag; int level; int (*func) __P((void *)); void *arg; + char *what; { pcireg_t data; int pin, line; @@ -429,5 +430,5 @@ pci_map_int(tag, level, func, arg) printf("pci_map_int: pin %c mapped to line %d\n", '@' + pin, line); #endif - return isa_intr_establish(line, IST_LEVEL, level, func, arg, "pci"); + return isa_intr_establish(line, IST_LEVEL, level, func, arg, what); }