Home | History | Annotate | Download | only in netboot

Lines Matching full:nic

98 #include "nic.h"
359 static void eepro100_reset(struct nic *nic)
374 static void eepro100_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p)
395 memcpy (&hdr.src_addr, nic->node_addr, ETH_ALEN);
439 * returns the packet in the array nic->packet.
440 * returns the length of the packet in nic->packetlen.
443 static int eepro100_poll(struct nic *nic)
458 nic->packetlen = ACCESS(rxfd)count & 0x3fff;
459 memcpy (nic->packet, ACCESS(rxfd)packet, nic->packetlen);
461 hd (nic->packet, 0x30);
466 static void eepro100_disable(struct nic *nic)
481 struct nic *eepro100_probe(struct nic *nic, unsigned short *probeaddrs, struct pci_device *p)
517 nic
519 printf ("Ethernet addr: %!\n", nic->node_addr);
546 ACCESS(rxfd)rx_buf_addr = (int) &nic->packet;
579 t[i] = nic->node_addr[i];
628 nic->reset = eepro100_reset;
629 nic->poll = eepro100_poll;
630 nic->transmit = eepro100_transmit;
631 nic->disable = eepro100_disable;
632 return nic;