diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-08-07 13:58:42 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-08-07 13:58:42 +0200 |
commit | 4c37205178482335cd6a68caea2ba46c02522ea2 (patch) | |
tree | 464a84597087c7f930e2013c52066a2a4bb9ddcb | |
parent | d7b28ef0bc21b327718d440c3c740118cfd5cb25 (diff) |
apalis_t30: igb: add un-programmed i211 support
I211 with a blank iNVM uses a different PCI ID. Hack the driver to load
despite i211 data sheet claiming tools only, not for driver.
Please note that the existing driver hacks concerning NVM validation
skipping and Ethernet MAC address assignment equally apply.
Tested on initial samples of Apalis T30 1GB V1.0A.
-rw-r--r-- | drivers/net/igb/e1000_hw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_hw.h b/drivers/net/igb/e1000_hw.h index 2c7a3e130dc8..6542df695834 100644 --- a/drivers/net/igb/e1000_hw.h +++ b/drivers/net/igb/e1000_hw.h @@ -74,7 +74,12 @@ struct e1000_hw; #define E1000_DEV_ID_I210_FIBER 0x1536 #define E1000_DEV_ID_I210_SERDES 0x1537 #define E1000_DEV_ID_I210_SGMII 0x1538 +#ifdef CONFIG_MACH_APALIS_T30 +/* Hack: I211 with a blank iNVM (tools only, not for driver) */ +#define E1000_DEV_ID_I211_COPPER 0x1532 +#else #define E1000_DEV_ID_I211_COPPER 0x1539 +#endif #define E1000_REVISION_2 2 #define E1000_REVISION_4 4 |