diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-07-13 05:27:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 11:41:59 -0400 |
commit | 3a1e19d383c7b91c8af52e8938ab60c40e3d26b3 (patch) | |
tree | 4f8727f59b54c08be891feaa976d430eecf617a9 /drivers/net/tg3.h | |
parent | 6f5c8f8317d37045ffc7ea21dab8319a53c1ae57 (diff) |
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.h | 4 |
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 @@ | |||
1065 | #define RCVLSC_STATUS_ERROR_ATTN 0x00000004 | 1065 | #define RCVLSC_STATUS_ERROR_ATTN 0x00000004 |
1066 | /* 0x3408 --> 0x3600 unused */ | 1066 | /* 0x3408 --> 0x3600 unused */ |
1067 | 1067 | ||
1068 | #define TG3_CPMU_DRV_STATUS 0x0000344c | ||
1069 | |||
1068 | /* CPMU registers */ | 1070 | /* CPMU registers */ |
1069 | #define TG3_CPMU_CTRL 0x00003600 | 1071 | #define TG3_CPMU_CTRL 0x00003600 |
1070 | #define CPMU_CTRL_LINK_IDLE_MODE 0x00000200 | 1072 | #define CPMU_CTRL_LINK_IDLE_MODE 0x00000200 |
@@ -2277,6 +2279,8 @@ | |||
2277 | 2279 | ||
2278 | 2280 | ||
2279 | /* APE registers. Accessible through BAR1 */ | 2281 | /* APE registers. Accessible through BAR1 */ |
2282 | #define TG3_APE_GPIO_MSG 0x0008 | ||
2283 | #define TG3_APE_GPIO_MSG_SHIFT 4 | ||
2280 | #define TG3_APE_EVENT 0x000c | 2284 | #define TG3_APE_EVENT 0x000c |
2281 | #define APE_EVENT_1 0x00000001 | 2285 | #define APE_EVENT_1 0x00000001 |
2282 | #define TG3_APE_LOCK_REQ 0x002c | 2286 | #define TG3_APE_LOCK_REQ 0x002c |