diff options
author | benno <benno@FreeBSD.org> | 2003-01-14 11:37:56 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2003-01-14 11:37:56 +0000 |
commit | 44de9da1c5056fc0bb92ab81a7e876e2cb0b6515 (patch) | |
tree | 054ee4487be0d9c9f5a442e16688f745b6751a83 /sys/dev/pci/pci_pci.c | |
parent | d92ba29c91c2bf4808c57fde67d9d1b7cd28f035 (diff) | |
download | FreeBSD-src-44de9da1c5056fc0bb92ab81a7e876e2cb0b6515.zip FreeBSD-src-44de9da1c5056fc0bb92ab81a7e876e2cb0b6515.tar.gz |
Make the base pcib_route_interrupt method available to other pci-pci bridge
sub-classes.
This allows the powerpc kernel to build again.
Forgotten by: benno
Spotted by: grehan
Diffstat (limited to 'sys/dev/pci/pci_pci.c')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 40f8b8c..71d814c 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -51,7 +51,6 @@ #include "pcib_if.h" static int pcib_probe(device_t dev); -static int pcib_route_interrupt(device_t pcib, device_t dev, int pin); static device_method_t pcib_methods[] = { /* Device interface */ @@ -478,7 +477,7 @@ pcib_write_config(device_t dev, int b, int s, int f, int reg, u_int32_t val, int /* * Route an interrupt across a PCI bridge. */ -static int +int pcib_route_interrupt(device_t pcib, device_t dev, int pin) { device_t bus; |