artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c81a1
)
Fix previous changes; accept and forward a device name, do not just use
author
tholo
<tholo@openbsd.org>
Fri, 22 Mar 1996 18:29:50 +0000
(18:29 +0000)
committer
tholo
<tholo@openbsd.org>
Fri, 22 Mar 1996 18:29:50 +0000
(18:29 +0000)
a generic name "pci" for interrupt statistics
sys/arch/i386/pci/pci_machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/i386/pci/pci_machdep.c
b/sys/arch/i386/pci/pci_machdep.c
index
856588f
..
b84cf3c
100644
(file)
--- 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
);
}