diff options
author | Gary Zambrano <zambrano@broadcom.com> | 2006-06-20 18:34:23 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-22 23:16:13 -0400 |
commit | 52cafd965507b7a7bb962486539f6d7422552692 (patch) | |
tree | 629aa6883f073b1d28fad4340f3d4d3f5c124230 /drivers/net/b44.h | |
parent | 47b9c3b1e6afa3c40e3ac1822cd13946567b5955 (diff) |
[PATCH] b44: add wol
Adds wol to the driver.
This is a redo of a previous patch thanks to feedback from Francois Romieu.
Signed-off-by Gary Zambrano <zambrano@broadcom.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/b44.h')
-rw-r--r-- | drivers/net/b44.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/b44.h b/drivers/net/b44.h index b178662978f3..1f47777b848b 100644 --- a/drivers/net/b44.h +++ b/drivers/net/b44.h | |||
@@ -264,6 +264,8 @@ | |||
264 | #define SBIDHIGH_VC_SHIFT 16 | 264 | #define SBIDHIGH_VC_SHIFT 16 |
265 | 265 | ||
266 | /* SSB PCI config space registers. */ | 266 | /* SSB PCI config space registers. */ |
267 | #define SSB_PMCSR 0x44 | ||
268 | #define SSB_PE 0x100 | ||
267 | #define SSB_BAR0_WIN 0x80 | 269 | #define SSB_BAR0_WIN 0x80 |
268 | #define SSB_BAR1_WIN 0x84 | 270 | #define SSB_BAR1_WIN 0x84 |
269 | #define SSB_SPROM_CONTROL 0x88 | 271 | #define SSB_SPROM_CONTROL 0x88 |
@@ -420,6 +422,7 @@ struct b44 { | |||
420 | 422 | ||
421 | u32 dma_offset; | 423 | u32 dma_offset; |
422 | u32 flags; | 424 | u32 flags; |
425 | #define B44_FLAG_B0_ANDLATER 0x00000001 | ||
423 | #define B44_FLAG_BUGGY_TXPTR 0x00000002 | 426 | #define B44_FLAG_BUGGY_TXPTR 0x00000002 |
424 | #define B44_FLAG_REORDER_BUG 0x00000004 | 427 | #define B44_FLAG_REORDER_BUG 0x00000004 |
425 | #define B44_FLAG_PAUSE_AUTO 0x00008000 | 428 | #define B44_FLAG_PAUSE_AUTO 0x00008000 |
@@ -435,6 +438,7 @@ struct b44 { | |||
435 | #define B44_FLAG_INTERNAL_PHY 0x10000000 | 438 | #define B44_FLAG_INTERNAL_PHY 0x10000000 |
436 | #define B44_FLAG_RX_RING_HACK 0x20000000 | 439 | #define B44_FLAG_RX_RING_HACK 0x20000000 |
437 | #define B44_FLAG_TX_RING_HACK 0x40000000 | 440 | #define B44_FLAG_TX_RING_HACK 0x40000000 |
441 | #define B44_FLAG_WOL_ENABLE 0x80000000 | ||
438 | 442 | ||
439 | u32 rx_offset; | 443 | u32 rx_offset; |
440 | 444 | ||