• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/e1000/

Lines Matching defs:adapter

355 	struct e1000_adapter *adapter = data;
356 sprintf(buf, "%u", PCI_SLOT(adapter->pdev->devfn));
408 struct e1000_adapter *adapter = data;
409 sprintf(buf, netif_running(adapter->netdev) ?
410 netif_carrier_ok(adapter->netdev) ?
437 struct e1000_adapter *adapter = data;
438 sprintf(buf, adapter->netdev->flags & IFF_UP ? "up" : "down");
445 struct e1000_adapter *adapter = data;
447 adapter->hw.media_type == e1000_media_type_copper ?
455 struct e1000_adapter *adapter = data;
456 e1000_cable_length cable_length = adapter->phy_info.cable_length;
472 struct e1000_adapter *adapter = data;
474 adapter->phy_info.extended_10bt_distance;
485 struct e1000_adapter *adapter = data;
486 e1000_rev_polarity polarity = adapter->phy_info.cable_polarity;
497 struct e1000_adapter *adapter = data;
499 adapter->phy_info.polarity_correction;
510 struct e1000_adapter *adapter = data;
511 e1000_auto_x_mode mdix_mode = adapter->phy_info.mdix_mode;
532 * @adapter: board private structure
546 e1000_proc_list_setup(struct e1000_adapter *adapter)
548 struct e1000_hw *hw = &adapter->hw;
549 struct list_head *proc_list_head = &adapter->proc_list_head;
553 LIST_ADD_S("Description", adapter->id_string);
554 LIST_ADD_F("Part_Number", &adapter->part_num, e1000_proc_part_number);
562 LIST_ADD_U("PCI_Bus", &adapter->pdev->bus->number);
563 LIST_ADD_F("PCI_Slot", adapter, e1000_proc_slot);
565 if(adapter->hw.mac_type >= e1000_82543) {
574 LIST_ADD_U("IRQ", &adapter->pdev->irq);
575 LIST_ADD_S("System_Device_Name", adapter->ifname);
577 adapter->netdev->dev_addr, e1000_proc_hwaddr);
579 adapter->hw.perm_mac_addr, e1000_proc_hwaddr);
583 LIST_ADD_F("Link", adapter, e1000_proc_link);
584 LIST_ADD_F("Speed", &adapter->link_speed, e1000_proc_link_speed);
585 LIST_ADD_F("Duplex", &adapter->link_duplex, e1000_proc_link_duplex);
586 LIST_ADD_F("State", adapter, e1000_proc_state);
591 LIST_ADD_U("Rx_Packets", &adapter->net_stats.rx_packets);
592 LIST_ADD_U("Tx_Packets", &adapter->net_stats.tx_packets);
593 LIST_ADD_U("Rx_Bytes", &adapter->net_stats.rx_bytes);
594 LIST_ADD_U("Tx_Bytes", &adapter->net_stats.tx_bytes);
595 LIST_ADD_U("Rx_Errors", &adapter->net_stats.rx_errors);
596 LIST_ADD_U("Tx_Errors", &adapter->net_stats.tx_errors);
597 LIST_ADD_U("Rx_Dropped", &adapter->net_stats.rx_dropped);
598 LIST_ADD_U("Tx_Dropped", &adapter->net_stats.tx_dropped);
600 LIST_ADD_U("Multicast", &adapter->net_stats.multicast);
601 LIST_ADD_U("Collisions", &adapter->net_stats.collisions);
603 LIST_ADD_U("Rx_Length_Errors", &adapter->net_stats.rx_length_errors);
604 LIST_ADD_U("Rx_Over_Errors", &adapter->net_stats.rx_over_errors);
605 LIST_ADD_U("Rx_CRC_Errors", &adapter->net_stats.rx_crc_errors);
606 LIST_ADD_U("Rx_Frame_Errors", &adapter->net_stats.rx_frame_errors);
607 LIST_ADD_U("Rx_FIFO_Errors", &adapter->net_stats.rx_fifo_errors);
608 LIST_ADD_U("Rx_Missed_Errors", &adapter->net_stats.rx_missed_errors);
610 LIST_ADD_U("Tx_Aborted_Errors", &adapter->net_stats.tx_aborted_errors);
611 LIST_ADD_U("Tx_Carrier_Errors", &adapter->net_stats.tx_carrier_errors);
612 LIST_ADD_U("Tx_FIFO_Errors", &adapter->net_stats.tx_fifo_errors);
614 &adapter->net_stats.tx_heartbeat_errors);
615 LIST_ADD_U("Tx_Window_Errors", &adapter->net_stats.tx_window_errors);
618 LIST_ADD_U("Tx_Abort_Late_Coll", &adapter->stats.latecol);
619 LIST_ADD_U("Tx_Deferred_Ok", &adapter->stats.dc);
620 LIST_ADD_U("Tx_Single_Coll_Ok", &adapter->stats.scc);
621 LIST_ADD_U("Tx_Multi_Coll_Ok", &adapter->stats.mcc);
622 LIST_ADD_U("Rx_Long_Length_Errors", &adapter->stats.roc);
623 LIST_ADD_U("Rx_Short_Length_Errors", &adapter->stats.ruc);
626 if(adapter->hw.mac_type >= e1000_82543)
627 LIST_ADD_U("Rx_Align_Errors", &adapter->stats.algnerrc);
629 LIST_ADD_U("Rx_Flow_Control_XON", &adapter->stats.xonrxc);
630 LIST_ADD_U("Rx_Flow_Control_XOFF", &adapter->stats.xoffrxc);
631 LIST_ADD_U("Tx_Flow_Control_XON", &adapter->stats.xontxc);
632 LIST_ADD_U("Tx_Flow_Control_XOFF", &adapter->stats.xofftxc);
633 LIST_ADD_U("Rx_CSum_Offload_Good", &adapter->hw_csum_good);
634 LIST_ADD_U("Rx_CSum_Offload_Errors", &adapter->hw_csum_err);
639 LIST_ADD_F("PHY_Media_Type", adapter, e1000_proc_media_type);
640 if(adapter->hw.media_type == e1000_media_type_copper) {
642 adapter, e1000_proc_cable_length);
644 adapter, e1000_proc_extended);
646 adapter, e1000_proc_cable_polarity);
648 adapter, e1000_proc_polarity_correction);
650 &adapter->phy_stats.idle_errors);
652 &adapter->phy_stats.receive_errors);
654 adapter, e1000_proc_mdi_x_enabled);
656 &adapter->phy_info.local_rx,
659 &adapter->phy_info.remote_rx,
667 * @adapter: board private structure
671 e1000_proc_dev_setup(struct e1000_adapter *adapter)
673 e1000_proc_list_setup(adapter);
675 e1000_proc_dirs_create(adapter,
676 adapter->ifname,
677 &adapter->proc_list_head);
682 * @adapter: board private structure
686 e1000_proc_dev_free(struct e1000_adapter *adapter)
688 e1000_proc_dirs_free(adapter->ifname, &adapter->proc_list_head);
690 e1000_proc_list_free(&adapter->proc_list_head);
695 void e1000_proc_dev_setup(struct e1000_adapter *adapter) {}
696 void e1000_proc_dev_free(struct e1000_adapter *adapter) {}