Skip to contentSkip to conversation

b43: add an option to register BROKEN bcma driver

PATCH New Rafał Miłecki 1 participant 1 message Jun 2, 2011 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43: add an option to register BROKEN bcma driver

It does nothing useful yet, so it is matched as BROKEN. For now this is just an option for b43, in future we may want to make b43 support SSB or BCMA (note: or, not xor).

---
 drivers/net/wireless/b43/Kconfig |    5 ++++
 drivers/net/wireless/b43/b43.h   |    1 +
 drivers/net/wireless/b43/main.c  |   44 +++++++++++++++++++++++++++++++++++++-
 3 files changed, 49 insertions(+), 1 deletions(-)
drivers/net/wireless/b43/Kconfig +5 -0
index 480595f..fe26bf4 100644
@@ -26,6 +26,11 @@ config B43
 	  This driver can be built as a module (recommended) that will be called "b43".
 	  If unsure, say M.
 
+config B43_BCMA
+	bool "Support for BCMA bus"
+	depends on B43 && BCMA && BROKEN
+	default y
+
 # Auto-select SSB PCI-HOST support, if possible
 config B43_PCI_AUTOSELECT
 	bool
drivers/net/wireless/b43/b43.h +1 -0
index 0a3c701..81d78bf 100644
@@ -5,6 +5,7 @@
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
 #include <linux/hw_random.h>
+#include <linux/bcma/bcma.h>
 #include <linux/ssb/ssb.h>
 #include <net/mac80211.h>
 
drivers/net/wireless/b43/main.c +43 -1

74 lines not on this page · raw message

Signature · 1 line
1.7.3.4