diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-02-20 04:36:20 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-02-20 04:36:20 +0000 |
commit | e1db5c4a473d067a236a9deb6aaf0d4b49037ab0 (patch) | |
tree | d99a015cd4bf0a19ed04cd028e4c95a554f20949 /sys/arch/i386/pci | |
parent | 5de6545ee7bb75bb0895f89e1e1086f2d570db11 (diff) |
Pass device name to interrupt establish routines so it can be recorded in
the device interrupt chain structures (isa, pci)
Move interrupt chain structure definition to <machine/psl.h> so vmstat can
get at it (i386)
Remove hack to count interrupts the old way (i386)
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/pci_machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c index 404fe2e1c54..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); + return isa_intr_establish(line, IST_LEVEL, level, func, arg, what); } |