summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-07-13 09:27:32 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-14 08:41:59 -0700
commit3a1e19d383c7b91c8af52e8938ab60c40e3d26b3 (patch)
tree4f8727f59b54c08be891feaa976d430eecf617a9 /drivers/net/tg3.h
parent6f5c8f8317d37045ffc7ea21dab8319a53c1ae57 (diff)
downloadtalos-obmc-linux-3a1e19d383c7b91c8af52e8938ab60c40e3d26b3.tar.gz
talos-obmc-linux-3a1e19d383c7b91c8af52e8938ab60c40e3d26b3.zip
tg3: Add function status reporting
This patch adds code to update the status of the function to a common location to the critical section added in the previous patch. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index e4444699fa99..6a43fc51d870 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1065,6 +1065,8 @@
#define RCVLSC_STATUS_ERROR_ATTN 0x00000004
/* 0x3408 --> 0x3600 unused */
+#define TG3_CPMU_DRV_STATUS 0x0000344c
+
/* CPMU registers */
#define TG3_CPMU_CTRL 0x00003600
#define CPMU_CTRL_LINK_IDLE_MODE 0x00000200
@@ -2277,6 +2279,8 @@
/* APE registers. Accessible through BAR1 */
+#define TG3_APE_GPIO_MSG 0x0008
+#define TG3_APE_GPIO_MSG_SHIFT 4
#define TG3_APE_EVENT 0x000c
#define APE_EVENT_1 0x00000001
#define TG3_APE_LOCK_REQ 0x002c
OpenPOWER on IntegriCloud