FreeBSD/sys/dev/xen/pcifront/pcifront.c
/* Newbus xen pcib device driver attach */
Newbus xen pcib device driver attach
Newbus xen pcib device driver attach
static int
xpcib_attach(device_t dev) 
{
	struct xpcib_softc *sc = (struct xpcib_softc *)device_get_softc(dev);
	DPRINTF("xpcib attach (bus=%d)\n", sc->bus);
	device_add_child(dev, "pci", -1);
	return bus_generic_attach(dev);
}
static int xpcib_attach ( device_t dev ) { struct xpcib_softc * sc = ( struct xpcib_softc * ) device_get_softc ( dev ) ; DPRINTF ( " \n " , sc -> bus ) ; device_add_child ( dev , " " , -1 ) ; return bus_generic_attach ( dev ) ; }
Newbus xen pcib device driver attach
Newbus xen pcib device driver attach