summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2016-02-22 00:48:53 +0000
committeravos <avos@FreeBSD.org>2016-02-22 00:48:53 +0000
commit6453e45ba937bd756572ef0946949dc891ec597f (patch)
treec8c788415b37d87cf57f79d163e96bd6bcce3b94 /sys/conf
parent69511675eb34650e2176ca75b267875494f017c3 (diff)
downloadFreeBSD-src-6453e45ba937bd756572ef0946949dc891ec597f.zip
FreeBSD-src-6453e45ba937bd756572ef0946949dc891ec597f.tar.gz
urtwn: add an option to compile the driver without firmware specific code
- Add URTWN_WITHOUT_UCODE option (will disable any firmware specific code when set). - Do not exclude the driver from build when MK_SOURCELESS_UCODE is set (URTWN_WITHOUT_UCODE will be enforced unconditionally). - Do not abort initialization when firmware cannot be loaded; behave like the URTWN_WITHOUT_UCODE option was set. - Drop some unused variables from urtwn_softc structure. Tested with RTL8188EU and RTL8188CUS in HOSTAP and STA modes. Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4849
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index f1b2af4..f7c48c2 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -673,6 +673,9 @@ UPLCOM_INTR_INTERVAL opt_uplcom.h
UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
UVSCOM_INTR_INTERVAL opt_uvscom.h
+# options for the Realtek RTL8188*U/RTL8192CU driver (urtwn)
+URTWN_WITHOUT_UCODE opt_urtwn.h
+
# Embedded system options
INIT_PATH
OpenPOWER on IntegriCloud