taglinefilesource code
ei_local74drivers/net/8390.c#define ei_reset_8390 (ei_local->reset_8390)
ei_local75drivers/net/8390.c#define ei_block_output (ei_local->block_output)
ei_local76drivers/net/8390.c#define ei_block_input (ei_local->block_input)
ei_local108drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local110drivers/net/8390.cif ( ! ei_local) {
ei_local118drivers/net/8390.cei_local->irqlock = 0;
ei_local125drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local152drivers/net/8390.cif(ei_local->stat.tx_packets==0)
ei_local153drivers/net/8390.cei_local->interface_num ^= 1;   /* Try a different xcvr.  */
ei_local181drivers/net/8390.cei_local->irqlock = 1;
ei_local185drivers/net/8390.cif (ei_local->pingpong) {
ei_local187drivers/net/8390.cif (ei_local->tx1 == 0) {
ei_local188drivers/net/8390.coutput_page = ei_local->tx_start_page;
ei_local189drivers/net/8390.cei_local->tx1 = send_length;
ei_local190drivers/net/8390.cif (ei_debug  &&  ei_local->tx2 > 0)
ei_local192drivers/net/8390.cdev->name, ei_local->tx2, ei_local->lasttx,
ei_local193drivers/net/8390.cei_local->txing);
ei_local194drivers/net/8390.c} else if (ei_local->tx2 == 0) {
ei_local195drivers/net/8390.coutput_page = ei_local->tx_start_page + 6;
ei_local196drivers/net/8390.cei_local->tx2 = send_length;
ei_local197drivers/net/8390.cif (ei_debug  &&  ei_local->tx1 > 0)
ei_local199drivers/net/8390.cdev->name, ei_local->tx1, ei_local->lasttx,
ei_local200drivers/net/8390.cei_local->txing);
ei_local205drivers/net/8390.cei_local->irqlock = 0;
ei_local211drivers/net/8390.cif (! ei_local->txing) {
ei_local214drivers/net/8390.cif (output_page == ei_local->tx_start_page)
ei_local215drivers/net/8390.cei_local->tx1 = -1, ei_local->lasttx = -1;
ei_local217drivers/net/8390.cei_local->tx2 = -1, ei_local->lasttx = -2;
ei_local218drivers/net/8390.cei_local->txing = 1;
ei_local220drivers/net/8390.cei_local->txqueue++;
ei_local222drivers/net/8390.cdev->tbusy = (ei_local->tx1  &&  ei_local->tx2);
ei_local224drivers/net/8390.cei_block_output(dev, length, skb->data, ei_local->tx_start_page);
ei_local225drivers/net/8390.cNS8390_trigger_send(dev, send_length, ei_local->tx_start_page);
ei_local231drivers/net/8390.cei_local->irqlock = 0;
ei_local246drivers/net/8390.cstruct ei_device *ei_local;
ei_local253drivers/net/8390.cei_local = (struct ei_device *) dev->priv;
ei_local254drivers/net/8390.cif (dev->interrupt || ei_local->irqlock) {
ei_local257drivers/net/8390.cprintk(ei_local->irqlock
ei_local296drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0);
ei_local297drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(e8390_base + EN0_COUNTER1);
ei_local298drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2);
ei_local328drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local332drivers/net/8390.cif (ei_local->pingpong) {
ei_local333drivers/net/8390.cei_local->txqueue--;
ei_local334drivers/net/8390.cif (ei_local->tx1 < 0) {
ei_local335drivers/net/8390.cif (ei_local->lasttx != 1 && ei_local->lasttx != -1)
ei_local337drivers/net/8390.cei_local->name, ei_local->lasttx, ei_local->tx1);
ei_local338drivers/net/8390.cei_local->tx1 = 0;
ei_local340drivers/net/8390.cif (ei_local->tx2 > 0) {
ei_local341drivers/net/8390.cNS8390_trigger_send(dev, ei_local->tx2, ei_local->tx_start_page + 6);
ei_local343drivers/net/8390.cei_local->txing = 1;
ei_local344drivers/net/8390.cei_local->tx2 = -1,
ei_local345drivers/net/8390.cei_local->lasttx = 2;
ei_local347drivers/net/8390.cei_local->lasttx = 20, ei_local->txing = 0;
ei_local348drivers/net/8390.c} else if (ei_local->tx2 < 0) {
ei_local349drivers/net/8390.cif (ei_local->lasttx != 2  &&  ei_local->lasttx != -2)
ei_local351drivers/net/8390.cei_local->name, ei_local->lasttx, ei_local->tx2);
ei_local352drivers/net/8390.cei_local->tx2 = 0;
ei_local354drivers/net/8390.cif (ei_local->tx1 > 0) {
ei_local355drivers/net/8390.cNS8390_trigger_send(dev, ei_local->tx1, ei_local->tx_start_page);
ei_local357drivers/net/8390.cei_local->txing = 1;
ei_local358drivers/net/8390.cei_local->tx1 = -1;
ei_local359drivers/net/8390.cei_local->lasttx = 1;
ei_local361drivers/net/8390.cei_local->lasttx = 10, ei_local->txing = 0;
ei_local364drivers/net/8390.cdev->name, ei_local->lasttx);
ei_local366drivers/net/8390.cei_local->txing = 0;
ei_local371drivers/net/8390.cif (status & ENTSR_COL) ei_local->stat.collisions++;
ei_local373drivers/net/8390.cei_local->stat.tx_packets++;
ei_local375drivers/net/8390.cei_local->stat.tx_errors++;
ei_local376drivers/net/8390.cif (status & ENTSR_ABT) ei_local->stat.tx_aborted_errors++;
ei_local377drivers/net/8390.cif (status & ENTSR_CRS) ei_local->stat.tx_carrier_errors++;
ei_local378drivers/net/8390.cif (status & ENTSR_FU)  ei_local->stat.tx_fifo_errors++;
ei_local379drivers/net/8390.cif (status & ENTSR_CDH) ei_local->stat.tx_heartbeat_errors++;
ei_local380drivers/net/8390.cif (status & ENTSR_OWC) ei_local->stat.tx_window_errors++;
ei_local391drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local395drivers/net/8390.cint num_rx_pages = ei_local->stop_page-ei_local->rx_start_page;
ei_local407drivers/net/8390.cif (this_frame >= ei_local->stop_page)
ei_local408drivers/net/8390.cthis_frame = ei_local->rx_start_page;
ei_local412drivers/net/8390.cif (ei_debug > 0  &&  this_frame != ei_local->current_page)
ei_local414drivers/net/8390.cdev->name, this_frame, ei_local->current_page);
ei_local434drivers/net/8390.cei_local->current_page = rxing_page;
ei_local435drivers/net/8390.coutb(ei_local->current_page-1, e8390_base+EN0_BOUNDARY);
ei_local436drivers/net/8390.cei_local->stat.rx_errors++;
ei_local445drivers/net/8390.cei_local->stat.rx_errors++;
ei_local454drivers/net/8390.cei_local->stat.rx_dropped++;
ei_local463drivers/net/8390.cei_local->stat.rx_packets++;
ei_local472drivers/net/8390.cei_local->stat.rx_fifo_errors++;
ei_local477drivers/net/8390.cif (next_frame >= ei_local->stop_page) {
ei_local480drivers/net/8390.cnext_frame = ei_local->rx_start_page;
ei_local482drivers/net/8390.cei_local->current_page = next_frame;
ei_local504drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local511drivers/net/8390.cei_local->stat.rx_over_errors++;
ei_local540drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local543drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
ei_local544drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
ei_local545drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
ei_local547drivers/net/8390.creturn &ei_local->stat;
ei_local579drivers/net/8390.cstruct ei_device *ei_local;
ei_local583drivers/net/8390.cei_local = (struct ei_device *)dev->priv;
ei_local585drivers/net/8390.cei_local->pingpong = 1;
ei_local610drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local612drivers/net/8390.cint endcfg = ei_local->word16 ? (0x48 | ENDCFG_WTS) : 0x48;
ei_local624drivers/net/8390.coutb_p(ei_local->tx_start_page,   e8390_base + EN0_TPSR);
ei_local625drivers/net/8390.cei_local->tx1 = ei_local->tx2 = 0;
ei_local626drivers/net/8390.coutb_p(ei_local->rx_start_page,   e8390_base + EN0_STARTPG);
ei_local627drivers/net/8390.coutb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/
ei_local628drivers/net/8390.cei_local->current_page = ei_local->rx_start_page;    /* assert boundary+1 */
ei_local629drivers/net/8390.coutb_p(ei_local->stop_page,    e8390_base + EN0_STOPPG);
ei_local646drivers/net/8390.coutb_p(ei_local->rx_start_page,   e8390_base + EN1_CURPAG);
ei_local651drivers/net/8390.cei_local->tx1 = ei_local->tx2 = 0;
ei_local652drivers/net/8390.cei_local->txing = 0;