diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-09-06 22:14:00 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-09-06 22:14:00 +0000 |
| commit | 38906aed9a305672cb64d30ea1ca51592d359f46 (patch) | |
| tree | d73e1a1134d7d99b83c3df85ceebbd64a9002a01 | |
| parent | af7027033d2bab5ed53d2fa29fc3539ace293b93 (diff) | |
Notes
| -rw-r--r-- | sys/dev/pci/pci_pci.c | 3 | ||||
| -rw-r--r-- | sys/dev/pci/pcib_private.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index d195c28386c2..3ffc3e454ebc 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -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; diff --git a/sys/dev/pci/pcib_private.h b/sys/dev/pci/pcib_private.h index 2d5c2e6eb06e..ec25172a144f 100644 --- a/sys/dev/pci/pcib_private.h +++ b/sys/dev/pci/pcib_private.h @@ -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); |
