Home | History | Annotate | Download | only in netboot

Lines Matching refs:nic

6 #include "nic.h"
54 static void epic100_disable(struct nic *nic);
55 static int epic100_poll(struct nic *nic);
56 static void epic100_transmit(struct nic *nic, const char *destaddr,
98 epic100_reset(struct nic *nic)
104 struct nic*
105 epic100_probe(struct nic *nic, unsigned short *probeaddrs)
178 ap = (unsigned short*)nic->node_addr;
182 printf(" I/O %#hX %! ", ioaddr, nic->node_addr);
205 nic->reset = epic100_reset;
206 nic->poll = epic100_poll;
207 nic->transmit = epic100_transmit;
208 nic->disable = epic100_disable;
210 return nic;
295 epic100_transmit(struct nic *nic, const char *destaddr, unsigned int type,
316 memcpy(txp + ETH_ALEN, nic->node_addr, ETH_ALEN);
354 * returns the packet in the array nic->packet.
355 * returns the length of the packet in nic->packetlen.
359 epic100_poll(struct nic *nic)
386 nic->packetlen = rx_ring[entry].rxlength - 4;
387 memcpy(nic->packet, (char*)rx_ring[entry].bufaddr, nic->packetlen);
405 epic100_disable(struct nic *nic)