Lines Matching refs:dev
52 static int octebus_probe(device_t dev);
53 static int octebus_attach(device_t dev);
54 static int octebus_detach(device_t dev);
55 static int octebus_shutdown(device_t dev);
88 octebus_probe(device_t dev)
90 if (device_get_unit(dev) != 0)
92 device_set_desc(dev, "Cavium Octeon Ethernet pseudo-bus");
97 octebus_attach(device_t dev)
102 sc = device_get_softc(dev);
103 sc->sc_dev = dev;
105 rv = cvm_oct_init_module(dev);
113 octebus_detach(device_t dev)
115 cvm_oct_cleanup_module(dev);
120 octebus_shutdown(device_t dev)
122 return (octebus_detach(dev));