diff options
Diffstat (limited to 'drivers/net/e1000e/hw.h')
-rw-r--r-- | drivers/net/e1000e/hw.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h index ba302a5c2c30..6c2fa8327f5c 100644 --- a/drivers/net/e1000e/hw.h +++ b/drivers/net/e1000e/hw.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /******************************************************************************* | 1 | /******************************************************************************* |
2 | 2 | ||
3 | Intel PRO/1000 Linux driver | 3 | Intel PRO/1000 Linux driver |
4 | Copyright(c) 1999 - 2010 Intel Corporation. | 4 | Copyright(c) 1999 - 2011 Intel Corporation. |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
7 | under the terms and conditions of the GNU General Public License, | 7 | under the terms and conditions of the GNU General Public License, |
@@ -83,6 +83,7 @@ enum e1e_registers { | |||
83 | E1000_EXTCNF_CTRL = 0x00F00, /* Extended Configuration Control */ | 83 | E1000_EXTCNF_CTRL = 0x00F00, /* Extended Configuration Control */ |
84 | E1000_EXTCNF_SIZE = 0x00F08, /* Extended Configuration Size */ | 84 | E1000_EXTCNF_SIZE = 0x00F08, /* Extended Configuration Size */ |
85 | E1000_PHY_CTRL = 0x00F10, /* PHY Control Register in CSR */ | 85 | E1000_PHY_CTRL = 0x00F10, /* PHY Control Register in CSR */ |
86 | #define E1000_POEMB E1000_PHY_CTRL /* PHY OEM Bits */ | ||
86 | E1000_PBA = 0x01000, /* Packet Buffer Allocation - RW */ | 87 | E1000_PBA = 0x01000, /* Packet Buffer Allocation - RW */ |
87 | E1000_PBS = 0x01008, /* Packet Buffer Size */ | 88 | E1000_PBS = 0x01008, /* Packet Buffer Size */ |
88 | E1000_EEMNGCTL = 0x01010, /* MNG EEprom Control */ | 89 | E1000_EEMNGCTL = 0x01010, /* MNG EEprom Control */ |
@@ -101,7 +102,7 @@ enum e1e_registers { | |||
101 | E1000_RDTR = 0x02820, /* Rx Delay Timer - RW */ | 102 | E1000_RDTR = 0x02820, /* Rx Delay Timer - RW */ |
102 | E1000_RXDCTL_BASE = 0x02828, /* Rx Descriptor Control - RW */ | 103 | E1000_RXDCTL_BASE = 0x02828, /* Rx Descriptor Control - RW */ |
103 | #define E1000_RXDCTL(_n) (E1000_RXDCTL_BASE + (_n << 8)) | 104 | #define E1000_RXDCTL(_n) (E1000_RXDCTL_BASE + (_n << 8)) |
104 | E1000_RADV = 0x0282C, /* RX Interrupt Absolute Delay Timer - RW */ | 105 | E1000_RADV = 0x0282C, /* Rx Interrupt Absolute Delay Timer - RW */ |
105 | 106 | ||
106 | /* Convenience macros | 107 | /* Convenience macros |
107 | * | 108 | * |
@@ -755,6 +756,7 @@ struct e1000_host_mng_command_info { | |||
755 | /* Function pointers and static data for the MAC. */ | 756 | /* Function pointers and static data for the MAC. */ |
756 | struct e1000_mac_operations { | 757 | struct e1000_mac_operations { |
757 | s32 (*id_led_init)(struct e1000_hw *); | 758 | s32 (*id_led_init)(struct e1000_hw *); |
759 | s32 (*blink_led)(struct e1000_hw *); | ||
758 | bool (*check_mng_mode)(struct e1000_hw *); | 760 | bool (*check_mng_mode)(struct e1000_hw *); |
759 | s32 (*check_for_link)(struct e1000_hw *); | 761 | s32 (*check_for_link)(struct e1000_hw *); |
760 | s32 (*cleanup_led)(struct e1000_hw *); | 762 | s32 (*cleanup_led)(struct e1000_hw *); |
@@ -811,9 +813,8 @@ struct e1000_nvm_operations { | |||
811 | 813 | ||
812 | struct e1000_mac_info { | 814 | struct e1000_mac_info { |
813 | struct e1000_mac_operations ops; | 815 | struct e1000_mac_operations ops; |
814 | 816 | u8 addr[ETH_ALEN]; | |
815 | u8 addr[6]; | 817 | u8 perm_addr[ETH_ALEN]; |
816 | u8 perm_addr[6]; | ||
817 | 818 | ||
818 | enum e1000_mac_type type; | 819 | enum e1000_mac_type type; |
819 | 820 | ||