Export pcib_attach() as a "protected" for use in subclasses of the PCI-PCI
bridge driver.
This commit is contained in:
parent
c35be1f7d2
commit
a121620cbc
@ -49,7 +49,6 @@
|
||||
#include "opt_pci.h"
|
||||
|
||||
static int pcib_probe(device_t dev);
|
||||
static int pcib_attach(device_t dev);
|
||||
static int pcib_route_interrupt(device_t pcib, device_t dev, int pin);
|
||||
|
||||
static device_method_t pcib_methods[] = {
|
||||
@ -194,7 +193,7 @@ pcib_attach_common(device_t dev)
|
||||
*/
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
pcib_attach(device_t dev)
|
||||
{
|
||||
struct pcib_softc *sc;
|
||||
|
@ -58,6 +58,7 @@ struct pcib_softc
|
||||
u_int8_t seclat; /* secondary bus latency timer */
|
||||
};
|
||||
|
||||
int pcib_attach(device_t dev);
|
||||
void pcib_attach_common(device_t dev);
|
||||
int pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result);
|
||||
int pcib_write_ivar(device_t dev, device_t child, int which, uintptr_t value);
|
||||
|
Loading…
Reference in New Issue
Block a user