diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2011-02-25 10:09:37 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-11 12:52:40 +0300 |
commit | d8d5f8aebb857f979fbe9099c9acc2ed486706be (patch) | |
tree | 9083c428cebef0efdb05014dcaaf4d9d8ea4fab0 /drivers/net/e1000e/hw.h | |
parent | ef5ab89cf7edc2e2cb996d62201a2b356d5e9286 (diff) | |
download | linux-d8d5f8aebb857f979fbe9099c9acc2ed486706be.tar.xz |
e1000e: magic number cleanup - ETH_ALEN
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>
Diffstat (limited to 'drivers/net/e1000e/hw.h')
-rw-r--r-- | drivers/net/e1000e/hw.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index bc0860a598c9..307e1ec22417 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net/e1000e/hw.h @@ -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; |