Lines Matching defs:nic
41 #include "nic.h"
474 a3c90x_transmit(struct nic *nic __unused, const char *d, unsigned int t,
598 *** copy the packet to nic->packet if it gets a packet and set the size
599 *** in nic->packetlen. Return 1 if a packet was found.
602 a3c90x_poll(struct nic *nic, int retrieve)
620 INF_3C90X.ReceiveUPD.DataAddr = virt_to_bus(nic->packet);
651 /** Ok, got packet. Set length in nic->packetlen. **/
652 nic->packetlen = (INF_3C90X.ReceiveUPD.UpPktStatus & 0x1FFF);
675 static void a3c90x_irq(struct nic *nic __unused, irq_action_t action __unused)
693 struct nic *nic = (struct nic *)dev;
707 nic->ioaddr = pci->ioaddr & ~3;
708 nic->irqno = 0;
814 nic->node_addr[i] = (eeprom[HWADDR_OFFSET + i/2] >> (8*((i&1)^1))) & 0xff;
954 nic->poll = a3c90x_poll;
955 nic->transmit = a3c90x_transmit;
956 nic->irq = a3c90x_irq;