taglinefilesource code
ei_local77drivers/net/8390.c#define ei_reset_8390 (ei_local->reset_8390)
ei_local78drivers/net/8390.c#define ei_block_output (ei_local->block_output)
ei_local79drivers/net/8390.c#define ei_block_input (ei_local->block_input)
ei_local111drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local113drivers/net/8390.cif ( ! ei_local) {
ei_local121drivers/net/8390.cei_local->irqlock = 0;
ei_local128drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local151drivers/net/8390.cif(ei_local->stat.tx_packets==0)
ei_local152drivers/net/8390.cei_local->interface_num ^= 1;   /* Try a different xcvr.  */
ei_local180drivers/net/8390.cei_local->irqlock = 1;
ei_local184drivers/net/8390.cif (ei_local->pingpong) {
ei_local186drivers/net/8390.cif (ei_local->tx1 == 0) {
ei_local187drivers/net/8390.coutput_page = ei_local->tx_start_page;
ei_local188drivers/net/8390.cei_local->tx1 = send_length;
ei_local189drivers/net/8390.cif (ei_debug  &&  ei_local->tx2 > 0)
ei_local191drivers/net/8390.cdev->name, ei_local->tx2, ei_local->lasttx,
ei_local192drivers/net/8390.cei_local->txing);
ei_local193drivers/net/8390.c} else if (ei_local->tx2 == 0) {
ei_local194drivers/net/8390.coutput_page = ei_local->tx_start_page + 6;
ei_local195drivers/net/8390.cei_local->tx2 = send_length;
ei_local196drivers/net/8390.cif (ei_debug  &&  ei_local->tx1 > 0)
ei_local198drivers/net/8390.cdev->name, ei_local->tx1, ei_local->lasttx,
ei_local199drivers/net/8390.cei_local->txing);
ei_local204drivers/net/8390.cei_local->irqlock = 0;
ei_local210drivers/net/8390.cif (! ei_local->txing) {
ei_local213drivers/net/8390.cif (output_page == ei_local->tx_start_page)
ei_local214drivers/net/8390.cei_local->tx1 = -1, ei_local->lasttx = -1;
ei_local216drivers/net/8390.cei_local->tx2 = -1, ei_local->lasttx = -2;
ei_local217drivers/net/8390.cei_local->txing = 1;
ei_local219drivers/net/8390.cei_local->txqueue++;
ei_local221drivers/net/8390.cdev->tbusy = (ei_local->tx1  &&  ei_local->tx2);
ei_local223drivers/net/8390.cei_block_output(dev, length, skb->data, ei_local->tx_start_page);
ei_local224drivers/net/8390.cNS8390_trigger_send(dev, send_length, ei_local->tx_start_page);
ei_local230drivers/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_local291drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0);
ei_local292drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(e8390_base + EN0_COUNTER1);
ei_local293drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2);
ei_local319drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local323drivers/net/8390.cif (ei_local->pingpong) {
ei_local324drivers/net/8390.cei_local->txqueue--;
ei_local325drivers/net/8390.cif (ei_local->tx1 < 0) {
ei_local326drivers/net/8390.cif (ei_local->lasttx != 1 && ei_local->lasttx != -1)
ei_local328drivers/net/8390.cei_local->name, ei_local->lasttx, ei_local->tx1);
ei_local329drivers/net/8390.cei_local->tx1 = 0;
ei_local331drivers/net/8390.cif (ei_local->tx2 > 0) {
ei_local332drivers/net/8390.cNS8390_trigger_send(dev, ei_local->tx2, ei_local->tx_start_page + 6);
ei_local334drivers/net/8390.cei_local->txing = 1;
ei_local335drivers/net/8390.cei_local->tx2 = -1,
ei_local336drivers/net/8390.cei_local->lasttx = 2;
ei_local338drivers/net/8390.cei_local->lasttx = 20, ei_local->txing = 0;
ei_local339drivers/net/8390.c} else if (ei_local->tx2 < 0) {
ei_local340drivers/net/8390.cif (ei_local->lasttx != 2  &&  ei_local->lasttx != -2)
ei_local342drivers/net/8390.cei_local->name, ei_local->lasttx, ei_local->tx2);
ei_local343drivers/net/8390.cei_local->tx2 = 0;
ei_local345drivers/net/8390.cif (ei_local->tx1 > 0) {
ei_local346drivers/net/8390.cNS8390_trigger_send(dev, ei_local->tx1, ei_local->tx_start_page);
ei_local348drivers/net/8390.cei_local->txing = 1;
ei_local349drivers/net/8390.cei_local->tx1 = -1;
ei_local350drivers/net/8390.cei_local->lasttx = 1;
ei_local352drivers/net/8390.cei_local->lasttx = 10, ei_local->txing = 0;
ei_local355drivers/net/8390.cdev->name, ei_local->lasttx);
ei_local357drivers/net/8390.cei_local->txing = 0;
ei_local362drivers/net/8390.cif (status & ENTSR_COL) ei_local->stat.collisions++;
ei_local364drivers/net/8390.cei_local->stat.tx_packets++;
ei_local366drivers/net/8390.cei_local->stat.tx_errors++;
ei_local367drivers/net/8390.cif (status & ENTSR_ABT) ei_local->stat.tx_aborted_errors++;
ei_local368drivers/net/8390.cif (status & ENTSR_CRS) ei_local->stat.tx_carrier_errors++;
ei_local369drivers/net/8390.cif (status & ENTSR_FU)  ei_local->stat.tx_fifo_errors++;
ei_local370drivers/net/8390.cif (status & ENTSR_CDH) ei_local->stat.tx_heartbeat_errors++;
ei_local371drivers/net/8390.cif (status & ENTSR_OWC) ei_local->stat.tx_window_errors++;
ei_local382drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local386drivers/net/8390.cint num_rx_pages = ei_local->stop_page-ei_local->rx_start_page;
ei_local398drivers/net/8390.cif (this_frame >= ei_local->stop_page)
ei_local399drivers/net/8390.cthis_frame = ei_local->rx_start_page;
ei_local403drivers/net/8390.cif (ei_debug > 0  &&  this_frame != ei_local->current_page)
ei_local405drivers/net/8390.cdev->name, this_frame, ei_local->current_page);
ei_local425drivers/net/8390.cei_local->current_page = rxing_page;
ei_local426drivers/net/8390.coutb(ei_local->current_page-1, e8390_base+EN0_BOUNDARY);
ei_local427drivers/net/8390.cei_local->stat.rx_errors++;
ei_local436drivers/net/8390.cei_local->stat.rx_errors++;
ei_local445drivers/net/8390.cei_local->stat.rx_dropped++;
ei_local454drivers/net/8390.cei_local->stat.rx_packets++;
ei_local463drivers/net/8390.cei_local->stat.rx_fifo_errors++;
ei_local468drivers/net/8390.cif (next_frame >= ei_local->stop_page) {
ei_local471drivers/net/8390.cnext_frame = ei_local->rx_start_page;
ei_local473drivers/net/8390.cei_local->current_page = next_frame;
ei_local495drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local502drivers/net/8390.cei_local->stat.rx_over_errors++;
ei_local531drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local534drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
ei_local535drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
ei_local536drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
ei_local538drivers/net/8390.creturn &ei_local->stat;
ei_local570drivers/net/8390.cstruct ei_device *ei_local;
ei_local574drivers/net/8390.cei_local = (struct ei_device *)dev->priv;
ei_local576drivers/net/8390.cei_local->pingpong = 1;
ei_local601drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local603drivers/net/8390.cint endcfg = ei_local->word16 ? (0x48 | ENDCFG_WTS) : 0x48;
ei_local615drivers/net/8390.coutb_p(ei_local->tx_start_page,   e8390_base + EN0_TPSR);
ei_local616drivers/net/8390.cei_local->tx1 = ei_local->tx2 = 0;
ei_local617drivers/net/8390.coutb_p(ei_local->rx_start_page,   e8390_base + EN0_STARTPG);
ei_local618drivers/net/8390.coutb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/
ei_local619drivers/net/8390.cei_local->current_page = ei_local->rx_start_page;    /* assert boundary+1 */
ei_local620drivers/net/8390.coutb_p(ei_local->stop_page,    e8390_base + EN0_STOPPG);
ei_local637drivers/net/8390.coutb_p(ei_local->rx_start_page,   e8390_base + EN1_CURPAG);
ei_local642drivers/net/8390.cei_local->tx1 = ei_local->tx2 = 0;
ei_local643drivers/net/8390.cei_local->txing = 0;