diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-05-17 16:44:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-21 21:48:15 -0400 |
commit | e48b0eeb0ab508021b654a45f332b30cac2163b9 (patch) | |
tree | 57e90c75b42416e58080c055f30d48135d946c0d /drivers/net/wireless/b43/b43.h | |
parent | e2530083609148a7835b54c431f6b8956407c1f6 (diff) |
b43: Add hooks for firmware debugging
This patch adds some hooks for firmware debugging.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index aa493830a82d..00468594b456 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -422,6 +422,12 @@ enum { | |||
422 | B43_IRQ_RFKILL | \ | 422 | B43_IRQ_RFKILL | \ |
423 | B43_IRQ_TX_OK) | 423 | B43_IRQ_TX_OK) |
424 | 424 | ||
425 | /* Debug-IRQ reasons. */ | ||
426 | #define B43_DEBUGIRQ_PANIC 0 /* The firmware panic'ed */ | ||
427 | #define B43_DEBUGIRQ_DUMP_SHM 1 /* Dump shared SHM */ | ||
428 | #define B43_DEBUGIRQ_DUMP_REGS 2 /* Dump the microcode registers */ | ||
429 | #define B43_DEBUGIRQ_ACK 0xFFFF /* The host writes that to ACK the IRQ */ | ||
430 | |||
425 | /* Device specific rate values. | 431 | /* Device specific rate values. |
426 | * The actual values defined here are (rate_in_mbps * 2). | 432 | * The actual values defined here are (rate_in_mbps * 2). |
427 | * Some code depends on this. Don't change it. */ | 433 | * Some code depends on this. Don't change it. */ |
@@ -765,6 +771,9 @@ struct b43_firmware { | |||
765 | u16 rev; | 771 | u16 rev; |
766 | /* Firmware patchlevel */ | 772 | /* Firmware patchlevel */ |
767 | u16 patch; | 773 | u16 patch; |
774 | |||
775 | /* Set to true, if we are using an opensource firmware. */ | ||
776 | bool opensource; | ||
768 | }; | 777 | }; |
769 | 778 | ||
770 | /* Device (802.11 core) initialization status. */ | 779 | /* Device (802.11 core) initialization status. */ |