Lines Matching defs:eth_nic_base
71 static unsigned short eth_nic_base;
85 outw(portno, eth_nic_base + ADD_PORT);
86 return inw(eth_nic_base + DATA_PORT);
91 outw(portno, eth_nic_base + ADD_PORT);
92 outw(value, eth_nic_base + DATA_PORT);
248 outw(TX_AFTER_ALL, eth_nic_base + TX_CMD_PORT);
249 outw(ETH_ZLEN, eth_nic_base + TX_LEN_PORT);
258 outsw(eth_nic_base + TX_FRAME_PORT, testpacket,
318 outw(PP_CS8920_ISAINT, eth_nic_base + ADD_PORT);
319 outb(eth_irq, eth_nic_base + DATA_PORT);
320 outb(0, eth_nic_base + DATA_PORT + 1); }
323 outw(PP_CS8920_ISAMemB, eth_nic_base + ADD_PORT);
324 outb((eth_mem_start >> 8) & 0xff, eth_nic_base + DATA_PORT);
325 outb((eth_mem_start >> 24) & 0xff, eth_nic_base + DATA_PORT + 1); } }
354 outw(PP_ChipID, eth_nic_base + ADD_PORT);
380 outw(TX_AFTER_ALL, eth_nic_base + TX_CMD_PORT);
381 outw(sr, eth_nic_base + TX_LEN_PORT);
392 outsw(eth_nic_base + TX_FRAME_PORT, d, ETH_ALEN/2);
393 outsw(eth_nic_base + TX_FRAME_PORT, nic->node_addr,
395 outw(((t >> 8)&0xFF)|(t << 8), eth_nic_base + TX_FRAME_PORT);
396 outsw(eth_nic_base + TX_FRAME_PORT, p, (s+1)/2);
398 outw(0, eth_nic_base + TX_FRAME_PORT));
424 status = inw(eth_nic_base + RX_FRAME_PORT);
425 nic->packetlen = inw(eth_nic_base + RX_FRAME_PORT);
426 insw(eth_nic_base + RX_FRAME_PORT, nic->packet, nic->packetlen >> 1);
428 nic->packet[nic->packetlen-1] = inw(eth_nic_base + RX_FRAME_PORT);
473 eth_nic_base = ioaddr;
484 eth_nic_base);
489 outw(PP_ChipID, eth_nic_base + ADD_PORT);
494 outw(PP_ChipID, eth_nic_base + ADD_PORT);
499 outw(PP_ChipID, eth_nic_base + ADD_PORT);
570 outw(PP_ChipID, eth_nic_base + ADD_PORT);