aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/hw.h
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2010-06-16 09:27:28 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-19 01:12:16 -0400
commitd3738bb8203acf8552c3ec8b3447133fc0938ddd (patch)
treec466411e6dce52ca422ad524ace68301c6b0d169 /drivers/net/e1000e/hw.h
parenteb7700dc0344564b0b9857d1f5e331a0dd629e92 (diff)
e1000e: initial support for 82579 LOMs
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/hw.h')
-rw-r--r--drivers/net/e1000e/hw.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h
index 5d1220d188d4..96116ce5e5cc 100644
--- a/drivers/net/e1000e/hw.h
+++ b/drivers/net/e1000e/hw.h
@@ -217,7 +217,10 @@ enum e1e_registers {
217 E1000_SWSM = 0x05B50, /* SW Semaphore */ 217 E1000_SWSM = 0x05B50, /* SW Semaphore */
218 E1000_FWSM = 0x05B54, /* FW Semaphore */ 218 E1000_FWSM = 0x05B54, /* FW Semaphore */
219 E1000_SWSM2 = 0x05B58, /* Driver-only SW semaphore */ 219 E1000_SWSM2 = 0x05B58, /* Driver-only SW semaphore */
220 E1000_CRC_OFFSET = 0x05F50, /* CRC Offset register */ 220 E1000_FFLT_DBG = 0x05F04, /* Debug Register */
221 E1000_PCH_RAICC_BASE = 0x05F50, /* Receive Address Initial CRC */
222#define E1000_PCH_RAICC(_n) (E1000_PCH_RAICC_BASE + ((_n) * 4))
223#define E1000_CRC_OFFSET E1000_PCH_RAICC_BASE
221 E1000_HICR = 0x08F00, /* Host Interface Control */ 224 E1000_HICR = 0x08F00, /* Host Interface Control */
222}; 225};
223 226
@@ -303,13 +306,14 @@ enum e1e_registers {
303#define E1000_KMRNCTRLSTA_OFFSET 0x001F0000 306#define E1000_KMRNCTRLSTA_OFFSET 0x001F0000
304#define E1000_KMRNCTRLSTA_OFFSET_SHIFT 16 307#define E1000_KMRNCTRLSTA_OFFSET_SHIFT 16
305#define E1000_KMRNCTRLSTA_REN 0x00200000 308#define E1000_KMRNCTRLSTA_REN 0x00200000
309#define E1000_KMRNCTRLSTA_CTRL_OFFSET 0x1 /* Kumeran Control */
306#define E1000_KMRNCTRLSTA_DIAG_OFFSET 0x3 /* Kumeran Diagnostic */ 310#define E1000_KMRNCTRLSTA_DIAG_OFFSET 0x3 /* Kumeran Diagnostic */
307#define E1000_KMRNCTRLSTA_TIMEOUTS 0x4 /* Kumeran Timeouts */ 311#define E1000_KMRNCTRLSTA_TIMEOUTS 0x4 /* Kumeran Timeouts */
308#define E1000_KMRNCTRLSTA_INBAND_PARAM 0x9 /* Kumeran InBand Parameters */ 312#define E1000_KMRNCTRLSTA_INBAND_PARAM 0x9 /* Kumeran InBand Parameters */
309#define E1000_KMRNCTRLSTA_DIAG_NELPBK 0x1000 /* Nearend Loopback mode */ 313#define E1000_KMRNCTRLSTA_DIAG_NELPBK 0x1000 /* Nearend Loopback mode */
310#define E1000_KMRNCTRLSTA_K1_CONFIG 0x7 314#define E1000_KMRNCTRLSTA_K1_CONFIG 0x7
311#define E1000_KMRNCTRLSTA_K1_ENABLE 0x140E 315#define E1000_KMRNCTRLSTA_K1_ENABLE 0x140E
312#define E1000_KMRNCTRLSTA_K1_DISABLE 0x1400 316#define E1000_KMRNCTRLSTA_HD_CTRL 0x0002
313 317
314#define IFE_PHY_EXTENDED_STATUS_CONTROL 0x10 318#define IFE_PHY_EXTENDED_STATUS_CONTROL 0x10
315#define IFE_PHY_SPECIAL_CONTROL 0x11 /* 100BaseTx PHY Special Control */ 319#define IFE_PHY_SPECIAL_CONTROL 0x11 /* 100BaseTx PHY Special Control */
@@ -387,6 +391,8 @@ enum e1e_registers {
387#define E1000_DEV_ID_PCH_M_HV_LC 0x10EB 391#define E1000_DEV_ID_PCH_M_HV_LC 0x10EB
388#define E1000_DEV_ID_PCH_D_HV_DM 0x10EF 392#define E1000_DEV_ID_PCH_D_HV_DM 0x10EF
389#define E1000_DEV_ID_PCH_D_HV_DC 0x10F0 393#define E1000_DEV_ID_PCH_D_HV_DC 0x10F0
394#define E1000_DEV_ID_PCH2_LV_LM 0x1502
395#define E1000_DEV_ID_PCH2_LV_V 0x1503
390 396
391#define E1000_REVISION_4 4 397#define E1000_REVISION_4 4
392 398
@@ -406,6 +412,7 @@ enum e1000_mac_type {
406 e1000_ich9lan, 412 e1000_ich9lan,
407 e1000_ich10lan, 413 e1000_ich10lan,
408 e1000_pchlan, 414 e1000_pchlan,
415 e1000_pch2lan,
409}; 416};
410 417
411enum e1000_media_type { 418enum e1000_media_type {
@@ -442,6 +449,7 @@ enum e1000_phy_type {
442 e1000_phy_bm, 449 e1000_phy_bm,
443 e1000_phy_82578, 450 e1000_phy_82578,
444 e1000_phy_82577, 451 e1000_phy_82577,
452 e1000_phy_82579,
445}; 453};
446 454
447enum e1000_bus_width { 455enum e1000_bus_width {