struct e1000_adapter *adapter = netdev->priv; 
struct e1000_adapter *adapter = netdev_priv(netdev); 
e1000_get_ringparam(struct net_device *netdev,                    struct ethtool_ringparam *ring){	struct e1000_adapter *adapter = netdev->priv;	e1000_mac_type mac_type = adapter->hw.mac_type;	struct e1000_desc_ring *txdr = &adapter->tx_ring;	struct e1000_desc_ring *rxdr = &adapter->rx_ring;	ring->rx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_RXD :		E1000_MAX_82544_RXD;	ring->tx_max_pending = (mac_type < e1000_82544) ? E1000_MAX_TXD :		E1000_MAX_82544_TXD;	ring->rx_mini_max_pending = 0;	ring->rx_jumbo_max_pending = 0;	ring->rx_pending = rxdr->count;	ring->tx_pending = txdr->count;	ring->rx_mini_pending = 0;	ring->rx_jumbo_pending = 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/60490fe030f3969a8706d94c7cf8469be6330678/e1000_ethtool.c/clean/drivers/net/e1000/e1000_ethtool.c