Lines Matching refs:nic
114 static void fa311_reset(struct nic *nic);
115 static int fa311_poll(struct nic *nic);
116 static void fa311_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const ch…
117 static void fa311_disable(struct nic *nic);
122 struct nic * fa311_probe(struct nic *nic, unsigned short *io_addrs, struct pci_device *pci) in fa311_probe() argument
155 nic->node_addr[i] = macaddr[i]; in fa311_probe()
156 printf("%! ", nic->node_addr); in fa311_probe()
160 fa311_reset(nic); in fa311_probe()
162 nic->reset = fa311_reset; in fa311_probe()
163 nic->disable = fa311_disable; in fa311_probe()
164 nic->poll = fa311_poll; in fa311_probe()
165 nic->transmit = fa311_transmit; in fa311_probe()
210 return nic; in fa311_probe()
214 static void fa311_reset(struct nic *nic) in fa311_reset() argument
228 static int fa311_poll(struct nic *nic) in fa311_poll() argument
253 nic->packetlen = (desc_status & 0x0fff) - 4; /* Omit CRC size. */ in fa311_poll()
254 memcpy(nic->packet, (char*)(dev->rx_ring[entry].addr), nic->packetlen); in fa311_poll()
269 static void fa311_transmit(struct nic *nic, const char *destaddr, unsigned int type, unsigned int l… in fa311_transmit() argument
284 memcpy(txp + ETH_ALEN, nic->node_addr, ETH_ALEN); in fa311_transmit()
320 static void fa311_disable(struct nic *nic) in fa311_disable() argument