e1000e: magic number cleanup - ETH_ALEN
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 25 Feb 2011 07:09:37 +0000 (07:09 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Mar 2011 09:52:40 +0000 (01:52 -0800)
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/hw.h

index bc0860a598c91673c86f012801bc178dccb72396..307e1ec224178186d8cddeda01c4b53e25db28d2 100644 (file)
@@ -812,9 +812,8 @@ struct e1000_nvm_operations {
 
 struct e1000_mac_info {
        struct e1000_mac_operations ops;
-
-       u8 addr[6];
-       u8 perm_addr[6];
+       u8 addr[ETH_ALEN];
+       u8 perm_addr[ETH_ALEN];
 
        enum e1000_mac_type type;