]> err.no Git - linux-2.6/commitdiff
ixgb: replace netdev->priv with netdev_priv()
authorAuke Kok <auke-jan.h.kok@intel.com>
Fri, 26 May 2006 16:35:57 +0000 (09:35 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Fri, 26 May 2006 16:35:57 +0000 (09:35 -0700)
fix netdev->priv ==> netdev_priv(netdev)

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
drivers/net/ixgb/ixgb_ethtool.c

index 6d8192f4314c9911a2056c349dc1b7036ba3e95e..949f69df00cea313a2ef2f63fee6374ea6de0f03 100644 (file)
@@ -254,14 +254,14 @@ ixgb_set_tso(struct net_device *netdev, uint32_t data)
 static uint32_t
 ixgb_get_msglevel(struct net_device *netdev)
 {
-       struct ixgb_adapter *adapter = netdev->priv;
+       struct ixgb_adapter *adapter = netdev_priv(netdev);
        return adapter->msg_enable;
 }
 
 static void
 ixgb_set_msglevel(struct net_device *netdev, uint32_t data)
 {
-       struct ixgb_adapter *adapter = netdev->priv;
+       struct ixgb_adapter *adapter = netdev_priv(netdev);
        adapter->msg_enable = data;
 }
 #define IXGB_GET_STAT(_A_, _R_) _A_->stats._R_