Lines Matching full:netdevice
78 #include <linux/netdevice.h>
146 struct net_device *netdevice; in lan_init_chip() local
161 netdevice = alloc_etherdev(sizeof(struct i596_private)); in lan_init_chip()
162 if (!netdevice) in lan_init_chip()
164 SET_NETDEV_DEV(netdevice, &dev->dev); in lan_init_chip()
165 parisc_set_drvdata (dev, netdevice); in lan_init_chip()
167 netdevice->base_addr = dev->hpa.start; in lan_init_chip()
168 netdevice->irq = dev->irq; in lan_init_chip()
170 if (pdc_lan_station_id(addr, netdevice->base_addr)) { in lan_init_chip()
177 eth_hw_addr_set(netdevice, addr); in lan_init_chip()
179 lp = netdev_priv(netdevice); in lan_init_chip()
187 retval = i82596_probe(netdevice); in lan_init_chip()
196 free_netdev(netdevice); in lan_init_chip()