/external/grub/netboot/ |
cards.h | 11 #include "nic.h" 24 extern struct nic *wd_probe(struct nic *, unsigned short * 29 extern struct nic *t503_probe(struct nic *, unsigned short * 34 extern struct nic *rhine_probe(struct nic *, unsigned short * 39 extern struct nic *ne_probe(struct nic *, unsigned short * 44 extern struct nic *nepci_probe(struct nic *, unsigned short [all...] |
sis900.c | 43 #include "nic.h" 83 static void sis900_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 84 static void amd79c901_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 85 static void ics1893_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 86 static void rtl8201_read_mode(struct nic *nic, int phy_addr, int *speed, int *duplex); 92 void (*read_mode) (struct nic *nic, int phy_addr, int *speed, int *duplex) [all...] |
nic.h | 16 struct nic struct 18 void (*reset)P((struct nic *)); 19 int (*poll)P((struct nic *)); 20 void (*transmit)P((struct nic *, const char *d, 22 void (*disable)P((struct nic *));
|
tiara.c | 4 TIARA (Fujitsu Etherstar) NIC driver for Etherboot 23 #include "nic.h" 107 /* NIC specific static variables go here */ 114 static void tiara_reset(struct nic *nic) 129 outb(nic->node_addr[i], ioaddr + DLCR_NODE_ID + i); 137 static int tiara_poll(struct nic *nic) 150 insw(ioaddr + BMPR_MEM_PORT, nic->packet, len / 2); 152 if (memcmp(nic->packet + ETH_ALEN, nic->node_addr, ETH_ALEN) == 0 [all...] |
natsemi.c | 57 #include "nic.h" 221 struct nic *natsemi_probe(struct nic *nic, unsigned short *io_addrs, struct pci_device *pci); 224 static void natsemi_init(struct nic *nic); 225 static void natsemi_reset(struct nic *nic); 226 static void natsemi_init_rxfilter(struct nic *nic); [all...] |
3c595.c | 28 #include "nic.h" 65 static void t595_reset(struct nic *nic) 109 outb(nic->node_addr[i], BASE + VX_W2_ADDR_0 + i); 163 struct nic *nic, 211 outsw(BASE + VX_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); 228 static int t595_poll(struct nic *nic) 269 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2) [all...] |
3c509.c | 28 #include "nic.h" 63 static void t509_reset(struct nic *nic) 107 outb(nic->node_addr[i], BASE + EP_W2_ADDR_0 + i); 155 struct nic *nic, 201 outsw(BASE + EP_W1_TX_PIO_WR_1, nic->node_addr, ETH_ALEN/2); 218 static int t509_poll(struct nic *nic) 259 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2) [all...] |
otulip.c | 26 #include "nic.h" 158 static void tulip_reset(struct nic *nic) 224 txb[0] = nic->node_addr[0]; 225 txb[1] = nic->node_addr[1]; 226 txb[4] = nic->node_addr[2]; 227 txb[5] = nic->node_addr[3]; 228 txb[8] = nic->node_addr[4]; 229 txb[9] = nic->node_addr[5]; 267 static void tulip_transmit(struct nic *nic, const char *d, unsigned int t, unsigned int s, const char *p [all...] |
rtl8139.c | 23 NIC remains live and can crash the kernel later. 64 #include "nic.h" 174 struct nic *rtl8139_probe(struct nic *nic, unsigned short *probeaddrs, 177 static void rtl_reset(struct nic *nic); 178 static void rtl_transmit(struct nic *nic, const char *destaddr, 180 static int rtl_poll(struct nic *nic) [all...] |
sk_g16.c | 3 Schneider & Koch G16 NIC driver for Etherboot 67 #include "nic.h" 465 static int SK_probe1(struct nic *nic, short ioaddr1); 467 static void SK_reset(struct nic *nic); 468 static int SK_poll(struct nic *nic); 470 struct nic *nic, [all...] |
i82586.c | 3 i82586 NIC driver for Etherboot 15 #include "nic.h" 78 assume 8k because to have 16k you cannot put a ROM on the NIC. 244 /* NIC specific static variables go here */ 252 static void setup_rx_buffers(struct nic *nic) 318 static void i82586_reset(struct nic *nic) 340 memcpy((char *)mem_start + SA_OFFSET, nic->node_addr, ETH_ALEN); 341 setup_rx_buffers(nic); [all...] |
davicom.c | 46 #include "nic.h" 166 struct nic *davicom_probe(struct nic *nic, unsigned short *io_addrs, 168 static void davicom_init_chain(struct nic *nic); /* Sten 10/9 */ 169 static void davicom_reset(struct nic *nic); 170 static void davicom_transmit(struct nic *nic, const char *d, unsigned int t [all...] |
fa311.c | 36 #include "nic.h" 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 char *p); 117 static void fa311_disable(struct nic *nic); 122 struct nic * fa311_probe(struct nic *nic, unsigned short *io_addrs, struct pci_device *pci [all...] |
epic100.c | 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* [all...] |
ni5010.c | 18 #include "nic.h" 167 /* NIC specific static variables go here */ 195 static void ni5010_reset(struct nic *nic) 209 outb(nic->node_addr[i], EDLC_ADDR + i); 221 static int ni5010_poll(struct nic *nic) 230 nic->packetlen = inw(IE_RCNT); 234 insb(IE_RBUF, nic->packet, nic->packetlen); [all...] |
smc9000.c | 31 #include "nic.h" 172 static void smc9000_reset(struct nic *nic) 181 struct nic *nic, 263 outsw(smc9000_base + DATA_1, nic->node_addr, ETH_ALEN >> 1); 326 static int smc9000_poll(struct nic *nic) 341 nic->packetlen = (inw(smc9000_base + DATA_1) & 0x07ff); 344 nic->packetlen -= 6 [all...] |
config.c | 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]) 475 struct nic nic = variable in typeref:struct:nic [all...] |
cs89x0.c | 67 #include "nic.h" 235 static int send_test_pkt(struct nic *nic) 245 memcpy(testpacket, nic->node_addr, ETH_ALEN); 246 memcpy(testpacket+ETH_ALEN, nic->node_addr, ETH_ALEN); 274 static int detect_aui(struct nic *nic) 281 if (send_test_pkt(nic)) { 287 static int detect_bnc(struct nic *nic) [all...] |
ns8390.c | 25 #include "nic.h" 218 static void ns8390_reset(struct nic *nic) 256 outb(nic->node_addr[i], eth_nic_base+D8390_P1_PAR0+i); 279 t503_output = (nic->flags) ? 0 : _3COM_CR_XSEL; 284 static int ns8390_poll(struct nic *nic); 290 static void eth_rx_overrun(struct nic *nic) 315 /* enter loopback mode and restart NIC */ [all...] |
via-rhine.c | 47 #include "nic.h" 140 #define CR0_STOP 0x04 /* stop NIC, default = 1 */ 141 #define CR0_STRT 0x02 /* start NIC */ 166 #define CR_STOP 0x0004 /* stop NIC, default = 1 */ 167 #define CR_STRT 0x0002 /* start NIC */ 655 static struct nic *rhine_probe1 (struct nic *dev, int ioaddr, 661 static void rhine_init_ring (struct nic *dev); 662 static void rhine_disable (struct nic *nic); [all...] |
lance.c | 3 LANCE NIC driver for Etherboot 18 #include "nic.h" 212 static void lance_reset(struct nic *nic) 262 lp->init_block.phys_addr[i] = nic->node_addr[i]; 302 static int lance_poll(struct nic *nic) 315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length); 336 struct nic *nic [all...] |
w89c840.c | 78 #include "nic.h" 259 /* NIC specific static variables go here */ 317 static void w89c840_reset(struct nic *nic) 331 writeb(nic->node_addr[i], ioaddr + StationAddr + i); 390 static int w89c840_poll(struct nic *nic) 393 /* nic->packet should contain data on return */ 394 /* nic->packetlen should contain length of data */ 439 w89c840_reset(nic); [all...] |
sis900.txt | 24 cp NIC NIC.orig 61 4. Edit NIC to add sis900 and sis7016 to NIC list 70 extern struct nic *sis900_probe(struct nic *, unsigned short *
|
tulip.c | 22 The TRENDnet TE100-PCIA NIC which uses a genuine Intel 21143-PD 82 particular, the TRENDnet TE100-PCIA NIC which uses a genuine Intel 108 #include "nic.h" 480 static int mdio_read(struct nic *nic, int phy_id, int location); 481 static void mdio_write(struct nic *nic, int phy_id, int location, int value); 483 static void parse_eeprom(struct nic *nic); 484 struct nic *tulip_probe(struct nic *nic, unsigned short *io_addrs [all...] |
eepro.c | 3 Intel EEPRO/10 NIC driver for Etherboot 28 #include "nic.h" 296 static void eepro_reset(struct nic *nic) 309 outb(nic->node_addr[i], ioaddr + I_ADD_REG0 + i); 341 static int eepro_poll(struct nic *nic) 348 /* nic->packet should contain data on return */ 349 /* nic->packetlen should contain length of data */ 371 insw(ioaddr + IO_PORT, nic->packet, ((rcv_size + 3) >> 1)) [all...] |