diff options
author | msmith <msmith@FreeBSD.org> | 2000-12-08 22:11:23 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-12-08 22:11:23 +0000 |
commit | c27f2d3c492a3d78680bb4c52f0be2c345735e1d (patch) | |
tree | ab8e18698d3c3ee4b4443c78e8ba86065bed1ff3 /sys/alpha/pci/apecs_pci.c | |
parent | 3e12cdd63653239c3c71bf1e7042f1149134e630 (diff) | |
download | FreeBSD-src-c27f2d3c492a3d78680bb4c52f0be2c345735e1d.zip FreeBSD-src-c27f2d3c492a3d78680bb4c52f0be2c345735e1d.tar.gz |
Next phase in the PCI subsystem cleanup.
- Move PCI core code to dev/pci.
- Split bridge code out into separate modules.
- Remove the descriptive strings from the bridge drivers. If you
want to know what a device is, use pciconf. Add support for
broadly identifying devices based on class/subclass, and for
parsing a preloaded device identification database so that if
you want to waste the memory, you can identify *anything* we know
about.
- Remove machine-dependant code from the core PCI code. APIC interrupt
mapping is performed by shadowing the intline register in machine-
dependant code.
- Bring interrupt routing support to the Alpha
(although many platforms don't yet support routing or mapping
interrupts entirely correctly). This resulted in spamming
<sys/bus.h> into more places than it really should have gone.
- Put sys/dev on the kernel/modules include path. This avoids
having to change *all* the pci*.h includes.
Diffstat (limited to 'sys/alpha/pci/apecs_pci.c')
-rw-r--r-- | sys/alpha/pci/apecs_pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/pci/apecs_pci.c b/sys/alpha/pci/apecs_pci.c index 7030111..2190748 100644 --- a/sys/alpha/pci/apecs_pci.c +++ b/sys/alpha/pci/apecs_pci.c @@ -35,6 +35,7 @@ #include <sys/rman.h> #include <pci/pcivar.h> #include <machine/swiz.h> +#include <machine/md_var.h> #include <alpha/pci/apecsreg.h> #include <alpha/pci/apecsvar.h> @@ -188,6 +189,7 @@ static device_method_t apecs_pcib_methods[] = { DEVMETHOD(pcib_maxslots, apecs_pcib_maxslots), DEVMETHOD(pcib_read_config, apecs_pcib_read_config), DEVMETHOD(pcib_write_config, apecs_pcib_write_config), + DEVMETHOD(pcib_route_interrupt, alpha_pci_route_interrupt), { 0, 0 } }; |