Searched refs:nfsmb_sc (Results 1 – 1 of 1) sorted by relevance
213 struct nfsmb_softc *nfsmb_sc = device_get_softc(dev); in nfsmb_attach() local216 nfsmb_sc->rid = NF2PCI_SMBASE_1; in nfsmb_attach()218 nfsmb_sc->res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, in nfsmb_attach()219 &nfsmb_sc->rid, RF_ACTIVE); in nfsmb_attach()221 if (nfsmb_sc->res == NULL) { in nfsmb_attach()223 nfsmb_sc->rid = 0x50; in nfsmb_attach()224 nfsmb_sc->res = bus_alloc_resource_any(dev, in nfsmb_attach()225 SYS_RES_IOPORT, &nfsmb_sc->rid, RF_ACTIVE); in nfsmb_attach()226 if (nfsmb_sc->res == NULL) { in nfsmb_attach()232 mtx_init(&nfsmb_sc->lock, device_get_nameunit(dev), "nfsmb", MTX_DEF); in nfsmb_attach()[all …]