aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-08-02 07:26:01 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-02 18:46:29 -0400
commitecc796486f0a7f4958f8dc7550267570dcacb608 (patch)
tree13e7635fcb2bc11b6fd4e5dac63f78409a1a018c /drivers/net/tg3.h
parent8c69b1e702527e39c0b4fbda79d2738d186a3908 (diff)
tg3: Detect APE firmware types
This patch adds code to determine the APE firmware type and report this along with the firmware version. Reviewed-by: Benjamin Li <benli@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index a7b8ec7b46ca..53b6def942bc 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2161,6 +2161,8 @@
2161/* APE shared memory. Accessible through BAR1 */ 2161/* APE shared memory. Accessible through BAR1 */
2162#define TG3_APE_FW_STATUS 0x400c 2162#define TG3_APE_FW_STATUS 0x400c
2163#define APE_FW_STATUS_READY 0x00000100 2163#define APE_FW_STATUS_READY 0x00000100
2164#define TG3_APE_FW_FEATURES 0x4010
2165#define TG3_APE_FW_FEATURE_NCSI 0x00000002
2164#define TG3_APE_FW_VERSION 0x4018 2166#define TG3_APE_FW_VERSION 0x4018
2165#define APE_FW_VERSION_MAJMSK 0xff000000 2167#define APE_FW_VERSION_MAJMSK 0xff000000
2166#define APE_FW_VERSION_MAJSFT 24 2168#define APE_FW_VERSION_MAJSFT 24