]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/b43legacy/Kconfig
b43legacy: Do not select HW_RANDOM
[net-next-2.6.git] / drivers / net / wireless / b43legacy / Kconfig
index aef2298d37ac2e7678a700677716959e76915ab0..d4f628a74bbd47e07a2d058e9426c750c6c2f7e7 100644 (file)
@@ -3,7 +3,6 @@ config B43LEGACY
        depends on SSB_POSSIBLE && MAC80211 && WLAN_80211 && HAS_DMA
        select SSB
        select FW_LOADER
-       select HW_RANDOM
        ---help---
          b43legacy is a driver for 802.11b devices from Broadcom (BCM4301 and
          BCM4303) and early model 802.11g chips (BCM4306 Ver. 2) used in the
@@ -51,6 +50,13 @@ config B43LEGACY_RFKILL
        depends on B43LEGACY && (RFKILL = y || RFKILL = B43LEGACY) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43LEGACY)
        default y
 
+# This config option automatically enables b43 HW-RNG support,
+# if the HW-RNG core is enabled.
+config B43LEGACY_HWRNG
+       bool
+       depends on B43LEGACY && (HW_RANDOM = y || HW_RANDOM = B43LEGACY)
+       default y
+
 config B43LEGACY_DEBUG
        bool "Broadcom 43xx-legacy debugging"
        depends on B43LEGACY