From ba48f7bb8062982ec916868cc8c90360aad82e53 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Fri, 12 Oct 2007 23:04:51 -0500 Subject: b43legacy: LED triggers support Drive the LEDs through the generic LED triggers. The patch to b43 by Michael Buesch has been ported to b43legacy. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- drivers/net/wireless/b43legacy/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/net/wireless/b43legacy/Kconfig') diff --git a/drivers/net/wireless/b43legacy/Kconfig b/drivers/net/wireless/b43legacy/Kconfig index 7e23ec23fc9..1bf777578e5 100644 --- a/drivers/net/wireless/b43legacy/Kconfig +++ b/drivers/net/wireless/b43legacy/Kconfig @@ -34,6 +34,12 @@ config B43LEGACY_PCICORE_AUTOSELECT select SSB_DRIVER_PCICORE default y +# LED support +config B43LEGACY_LEDS + bool + depends on MAC80211_LEDS + default y + config B43LEGACY_DEBUG bool "Broadcom 43xx-legacy debugging" depends on B43LEGACY -- cgit v1.2.3 From 93bb7f3a7bb5c95da10242d9763994a466c90b1d Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 10 Oct 2007 22:44:22 -0500 Subject: b43legacy: RF-kill support This adds full support for the RFKILL button and the RFKILL LED trigger. This is a port to b43legacy of a patch by Michael Buesch for b43. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- drivers/net/wireless/b43legacy/Kconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'drivers/net/wireless/b43legacy/Kconfig') diff --git a/drivers/net/wireless/b43legacy/Kconfig b/drivers/net/wireless/b43legacy/Kconfig index 1bf777578e5..68e05f06b33 100644 --- a/drivers/net/wireless/b43legacy/Kconfig +++ b/drivers/net/wireless/b43legacy/Kconfig @@ -37,7 +37,13 @@ config B43LEGACY_PCICORE_AUTOSELECT # LED support config B43LEGACY_LEDS bool - depends on MAC80211_LEDS + depends on B43LEGACY && MAC80211_LEDS + default y + +# RFKILL support +config B43LEGACY_RFKILL + bool + depends on B43LEGACY && RFKILL default y config B43LEGACY_DEBUG -- cgit v1.2.3 From 6be50837e303c53b1e5a0138dfed132ccbabcdad Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 10 Oct 2007 22:48:17 -0500 Subject: b43legacy: Use input-polldev for the rfkill switch This removes the direct call to rfkill on an rfkill event and replaces it with an input device. This way userspace is also notified about the event. This patch is the port to b43legacy of a patch for b43 by Michael Buesch . Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- drivers/net/wireless/b43legacy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/wireless/b43legacy/Kconfig') diff --git a/drivers/net/wireless/b43legacy/Kconfig b/drivers/net/wireless/b43legacy/Kconfig index 68e05f06b33..9718529af66 100644 --- a/drivers/net/wireless/b43legacy/Kconfig +++ b/drivers/net/wireless/b43legacy/Kconfig @@ -43,7 +43,7 @@ config B43LEGACY_LEDS # RFKILL support config B43LEGACY_RFKILL bool - depends on B43LEGACY && RFKILL + depends on B43LEGACY && RFKILL && RFKILL_INPUT && INPUT_POLLDEV default y config B43LEGACY_DEBUG -- cgit v1.2.3 From 59f1b154653d961d3ace72a4a5311c395cf7d779 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 8 Nov 2007 00:28:00 +0100 Subject: b43legacy: fix kconfig dependecies for rfkill and leds Fix dependencies for built-in b43legacy. The patch to b43 by Michael Buesch has been ported to b43legacy. Signed-off-by: Stefano Brivio Signed-off-by: John W. Linville --- drivers/net/wireless/b43legacy/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'drivers/net/wireless/b43legacy/Kconfig') diff --git a/drivers/net/wireless/b43legacy/Kconfig b/drivers/net/wireless/b43legacy/Kconfig index 9718529af66..6745579ba96 100644 --- a/drivers/net/wireless/b43legacy/Kconfig +++ b/drivers/net/wireless/b43legacy/Kconfig @@ -35,15 +35,19 @@ config B43LEGACY_PCICORE_AUTOSELECT default y # LED support +# This config option automatically enables b43legacy LEDS support, +# if it's possible. config B43LEGACY_LEDS bool - depends on B43LEGACY && MAC80211_LEDS + depends on B43LEGACY && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43LEGACY) default y # RFKILL support +# This config option automatically enables b43legacy RFKILL support, +# if it's possible. config B43LEGACY_RFKILL bool - depends on B43LEGACY && RFKILL && RFKILL_INPUT && INPUT_POLLDEV + depends on B43LEGACY && (RFKILL = y || RFKILL = B43LEGACY) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43LEGACY) default y config B43LEGACY_DEBUG -- cgit v1.2.3