Lines Matching refs:netdev
478 struct net_device *netdev; in ipheth_probe() local
482 netdev = alloc_etherdev(sizeof(struct ipheth_device)); in ipheth_probe()
483 if (!netdev) in ipheth_probe()
486 netdev->netdev_ops = &ipheth_netdev_ops; in ipheth_probe()
487 netdev->watchdog_timeo = IPHETH_TX_TIMEOUT; in ipheth_probe()
488 strcpy(netdev->name, "eth%d"); in ipheth_probe()
490 dev = netdev_priv(netdev); in ipheth_probe()
492 dev->net = netdev; in ipheth_probe()
536 SET_NETDEV_DEV(netdev, &intf->dev); in ipheth_probe()
537 netdev->ethtool_ops = &ops; in ipheth_probe()
539 retval = register_netdev(netdev); in ipheth_probe()
556 free_netdev(netdev); in ipheth_probe()