diff options
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/pci/ofw_pcib.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/sparc64/pci/ofw_pcib.c b/sys/sparc64/pci/ofw_pcib.c index bf2f1d7..0f10696 100644 --- a/sys/sparc64/pci/ofw_pcib.c +++ b/sys/sparc64/pci/ofw_pcib.c @@ -29,10 +29,11 @@ * SUCH DAMAGE. * * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13 - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include "opt_ofw_pci.h" #include <sys/param.h> @@ -115,8 +116,9 @@ ofw_pcib_probe(device_t dev) static int ofw_pcib_attach(device_t dev) { - struct ofw_pcib_gen_softc *sc = device_get_softc(dev); + struct ofw_pcib_gen_softc *sc; + sc = device_get_softc(dev); ofw_pcib_gen_setup(dev); pcib_attach_common(dev); device_add_child(dev, "pci", sc->ops_pcib_sc.secbus); |