Home | History | Annotate | Download | only in netboot

Lines Matching defs:nic

31 #include <nic.h>
233 struct nic *(*eth_probe) (struct nic *, unsigned short *,
350 struct nic *(*eth_probe) (struct nic *, unsigned short *,
353 struct nic *(*eth_probe) (struct nic *, unsigned short *);
359 * NIC probing is in order of appearance in this table.
363 static struct dispatch_table NIC[] =
465 #define NIC_TABLE_SIZE (sizeof (NIC) / sizeof (NIC[0]))
468 eth_dummy (struct nic *dummy)
475 struct nic nic =
477 (void (*) (struct nic *)) eth_dummy, /* reset */
479 (void (*) (struct nic *, const char *,
482 (void (*) (struct nic *)) eth_dummy, /* disable */
498 (*nic.reset) (&nic);
550 if ((pt->eth_probe) (&nic, pci_ioaddrs, p))
559 for (t = NIC; t->nic_name != 0; ++t)
563 if ((*t->eth_probe) (&nic, t->probe_ioaddrs, p))
569 if ((*t->eth_probe) (&nic, t->probe_ioaddrs))
583 return ((*nic.poll) (&nic));
589 (*nic.transmit) (&nic, d, t, s, p);
597 (*nic.disable) (&nic);