Lines Matching refs:netdevice
1530 struct net_device *netdevice; in lan_init_chip() local
1547 netdevice = alloc_etherdev(0); in lan_init_chip()
1548 if (!netdevice) in lan_init_chip()
1551 netdevice->base_addr = dev->hpa; in lan_init_chip()
1552 netdevice->irq = dev->irq; in lan_init_chip()
1553 netdevice->init = i82596_probe; in lan_init_chip()
1555 retval = register_netdev(netdevice); in lan_init_chip()
1558 kfree(netdevice); in lan_init_chip()
1562 ((struct i596_private *)netdevice->priv)->options = OPT_SWAP_PORT; in lan_init_chip()
1565 netdevs[num_drivers++] = netdevice; in lan_init_chip()
1600 struct net_device *netdevice; in lasi_82596_exit() local
1602 netdevice = netdevs[i]; in lasi_82596_exit()
1603 if (!netdevice) in lasi_82596_exit()
1606 unregister_netdev(netdevice); in lasi_82596_exit()
1608 lp = (struct i596_private *) netdevice->priv; in lasi_82596_exit()
1612 (void *)netdevice->mem_start, lp->dma_addr); in lasi_82596_exit()
1614 free_page(netdevice->mem_start); in lasi_82596_exit()
1616 netdevice->priv = NULL; in lasi_82596_exit()