diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-02-19 17:29:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-21 15:39:58 -0500 |
commit | 663dcc73675bd70ee11195ce832b1d1691f967d0 (patch) | |
tree | 9b432c983e786d9bd3ccd1b0cff3701940bff7cf /drivers | |
parent | 29d00a3e46bb6b0743e79f4abc249d8c318e0a56 (diff) |
rtlwifi: Modify build system for rtl8192cu
Modify Kconfig and Makefile to build rtl8192cu.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rtlwifi/Kconfig | 17 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/Makefile | 3 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/reg.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/Makefile | 15 |
5 files changed, 35 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/Kconfig b/drivers/net/wireless/rtlwifi/Kconfig index 7f6573f7f470..86f8d4d64037 100644 --- a/drivers/net/wireless/rtlwifi/Kconfig +++ b/drivers/net/wireless/rtlwifi/Kconfig | |||
@@ -1,6 +1,6 @@ | |||
1 | config RTL8192CE | 1 | config RTL8192CE |
2 | tristate "Realtek RTL8192CE/RTL8188SE Wireless Network Adapter" | 2 | tristate "Realtek RTL8192CE/RTL8188CE Wireless Network Adapter" |
3 | depends on MAC80211 && EXPERIMENTAL | 3 | depends on MAC80211 && PCI && EXPERIMENTAL |
4 | select FW_LOADER | 4 | select FW_LOADER |
5 | select RTLWIFI | 5 | select RTLWIFI |
6 | ---help--- | 6 | ---help--- |
@@ -9,7 +9,18 @@ config RTL8192CE | |||
9 | 9 | ||
10 | If you choose to build it as a module, it will be called rtl8192ce | 10 | If you choose to build it as a module, it will be called rtl8192ce |
11 | 11 | ||
12 | config RTL8192CU | ||
13 | tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter" | ||
14 | depends on MAC80211 && USB && EXPERIMENTAL | ||
15 | select FW_LOADER | ||
16 | select RTLWIFI | ||
17 | ---help--- | ||
18 | This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB | ||
19 | wireless network adapters. | ||
20 | |||
21 | If you choose to build it as a module, it will be called rtl8192cu | ||
22 | |||
12 | config RTLWIFI | 23 | config RTLWIFI |
13 | tristate | 24 | tristate |
14 | depends on RTL8192CE | 25 | depends on RTL8192CE || RTL8192CU |
15 | default m | 26 | default m |
diff --git a/drivers/net/wireless/rtlwifi/Makefile b/drivers/net/wireless/rtlwifi/Makefile index efbff2f478bf..c3e83a1da33b 100644 --- a/drivers/net/wireless/rtlwifi/Makefile +++ b/drivers/net/wireless/rtlwifi/Makefile | |||
@@ -12,3 +12,6 @@ rtlwifi-objs := \ | |||
12 | usb.o | 12 | usb.o |
13 | 13 | ||
14 | obj-$(CONFIG_RTL8192CE) += rtl8192ce/ | 14 | obj-$(CONFIG_RTL8192CE) += rtl8192ce/ |
15 | obj-$(CONFIG_RTL8192CU) += rtl8192cu/ | ||
16 | |||
17 | ccflags-y += -D__CHECK_ENDIAN__ | ||
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/Makefile b/drivers/net/wireless/rtlwifi/rtl8192ce/Makefile index 0f0be7c763b8..5c5fdde637cb 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/Makefile +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/Makefile | |||
@@ -10,3 +10,5 @@ rtl8192ce-objs := \ | |||
10 | trx.o | 10 | trx.o |
11 | 11 | ||
12 | obj-$(CONFIG_RTL8192CE) += rtl8192ce.o | 12 | obj-$(CONFIG_RTL8192CE) += rtl8192ce.o |
13 | |||
14 | ccflags-y += -D__CHECK_ENDIAN__ | ||
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h b/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h index 9ffbadc281f2..3df22bd9480d 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/reg.h | |||
@@ -1077,6 +1077,7 @@ | |||
1077 | #define _RARF_RC8(x) (((x) & 0x1F) << 24) | 1077 | #define _RARF_RC8(x) (((x) & 0x1F) << 24) |
1078 | 1078 | ||
1079 | #define AC_PARAM_TXOP_LIMIT_OFFSET 16 | 1079 | #define AC_PARAM_TXOP_LIMIT_OFFSET 16 |
1080 | #define AC_PARAM_TXOP_OFFSET 16 | ||
1080 | #define AC_PARAM_ECW_MAX_OFFSET 12 | 1081 | #define AC_PARAM_ECW_MAX_OFFSET 12 |
1081 | #define AC_PARAM_ECW_MIN_OFFSET 8 | 1082 | #define AC_PARAM_ECW_MIN_OFFSET 8 |
1082 | #define AC_PARAM_AIFS_OFFSET 0 | 1083 | #define AC_PARAM_AIFS_OFFSET 0 |
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/Makefile b/drivers/net/wireless/rtlwifi/rtl8192cu/Makefile new file mode 100644 index 000000000000..91c65122ca80 --- /dev/null +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/Makefile | |||
@@ -0,0 +1,15 @@ | |||
1 | rtl8192cu-objs := \ | ||
2 | dm.o \ | ||
3 | fw.o \ | ||
4 | hw.o \ | ||
5 | led.o \ | ||
6 | mac.o \ | ||
7 | phy.o \ | ||
8 | rf.o \ | ||
9 | sw.o \ | ||
10 | table.o \ | ||
11 | trx.o | ||
12 | |||
13 | obj-$(CONFIG_RTL8192CU) += rtl8192cu.o | ||
14 | |||
15 | ccflags-y += -D__CHECK_ENDIAN__ | ||