summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-27 22:06:03 +0000
committerderaadt <deraadt@openbsd.org>1995-12-27 22:06:03 +0000
commiteecb46f8754b0dfaa24fb6adf798ef64a9d9507c (patch)
tree8e40dd7201c30adb1e6be4c90774af856137d5fb /sys/dev/pci/pcivar.h
parentfrom netbsd; merge latest Thomas version with our minimal changes (diff)
downloadwireguard-openbsd-eecb46f8754b0dfaa24fb6adf798ef64a9d9507c.tar.xz
wireguard-openbsd-eecb46f8754b0dfaa24fb6adf798ef64a9d9507c.zip
from netbsd:
The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-rw-r--r--sys/dev/pci/pcivar.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index a552dd0f37e..bcaa1e5ae42 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -49,15 +49,6 @@ ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#include <i386/pci/pci_machdep.h>
#endif
-/* PCI interrupt levels; system interrupt levels for PCI bus use */
-typedef enum {
- PCI_IPL_NONE, /* block only the interrupt's IRQ*/
- PCI_IPL_BIO, /* block I/O interrupts */
- PCI_IPL_NET, /* network */
- PCI_IPL_TTY, /* terminal */
- PCI_IPL_CLOCK, /* clock */
-} pci_intrlevel;
-
struct pci_attach_args {
int pa_bus;
int pa_device;
@@ -69,7 +60,7 @@ pcireg_t pci_conf_read __P((pcitag_t, int));
void pci_conf_write __P((pcitag_t, int, pcireg_t));
void pci_devinfo __P((pcireg_t, pcireg_t, char *, int *));
pcitag_t pci_make_tag __P((int, int, int));
-void *pci_map_int __P((pcitag_t, pci_intrlevel, int (*)(void *), void *));
+void *pci_map_int __P((pcitag_t, int, int (*)(void *), void *));
int pci_map_mem __P((pcitag_t, int, vm_offset_t *, vm_offset_t *));
int pci_attach_subdev __P((struct device *, int, int));