From e592ec27e6d796f5ae4bcfd401f4fe8b977ae49f Mon Sep 17 00:00:00 2001 From: tholo Date: Fri, 22 Mar 1996 18:29:50 +0000 Subject: [PATCH] Fix previous changes; accept and forward a device name, do not just use a generic name "pci" for interrupt statistics --- sys/arch/i386/pci/pci_machdep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 2.20.1