Lines Matching full:netdev
197 phandle_t netdev; in ofwn_init() local
205 netdev = OF_finddevice(path); in ofwn_init()
206 if (OF_getprop(netdev, "local-mac-address", desc->myea, 6) == -1) in ofwn_init()
270 * To properly match network devices, we have to subclass the netdev device.
293 netdev.dv_init(); in ofwnd_init()
294 ofw_netdev.dv_strategy = netdev.dv_strategy; in ofwnd_init()
295 ofw_netdev.dv_open = netdev.dv_open; in ofwnd_init()
296 ofw_netdev.dv_close = netdev.dv_close; in ofwnd_init()
297 ofw_netdev.dv_ioctl = netdev.dv_ioctl; in ofwnd_init()
298 ofw_netdev.dv_print = netdev.dv_print; in ofwnd_init()
299 ofw_netdev.dv_fmtdev = netdev.dv_fmtdev; in ofwnd_init()