• Home
  • Raw
  • Download

Lines Matching refs:eth_nic_base

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