taglinefilesource code
ei_local68drivers/net/8390.c#define ei_reset_8390 (ei_local->reset_8390)
ei_local69drivers/net/8390.c#define ei_block_output (ei_local->block_output)
ei_local70drivers/net/8390.c#define ei_block_input (ei_local->block_input)
ei_local107drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local109drivers/net/8390.cif ( ! ei_local) {
ei_local116drivers/net/8390.cei_local->tx1 = ei_local->tx2 = 0;
ei_local118drivers/net/8390.cei_local->txing = 0;
ei_local123drivers/net/8390.cei_local->irqlock = 0;
ei_local130drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local177drivers/net/8390.cif (dev->interrupt || ei_local->irqlock) {
ei_local182drivers/net/8390.cdev->name, ei_local->irqlock ? " during interrupt" : "");
ei_local191drivers/net/8390.cei_local->irqlock = 1;
ei_local193drivers/net/8390.cif (ei_local->pingpong) {
ei_local195drivers/net/8390.cif (ei_local->tx1 == 0) {
ei_local196drivers/net/8390.coutput_page = ei_local->tx_start_page;
ei_local197drivers/net/8390.cei_local->tx1 = send_length;
ei_local198drivers/net/8390.cif (ei_debug  &&  ei_local->tx2 > 0)
ei_local200drivers/net/8390.cdev->name, ei_local->tx2, ei_local->lasttx,
ei_local201drivers/net/8390.cei_local->txing);
ei_local202drivers/net/8390.c} else if (ei_local->tx2 == 0) {
ei_local203drivers/net/8390.coutput_page = ei_local->tx_start_page + 6;
ei_local204drivers/net/8390.cei_local->tx2 = send_length;
ei_local205drivers/net/8390.cif (ei_debug  &&  ei_local->tx1 > 0)
ei_local207drivers/net/8390.cdev->name, ei_local->tx1, ei_local->lasttx,
ei_local208drivers/net/8390.cei_local->txing);
ei_local216drivers/net/8390.cei_local->irqlock = 0;
ei_local224drivers/net/8390.cif (! ei_local->txing) {
ei_local226drivers/net/8390.cif (output_page == ei_local->tx_start_page)
ei_local227drivers/net/8390.cei_local->tx1 = -1, ei_local->lasttx = -1;
ei_local229drivers/net/8390.cei_local->tx2 = -1, ei_local->lasttx = -2;
ei_local230drivers/net/8390.cei_local->txing = 1;
ei_local232drivers/net/8390.cei_local->txqueue++;
ei_local233drivers/net/8390.cif (ei_local->tx1  &&  ei_local->tx2)
ei_local238drivers/net/8390.cei_local->tx_start_page);
ei_local239drivers/net/8390.cNS8390_trigger_send(dev, send_length, ei_local->tx_start_page);
ei_local249drivers/net/8390.cei_local->irqlock = 0;
ei_local263drivers/net/8390.cstruct ei_device *ei_local;
ei_local270drivers/net/8390.cei_local = (struct ei_device *) dev->priv;
ei_local271drivers/net/8390.cif (dev->interrupt || ei_local->irqlock) {
ei_local274drivers/net/8390.cprintk(ei_local->irqlock
ei_local308drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local309drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0);
ei_local310drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(e8390_base + EN0_COUNTER1);
ei_local311drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2);
ei_local337drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local341drivers/net/8390.cif (ei_local->pingpong) {
ei_local342drivers/net/8390.cei_local->txqueue--;
ei_local343drivers/net/8390.cif (ei_local->tx1 < 0) {
ei_local344drivers/net/8390.cif (ei_local->lasttx != 1 && ei_local->lasttx != -1)
ei_local346drivers/net/8390.cei_local->name, ei_local->lasttx, ei_local->tx1);
ei_local347drivers/net/8390.cei_local->tx1 = 0;
ei_local349drivers/net/8390.cif (ei_local->tx2 > 0) {
ei_local350drivers/net/8390.cNS8390_trigger_send(dev, ei_local->tx2, ei_local->tx_start_page + 6);
ei_local352drivers/net/8390.cei_local->txing = 1;
ei_local353drivers/net/8390.cei_local->tx2 = -1,
ei_local354drivers/net/8390.cei_local->lasttx = 2;
ei_local356drivers/net/8390.cei_local->lasttx = 20, ei_local->txing = 0;
ei_local357drivers/net/8390.c} else if (ei_local->tx2 < 0) {
ei_local358drivers/net/8390.cif (ei_local->lasttx != 2  &&  ei_local->lasttx != -2)
ei_local360drivers/net/8390.cei_local->name, ei_local->lasttx, ei_local->tx2);
ei_local361drivers/net/8390.cei_local->tx2 = 0;
ei_local363drivers/net/8390.cif (ei_local->tx1 > 0) {
ei_local364drivers/net/8390.cNS8390_trigger_send(dev, ei_local->tx1, ei_local->tx_start_page);
ei_local366drivers/net/8390.cei_local->txing = 1;
ei_local367drivers/net/8390.cei_local->tx1 = -1;
ei_local368drivers/net/8390.cei_local->lasttx = 1;
ei_local370drivers/net/8390.cei_local->lasttx = 10, ei_local->txing = 0;
ei_local373drivers/net/8390.cdev->name, ei_local->lasttx);
ei_local375drivers/net/8390.cei_local->txing = 0;
ei_local381drivers/net/8390.cei_local->stat.tx_packets++;
ei_local383drivers/net/8390.cei_local->stat.tx_errors++;
ei_local385drivers/net/8390.cei_local->stat.collisions++;
ei_local387drivers/net/8390.cei_local->stat.tx_aborted_errors++;
ei_local389drivers/net/8390.cei_local->stat.tx_carrier_errors++;
ei_local391drivers/net/8390.cei_local->stat.tx_fifo_errors++;
ei_local393drivers/net/8390.cei_local->stat.tx_heartbeat_errors++;
ei_local395drivers/net/8390.cei_local->stat.tx_window_errors++;
ei_local405drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local409drivers/net/8390.cint num_rx_pages = ei_local->stop_page-ei_local->rx_start_page;
ei_local421drivers/net/8390.cif (this_frame >= ei_local->stop_page)
ei_local422drivers/net/8390.cthis_frame = ei_local->rx_start_page;
ei_local425drivers/net/8390.cif (ei_debug > 0  &&  this_frame != ei_local->current_page)
ei_local427drivers/net/8390.cdev->name, this_frame, ei_local->current_page);
ei_local448drivers/net/8390.cei_local->current_page = rxing_page;
ei_local449drivers/net/8390.coutb(ei_local->current_page-1, e8390_base+EN0_BOUNDARY);
ei_local457drivers/net/8390.cif (ei_local->stat.rx_packets != last_rx_bogosity) {
ei_local459drivers/net/8390.cei_local->current_page = rxing_page;
ei_local461drivers/net/8390.cdev->name, ei_local->current_page, next_frame,
ei_local463drivers/net/8390.clast_rx_bogosity = ei_local->stat.rx_packets;
ei_local464drivers/net/8390.coutb(ei_local->current_page-1, e8390_base+EN0_BOUNDARY);
ei_local469drivers/net/8390.cdev->name, ei_local->stat.rx_packets);
ei_local491drivers/net/8390.cei_local->stat.rx_dropped++;
ei_local512drivers/net/8390.cei_local->stat.rx_packets++;
ei_local520drivers/net/8390.cei_local->stat.rx_fifo_errors++;
ei_local525drivers/net/8390.cif (next_frame >= ei_local->stop_page) {
ei_local527drivers/net/8390.cnext_frame = ei_local->rx_start_page;
ei_local529drivers/net/8390.cei_local->current_page += 1 + ((pkt_len+4)>>8);
ei_local530drivers/net/8390.cei_local->current_page = next_frame;
ei_local548drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local555drivers/net/8390.cei_local->stat.rx_over_errors++;
ei_local583drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local586drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
ei_local587drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
ei_local588drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
ei_local590drivers/net/8390.creturn &ei_local->stat;
ei_local624drivers/net/8390.cstruct ei_device *ei_local;
ei_local628drivers/net/8390.cei_local = (struct ei_device *)dev->priv;
ei_local630drivers/net/8390.cei_local->pingpong = 1;
ei_local678drivers/net/8390.cstruct ei_device *ei_local = (struct ei_device *) dev->priv;
ei_local680drivers/net/8390.cint endcfg = ei_local->word16 ? (0x48 | ENDCFG_WTS) : 0x48;
ei_local692drivers/net/8390.coutb_p(ei_local->tx_start_page,   e8390_base + EN0_TPSR);
ei_local693drivers/net/8390.cei_local->tx1 = ei_local->tx2 = 0;
ei_local694drivers/net/8390.coutb_p(ei_local->rx_start_page,   e8390_base + EN0_STARTPG);
ei_local695drivers/net/8390.coutb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/
ei_local696drivers/net/8390.cei_local->current_page = ei_local->rx_start_page;    /* assert boundary+1 */
ei_local697drivers/net/8390.coutb_p(ei_local->stop_page,    e8390_base + EN0_STOPPG);
ei_local714drivers/net/8390.coutb_p(ei_local->rx_start_page,   e8390_base + EN1_CURPAG);