diff options
author | gallatin <gallatin@FreeBSD.org> | 2001-06-01 17:39:11 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2001-06-01 17:39:11 +0000 |
commit | 97157b4d0e8357e515eacbc41d938e44f28c9b9d (patch) | |
tree | 3e6d0a9770f3def6c2b401ae01aa0e8e8a31eeac /sys/alpha/include | |
parent | 05769a88e298bb6f61223081bbaea61377bce088 (diff) | |
download | FreeBSD-src-97157b4d0e8357e515eacbc41d938e44f28c9b9d.zip FreeBSD-src-97157b4d0e8357e515eacbc41d938e44f28c9b9d.tar.gz |
Resurrect platform.pci_intr_map() and essentially undo the effects of
the interface conversion to platform.pci_intr_route(). I've left the
platform.pci_intr_route() function pointer in place, as well as
alpha_pci_route_interrupt(), but no platform currently implements it.
To work around the removal of alpha_platform_assign_pciintr(cfg);
from the pci probe code, I've hooked in calls to platform.pci_intr_map()
in pcib_read_config (similar to the x86 APIC_IO ifdef in pci_cfgregread)
for every chipset that has a platform which needs it.
While here, I've removed the interupt mapping/routing code from the
AS2x00 platform because its not required (it has never been present in
-stable).
Tested on: UP1000, Miata(GL), XP1000, AS2100, AS500
Diffstat (limited to 'sys/alpha/include')
-rw-r--r-- | sys/alpha/include/cpuconf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/include/cpuconf.h b/sys/alpha/include/cpuconf.h index 66194f9..fd4f3fe 100644 --- a/sys/alpha/include/cpuconf.h +++ b/sys/alpha/include/cpuconf.h @@ -72,7 +72,8 @@ extern struct platform { void (*mcheck_handler) __P((unsigned long, struct trapframe *, unsigned long, unsigned long)); void (*pci_intr_init) __P((void)); - int (*pci_intr_route) __P((device_t, device_t, int)); + void (*pci_intr_map) __P((void *)); + int (*pci_intr_route) __P((device_t, device_t, int)); void (*pci_intr_disable) __P((int)); void (*pci_intr_enable) __P((int)); int (*pci_setup_ide_intr) __P((struct device *dev, |