struct e1000_adapter *adapter = netdev->priv;
struct e1000_adapter *adapter = netdev_priv(netdev);
e1000_get_pauseparam(struct net_device *netdev,                     struct ethtool_pauseparam *pause){	struct e1000_adapter *adapter = netdev->priv;	struct e1000_hw *hw = &adapter->hw;	pause->autoneg = 		(adapter->fc_autoneg ? AUTONEG_ENABLE : AUTONEG_DISABLE);		if(hw->fc == e1000_fc_rx_pause)		pause->rx_pause = 1;	else if(hw->fc == e1000_fc_tx_pause)		pause->tx_pause = 1;	else if(hw->fc == e1000_fc_full) {		pause->rx_pause = 1;		pause->tx_pause = 1;	}}