void ixp12x0_mainbus_attach(struct device *parent, struct device *self, void *aux) { struct ixp12x0_softc *sc = (void *) self; /* * Initialize the interrupt part of our PCI chipset tag */ ixm1200_pci_init(&sc->ia_pci_chipset, sc); ixp12x0_attach(sc); }
void ixp12x0_mainbus_attach(device_t parent, device_t self, void *aux) { struct ixp12x0_softc *sc = device_private(self); sc->sc_dev = self; /* * Initialize the interrupt part of our PCI chipset tag */ ixm1200_pci_init(&sc->ia_pci_chipset, sc); ixp12x0_attach(sc); }