mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
Export pcib_attach() as a "protected" for use in subclasses of the PCI-PCI
bridge driver.
This commit is contained in:
parent
af7027033d
commit
38906aed9a
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue