Lines Matching refs:dev
28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/smc/if_smc_fdt.c 271377 2014-09-10 10:59:17Z andrew $");
46 #include <dev/smc/if_smcvar.h>
48 #include <dev/mii/mii.h>
49 #include <dev/mii/miivar.h>
51 #include <dev/fdt/fdt_common.h>
52 #include <dev/ofw/openfirm.h>
53 #include <dev/ofw/ofw_bus.h>
54 #include <dev/ofw/ofw_bus_subr.h>
63 smc_fdt_probe(device_t dev)
67 if (!ofw_bus_status_okay(dev))
70 if (ofw_bus_is_compatible(dev, "smsc,lan91c111")) {
71 sc = device_get_softc(dev);
74 if (smc_probe(dev) != 0) {
85 smc_fdt_attach(device_t dev)
90 sc = device_get_softc(dev);
92 err = smc_attach(dev);
101 smc_fdt_detach(device_t dev)
104 smc_detach(dev);