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
This commit is contained in:
Benno Rice 2003-01-14 11:37:56 +00:00
parent 5dda08514e
commit 2c2d1d071e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -71,6 +71,7 @@ struct resource *pcib_alloc_resource(device_t dev, device_t child, int type, int
int pcib_maxslots(device_t dev);
u_int32_t pcib_read_config(device_t dev, int b, int s, int f, int reg, int width);
void pcib_write_config(device_t dev, int b, int s, int f, int reg, u_int32_t val, int width);
int pcib_route_interrupt(device_t pcib, device_t dev, int pin);
extern devclass_t pcib_devclass;