diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/wireless/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/Kconfig | 33 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/Makefile | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/acx.c (renamed from drivers/net/wireless/wl12xx/wl1251_acx.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/acx.h (renamed from drivers/net/wireless/wl12xx/wl1251_acx.h) | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/boot.c (renamed from drivers/net/wireless/wl12xx/wl1251_boot.c) | 12 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/boot.h (renamed from drivers/net/wireless/wl12xx/wl1251_boot.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/cmd.c (renamed from drivers/net/wireless/wl12xx/wl1251_cmd.c) | 10 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/cmd.h (renamed from drivers/net/wireless/wl12xx/wl1251_cmd.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/debugfs.c (renamed from drivers/net/wireless/wl12xx/wl1251_debugfs.c) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/debugfs.h (renamed from drivers/net/wireless/wl12xx/wl1251_debugfs.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/event.c (renamed from drivers/net/wireless/wl12xx/wl1251_event.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/event.h (renamed from drivers/net/wireless/wl12xx/wl1251_event.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/init.c (renamed from drivers/net/wireless/wl12xx/wl1251_init.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/init.h (renamed from drivers/net/wireless/wl12xx/wl1251_init.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/io.c (renamed from drivers/net/wireless/wl12xx/wl1251_io.c) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/io.h (renamed from drivers/net/wireless/wl12xx/wl1251_io.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/main.c (renamed from drivers/net/wireless/wl12xx/wl1251_main.c) | 20 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/ps.c (renamed from drivers/net/wireless/wl12xx/wl1251_ps.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/ps.h (renamed from drivers/net/wireless/wl12xx/wl1251_ps.h) | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/reg.h (renamed from drivers/net/wireless/wl12xx/wl1251_reg.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/rx.c (renamed from drivers/net/wireless/wl12xx/wl1251_rx.c) | 10 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/rx.h (renamed from drivers/net/wireless/wl12xx/wl1251_rx.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/sdio.c (renamed from drivers/net/wireless/wl12xx/wl1251_sdio.c) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/spi.c (renamed from drivers/net/wireless/wl12xx/wl1251_spi.c) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/spi.h (renamed from drivers/net/wireless/wl12xx/wl1251_spi.h) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/tx.c (renamed from drivers/net/wireless/wl12xx/wl1251_tx.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/tx.h (renamed from drivers/net/wireless/wl12xx/wl1251_tx.h) | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl1251/wl1251.h (renamed from drivers/net/wireless/wl12xx/wl1251.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/Kconfig | 34 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/Makefile | 9 |
32 files changed, 100 insertions, 102 deletions
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig index 174e3442d519..4de4410cd38e 100644 --- a/drivers/net/wireless/Kconfig +++ b/drivers/net/wireless/Kconfig | |||
@@ -279,6 +279,7 @@ source "drivers/net/wireless/libertas/Kconfig" | |||
279 | source "drivers/net/wireless/orinoco/Kconfig" | 279 | source "drivers/net/wireless/orinoco/Kconfig" |
280 | source "drivers/net/wireless/p54/Kconfig" | 280 | source "drivers/net/wireless/p54/Kconfig" |
281 | source "drivers/net/wireless/rt2x00/Kconfig" | 281 | source "drivers/net/wireless/rt2x00/Kconfig" |
282 | source "drivers/net/wireless/wl1251/Kconfig" | ||
282 | source "drivers/net/wireless/wl12xx/Kconfig" | 283 | source "drivers/net/wireless/wl12xx/Kconfig" |
283 | source "drivers/net/wireless/zd1211rw/Kconfig" | 284 | source "drivers/net/wireless/zd1211rw/Kconfig" |
284 | 285 | ||
diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile index a13a602edb13..06f8ca26c5c1 100644 --- a/drivers/net/wireless/Makefile +++ b/drivers/net/wireless/Makefile | |||
@@ -49,6 +49,7 @@ obj-$(CONFIG_ATH_COMMON) += ath/ | |||
49 | 49 | ||
50 | obj-$(CONFIG_MAC80211_HWSIM) += mac80211_hwsim.o | 50 | obj-$(CONFIG_MAC80211_HWSIM) += mac80211_hwsim.o |
51 | 51 | ||
52 | obj-$(CONFIG_WL1251) += wl1251/ | ||
52 | obj-$(CONFIG_WL12XX) += wl12xx/ | 53 | obj-$(CONFIG_WL12XX) += wl12xx/ |
53 | obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx/ | 54 | obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx/ |
54 | 55 | ||
diff --git a/drivers/net/wireless/wl1251/Kconfig b/drivers/net/wireless/wl1251/Kconfig new file mode 100644 index 000000000000..1fb65849414f --- /dev/null +++ b/drivers/net/wireless/wl1251/Kconfig | |||
@@ -0,0 +1,33 @@ | |||
1 | menuconfig WL1251 | ||
2 | tristate "TI wl1251 driver support" | ||
3 | depends on MAC80211 && EXPERIMENTAL && GENERIC_HARDIRQS | ||
4 | select FW_LOADER | ||
5 | select CRC7 | ||
6 | ---help--- | ||
7 | This will enable TI wl1251 driver support. The drivers make | ||
8 | use of the mac80211 stack. | ||
9 | |||
10 | If you choose to build a module, it'll be called wl1251. Say | ||
11 | N if unsure. | ||
12 | |||
13 | config WL1251_SPI | ||
14 | tristate "TI wl1251 SPI support" | ||
15 | depends on WL1251 && SPI_MASTER | ||
16 | ---help--- | ||
17 | This module adds support for the SPI interface of adapters using | ||
18 | TI wl1251 chipset. Select this if your platform is using | ||
19 | the SPI bus. | ||
20 | |||
21 | If you choose to build a module, it'll be called wl1251_spi. | ||
22 | Say N if unsure. | ||
23 | |||
24 | config WL1251_SDIO | ||
25 | tristate "TI wl1251 SDIO support" | ||
26 | depends on WL1251 && MMC | ||
27 | ---help--- | ||
28 | This module adds support for the SDIO interface of adapters using | ||
29 | TI wl1251 chipset. Select this if your platform is using | ||
30 | the SDIO bus. | ||
31 | |||
32 | If you choose to build a module, it'll be called | ||
33 | wl1251_sdio. Say N if unsure. | ||
diff --git a/drivers/net/wireless/wl1251/Makefile b/drivers/net/wireless/wl1251/Makefile new file mode 100644 index 000000000000..4fe246824db3 --- /dev/null +++ b/drivers/net/wireless/wl1251/Makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \ | ||
2 | acx.o boot.o init.o debugfs.o io.o | ||
3 | |||
4 | obj-$(CONFIG_WL1251) += wl1251.o | ||
5 | obj-$(CONFIG_WL1251_SPI) += spi.o | ||
6 | obj-$(CONFIG_WL1251_SDIO) += sdio.o | ||
diff --git a/drivers/net/wireless/wl12xx/wl1251_acx.c b/drivers/net/wireless/wl1251/acx.c index 2f8a2ba744dc..64a0214cfb29 100644 --- a/drivers/net/wireless/wl12xx/wl1251_acx.c +++ b/drivers/net/wireless/wl1251/acx.c | |||
@@ -1,13 +1,13 @@ | |||
1 | #include "wl1251_acx.h" | 1 | #include "acx.h" |
2 | 2 | ||
3 | #include <linux/module.h> | 3 | #include <linux/module.h> |
4 | #include <linux/slab.h> | 4 | #include <linux/slab.h> |
5 | #include <linux/crc7.h> | 5 | #include <linux/crc7.h> |
6 | 6 | ||
7 | #include "wl1251.h" | 7 | #include "wl1251.h" |
8 | #include "wl1251_reg.h" | 8 | #include "reg.h" |
9 | #include "wl1251_cmd.h" | 9 | #include "cmd.h" |
10 | #include "wl1251_ps.h" | 10 | #include "ps.h" |
11 | 11 | ||
12 | int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, | 12 | int wl1251_acx_frame_rates(struct wl1251 *wl, u8 ctrl_rate, u8 ctrl_mod, |
13 | u8 mgt_rate, u8 mgt_mod) | 13 | u8 mgt_rate, u8 mgt_mod) |
diff --git a/drivers/net/wireless/wl12xx/wl1251_acx.h b/drivers/net/wireless/wl1251/acx.h index c7cc5c1e8a75..e54b21a4f8b1 100644 --- a/drivers/net/wireless/wl12xx/wl1251_acx.h +++ b/drivers/net/wireless/wl1251/acx.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #define __WL1251_ACX_H__ | 24 | #define __WL1251_ACX_H__ |
25 | 25 | ||
26 | #include "wl1251.h" | 26 | #include "wl1251.h" |
27 | #include "wl1251_cmd.h" | 27 | #include "cmd.h" |
28 | 28 | ||
29 | /* Target's information element */ | 29 | /* Target's information element */ |
30 | struct acx_header { | 30 | struct acx_header { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_boot.c b/drivers/net/wireless/wl1251/boot.c index 468b47b0328a..61572dfa1f60 100644 --- a/drivers/net/wireless/wl12xx/wl1251_boot.c +++ b/drivers/net/wireless/wl1251/boot.c | |||
@@ -22,12 +22,12 @@ | |||
22 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
23 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
24 | 24 | ||
25 | #include "wl1251_reg.h" | 25 | #include "reg.h" |
26 | #include "wl1251_boot.h" | 26 | #include "boot.h" |
27 | #include "wl1251_io.h" | 27 | #include "io.h" |
28 | #include "wl1251_spi.h" | 28 | #include "spi.h" |
29 | #include "wl1251_event.h" | 29 | #include "event.h" |
30 | #include "wl1251_acx.h" | 30 | #include "acx.h" |
31 | 31 | ||
32 | void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) | 32 | void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) |
33 | { | 33 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_boot.h b/drivers/net/wireless/wl1251/boot.h index 7661bc5e4662..7661bc5e4662 100644 --- a/drivers/net/wireless/wl12xx/wl1251_boot.h +++ b/drivers/net/wireless/wl1251/boot.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_cmd.c b/drivers/net/wireless/wl1251/cmd.c index 15fb68c6b542..0ade4bd617c0 100644 --- a/drivers/net/wireless/wl12xx/wl1251_cmd.c +++ b/drivers/net/wireless/wl1251/cmd.c | |||
@@ -1,14 +1,14 @@ | |||
1 | #include "wl1251_cmd.h" | 1 | #include "cmd.h" |
2 | 2 | ||
3 | #include <linux/module.h> | 3 | #include <linux/module.h> |
4 | #include <linux/slab.h> | 4 | #include <linux/slab.h> |
5 | #include <linux/crc7.h> | 5 | #include <linux/crc7.h> |
6 | 6 | ||
7 | #include "wl1251.h" | 7 | #include "wl1251.h" |
8 | #include "wl1251_reg.h" | 8 | #include "reg.h" |
9 | #include "wl1251_io.h" | 9 | #include "io.h" |
10 | #include "wl1251_ps.h" | 10 | #include "ps.h" |
11 | #include "wl1251_acx.h" | 11 | #include "acx.h" |
12 | 12 | ||
13 | /** | 13 | /** |
14 | * send command to firmware | 14 | * send command to firmware |
diff --git a/drivers/net/wireless/wl12xx/wl1251_cmd.h b/drivers/net/wireless/wl1251/cmd.h index e5c74c631374..e5c74c631374 100644 --- a/drivers/net/wireless/wl12xx/wl1251_cmd.h +++ b/drivers/net/wireless/wl1251/cmd.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_debugfs.c b/drivers/net/wireless/wl1251/debugfs.c index 6ffe4cd58561..6e5caaa9f613 100644 --- a/drivers/net/wireless/wl12xx/wl1251_debugfs.c +++ b/drivers/net/wireless/wl1251/debugfs.c | |||
@@ -19,14 +19,14 @@ | |||
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "wl1251_debugfs.h" | 22 | #include "debugfs.h" |
23 | 23 | ||
24 | #include <linux/skbuff.h> | 24 | #include <linux/skbuff.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | 26 | ||
27 | #include "wl1251.h" | 27 | #include "wl1251.h" |
28 | #include "wl1251_acx.h" | 28 | #include "acx.h" |
29 | #include "wl1251_ps.h" | 29 | #include "ps.h" |
30 | 30 | ||
31 | /* ms */ | 31 | /* ms */ |
32 | #define WL1251_DEBUGFS_STATS_LIFETIME 1000 | 32 | #define WL1251_DEBUGFS_STATS_LIFETIME 1000 |
diff --git a/drivers/net/wireless/wl12xx/wl1251_debugfs.h b/drivers/net/wireless/wl1251/debugfs.h index b3417c02a218..b3417c02a218 100644 --- a/drivers/net/wireless/wl12xx/wl1251_debugfs.h +++ b/drivers/net/wireless/wl1251/debugfs.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_event.c b/drivers/net/wireless/wl1251/event.c index 54223556b308..712372e50a87 100644 --- a/drivers/net/wireless/wl12xx/wl1251_event.c +++ b/drivers/net/wireless/wl1251/event.c | |||
@@ -21,10 +21,10 @@ | |||
21 | */ | 21 | */ |
22 | 22 | ||
23 | #include "wl1251.h" | 23 | #include "wl1251.h" |
24 | #include "wl1251_reg.h" | 24 | #include "reg.h" |
25 | #include "wl1251_io.h" | 25 | #include "io.h" |
26 | #include "wl1251_event.h" | 26 | #include "event.h" |
27 | #include "wl1251_ps.h" | 27 | #include "ps.h" |
28 | 28 | ||
29 | static int wl1251_event_scan_complete(struct wl1251 *wl, | 29 | static int wl1251_event_scan_complete(struct wl1251 *wl, |
30 | struct event_mailbox *mbox) | 30 | struct event_mailbox *mbox) |
diff --git a/drivers/net/wireless/wl12xx/wl1251_event.h b/drivers/net/wireless/wl1251/event.h index 30eb5d150bf7..30eb5d150bf7 100644 --- a/drivers/net/wireless/wl12xx/wl1251_event.h +++ b/drivers/net/wireless/wl1251/event.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_init.c b/drivers/net/wireless/wl1251/init.c index c5daec05d9ee..89b43d35473c 100644 --- a/drivers/net/wireless/wl12xx/wl1251_init.c +++ b/drivers/net/wireless/wl1251/init.c | |||
@@ -23,11 +23,11 @@ | |||
23 | #include <linux/module.h> | 23 | #include <linux/module.h> |
24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
25 | 25 | ||
26 | #include "wl1251_init.h" | 26 | #include "init.h" |
27 | #include "wl12xx_80211.h" | 27 | #include "wl12xx_80211.h" |
28 | #include "wl1251_acx.h" | 28 | #include "acx.h" |
29 | #include "wl1251_cmd.h" | 29 | #include "cmd.h" |
30 | #include "wl1251_reg.h" | 30 | #include "reg.h" |
31 | 31 | ||
32 | int wl1251_hw_init_hwenc_config(struct wl1251 *wl) | 32 | int wl1251_hw_init_hwenc_config(struct wl1251 *wl) |
33 | { | 33 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_init.h b/drivers/net/wireless/wl1251/init.h index 543f17582ead..543f17582ead 100644 --- a/drivers/net/wireless/wl12xx/wl1251_init.h +++ b/drivers/net/wireless/wl1251/init.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_io.c b/drivers/net/wireless/wl1251/io.c index ad6ca68b303f..cdcadbf6ac2c 100644 --- a/drivers/net/wireless/wl12xx/wl1251_io.c +++ b/drivers/net/wireless/wl1251/io.c | |||
@@ -20,8 +20,8 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "wl1251.h" | 22 | #include "wl1251.h" |
23 | #include "wl1251_reg.h" | 23 | #include "reg.h" |
24 | #include "wl1251_io.h" | 24 | #include "io.h" |
25 | 25 | ||
26 | /* FIXME: this is static data nowadays and the table can be removed */ | 26 | /* FIXME: this is static data nowadays and the table can be removed */ |
27 | static enum wl12xx_acx_int_reg wl1251_io_reg_table[ACX_REG_TABLE_LEN] = { | 27 | static enum wl12xx_acx_int_reg wl1251_io_reg_table[ACX_REG_TABLE_LEN] = { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_io.h b/drivers/net/wireless/wl1251/io.h index c545e9d5f512..c545e9d5f512 100644 --- a/drivers/net/wireless/wl12xx/wl1251_io.h +++ b/drivers/net/wireless/wl1251/io.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl1251/main.c index faf221ca3f41..7a8762553cdc 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl1251/main.c | |||
@@ -31,16 +31,16 @@ | |||
31 | 31 | ||
32 | #include "wl1251.h" | 32 | #include "wl1251.h" |
33 | #include "wl12xx_80211.h" | 33 | #include "wl12xx_80211.h" |
34 | #include "wl1251_reg.h" | 34 | #include "reg.h" |
35 | #include "wl1251_io.h" | 35 | #include "io.h" |
36 | #include "wl1251_cmd.h" | 36 | #include "cmd.h" |
37 | #include "wl1251_event.h" | 37 | #include "event.h" |
38 | #include "wl1251_tx.h" | 38 | #include "tx.h" |
39 | #include "wl1251_rx.h" | 39 | #include "rx.h" |
40 | #include "wl1251_ps.h" | 40 | #include "ps.h" |
41 | #include "wl1251_init.h" | 41 | #include "init.h" |
42 | #include "wl1251_debugfs.h" | 42 | #include "debugfs.h" |
43 | #include "wl1251_boot.h" | 43 | #include "boot.h" |
44 | 44 | ||
45 | void wl1251_enable_interrupts(struct wl1251 *wl) | 45 | void wl1251_enable_interrupts(struct wl1251 *wl) |
46 | { | 46 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_ps.c b/drivers/net/wireless/wl1251/ps.c index 0b997bdfec09..5ed47c8373d2 100644 --- a/drivers/net/wireless/wl12xx/wl1251_ps.c +++ b/drivers/net/wireless/wl1251/ps.c | |||
@@ -19,10 +19,10 @@ | |||
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include "wl1251_reg.h" | 22 | #include "reg.h" |
23 | #include "wl1251_ps.h" | 23 | #include "ps.h" |
24 | #include "wl1251_cmd.h" | 24 | #include "cmd.h" |
25 | #include "wl1251_io.h" | 25 | #include "io.h" |
26 | 26 | ||
27 | /* in ms */ | 27 | /* in ms */ |
28 | #define WL1251_WAKEUP_TIMEOUT 100 | 28 | #define WL1251_WAKEUP_TIMEOUT 100 |
diff --git a/drivers/net/wireless/wl12xx/wl1251_ps.h b/drivers/net/wireless/wl1251/ps.h index e5db81fc1dfc..55c3dda75e69 100644 --- a/drivers/net/wireless/wl12xx/wl1251_ps.h +++ b/drivers/net/wireless/wl1251/ps.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #define __WL1251_PS_H__ | 24 | #define __WL1251_PS_H__ |
25 | 25 | ||
26 | #include "wl1251.h" | 26 | #include "wl1251.h" |
27 | #include "wl1251_acx.h" | 27 | #include "acx.h" |
28 | 28 | ||
29 | int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_cmd_ps_mode mode); | 29 | int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_cmd_ps_mode mode); |
30 | void wl1251_ps_elp_sleep(struct wl1251 *wl); | 30 | void wl1251_ps_elp_sleep(struct wl1251 *wl); |
diff --git a/drivers/net/wireless/wl12xx/wl1251_reg.h b/drivers/net/wireless/wl1251/reg.h index a5809019c5c1..a5809019c5c1 100644 --- a/drivers/net/wireless/wl12xx/wl1251_reg.h +++ b/drivers/net/wireless/wl1251/reg.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_rx.c b/drivers/net/wireless/wl1251/rx.c index 25764592a596..efa53607d5c9 100644 --- a/drivers/net/wireless/wl12xx/wl1251_rx.c +++ b/drivers/net/wireless/wl1251/rx.c | |||
@@ -25,11 +25,11 @@ | |||
25 | #include <net/mac80211.h> | 25 | #include <net/mac80211.h> |
26 | 26 | ||
27 | #include "wl1251.h" | 27 | #include "wl1251.h" |
28 | #include "wl1251_reg.h" | 28 | #include "reg.h" |
29 | #include "wl1251_io.h" | 29 | #include "io.h" |
30 | #include "wl1251_rx.h" | 30 | #include "rx.h" |
31 | #include "wl1251_cmd.h" | 31 | #include "cmd.h" |
32 | #include "wl1251_acx.h" | 32 | #include "acx.h" |
33 | 33 | ||
34 | static void wl1251_rx_header(struct wl1251 *wl, | 34 | static void wl1251_rx_header(struct wl1251 *wl, |
35 | struct wl1251_rx_descriptor *desc) | 35 | struct wl1251_rx_descriptor *desc) |
diff --git a/drivers/net/wireless/wl12xx/wl1251_rx.h b/drivers/net/wireless/wl1251/rx.h index 4448f635a4d8..4448f635a4d8 100644 --- a/drivers/net/wireless/wl12xx/wl1251_rx.h +++ b/drivers/net/wireless/wl1251/rx.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_sdio.c b/drivers/net/wireless/wl1251/sdio.c index 74ba9ced5393..74ba9ced5393 100644 --- a/drivers/net/wireless/wl12xx/wl1251_sdio.c +++ b/drivers/net/wireless/wl1251/sdio.c | |||
diff --git a/drivers/net/wireless/wl12xx/wl1251_spi.c b/drivers/net/wireless/wl1251/spi.c index 320de79667a6..88fa8e69d0d1 100644 --- a/drivers/net/wireless/wl12xx/wl1251_spi.c +++ b/drivers/net/wireless/wl1251/spi.c | |||
@@ -27,8 +27,8 @@ | |||
27 | #include <linux/wl12xx.h> | 27 | #include <linux/wl12xx.h> |
28 | 28 | ||
29 | #include "wl1251.h" | 29 | #include "wl1251.h" |
30 | #include "wl1251_reg.h" | 30 | #include "reg.h" |
31 | #include "wl1251_spi.h" | 31 | #include "spi.h" |
32 | 32 | ||
33 | static irqreturn_t wl1251_irq(int irq, void *cookie) | 33 | static irqreturn_t wl1251_irq(int irq, void *cookie) |
34 | { | 34 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_spi.h b/drivers/net/wireless/wl1251/spi.h index 7dcf3cf7ae40..16d506955cc0 100644 --- a/drivers/net/wireless/wl12xx/wl1251_spi.h +++ b/drivers/net/wireless/wl1251/spi.h | |||
@@ -23,9 +23,9 @@ | |||
23 | #ifndef __WL1251_SPI_H__ | 23 | #ifndef __WL1251_SPI_H__ |
24 | #define __WL1251_SPI_H__ | 24 | #define __WL1251_SPI_H__ |
25 | 25 | ||
26 | #include "wl1251_cmd.h" | 26 | #include "cmd.h" |
27 | #include "wl1251_acx.h" | 27 | #include "acx.h" |
28 | #include "wl1251_reg.h" | 28 | #include "reg.h" |
29 | 29 | ||
30 | #define WSPI_CMD_READ 0x40000000 | 30 | #define WSPI_CMD_READ 0x40000000 |
31 | #define WSPI_CMD_WRITE 0x00000000 | 31 | #define WSPI_CMD_WRITE 0x00000000 |
diff --git a/drivers/net/wireless/wl12xx/wl1251_tx.c b/drivers/net/wireless/wl1251/tx.c index 388492a7f41f..554b4f9a3d3e 100644 --- a/drivers/net/wireless/wl12xx/wl1251_tx.c +++ b/drivers/net/wireless/wl1251/tx.c | |||
@@ -24,10 +24,10 @@ | |||
24 | #include <linux/module.h> | 24 | #include <linux/module.h> |
25 | 25 | ||
26 | #include "wl1251.h" | 26 | #include "wl1251.h" |
27 | #include "wl1251_reg.h" | 27 | #include "reg.h" |
28 | #include "wl1251_tx.h" | 28 | #include "tx.h" |
29 | #include "wl1251_ps.h" | 29 | #include "ps.h" |
30 | #include "wl1251_io.h" | 30 | #include "io.h" |
31 | 31 | ||
32 | static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) | 32 | static bool wl1251_tx_double_buffer_busy(struct wl1251 *wl, u32 data_out_count) |
33 | { | 33 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1251_tx.h b/drivers/net/wireless/wl1251/tx.h index 96011e78cd5a..81338d39b43e 100644 --- a/drivers/net/wireless/wl12xx/wl1251_tx.h +++ b/drivers/net/wireless/wl1251/tx.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #define __WL1251_TX_H__ | 24 | #define __WL1251_TX_H__ |
25 | 25 | ||
26 | #include <linux/bitops.h> | 26 | #include <linux/bitops.h> |
27 | #include "wl1251_acx.h" | 27 | #include "acx.h" |
28 | 28 | ||
29 | /* | 29 | /* |
30 | * | 30 | * |
diff --git a/drivers/net/wireless/wl12xx/wl1251.h b/drivers/net/wireless/wl1251/wl1251.h index e113d4c1fb35..e113d4c1fb35 100644 --- a/drivers/net/wireless/wl12xx/wl1251.h +++ b/drivers/net/wireless/wl1251/wl1251.h | |||
diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig index 4a8bb25c1739..b447559f1db5 100644 --- a/drivers/net/wireless/wl12xx/Kconfig +++ b/drivers/net/wireless/wl12xx/Kconfig | |||
@@ -5,40 +5,6 @@ menuconfig WL12XX | |||
5 | This will enable TI wl12xx driver support. The drivers make | 5 | This will enable TI wl12xx driver support. The drivers make |
6 | use of the mac80211 stack. | 6 | use of the mac80211 stack. |
7 | 7 | ||
8 | config WL1251 | ||
9 | tristate "TI wl1251 support" | ||
10 | depends on WL12XX && GENERIC_HARDIRQS | ||
11 | select FW_LOADER | ||
12 | select CRC7 | ||
13 | ---help--- | ||
14 | This module adds support for wireless adapters based on | ||
15 | TI wl1251 chipset. | ||
16 | |||
17 | If you choose to build a module, it'll be called wl1251. Say | ||
18 | N if unsure. | ||
19 | |||
20 | config WL1251_SPI | ||
21 | tristate "TI wl1251 SPI support" | ||
22 | depends on WL1251 && SPI_MASTER | ||
23 | ---help--- | ||
24 | This module adds support for the SPI interface of adapters using | ||
25 | TI wl1251 chipset. Select this if your platform is using | ||
26 | the SPI bus. | ||
27 | |||
28 | If you choose to build a module, it'll be called wl1251_spi. | ||
29 | Say N if unsure. | ||
30 | |||
31 | config WL1251_SDIO | ||
32 | tristate "TI wl1251 SDIO support" | ||
33 | depends on WL1251 && MMC | ||
34 | ---help--- | ||
35 | This module adds support for the SDIO interface of adapters using | ||
36 | TI wl1251 chipset. Select this if your platform is using | ||
37 | the SDIO bus. | ||
38 | |||
39 | If you choose to build a module, it'll be called | ||
40 | wl1251_sdio. Say N if unsure. | ||
41 | |||
42 | config WL1271 | 8 | config WL1271 |
43 | tristate "TI wl1271 support" | 9 | tristate "TI wl1271 support" |
44 | depends on WL12XX && GENERIC_HARDIRQS | 10 | depends on WL12XX && GENERIC_HARDIRQS |
diff --git a/drivers/net/wireless/wl12xx/Makefile b/drivers/net/wireless/wl12xx/Makefile index 0d334d6f86f4..3a807444b2af 100644 --- a/drivers/net/wireless/wl12xx/Makefile +++ b/drivers/net/wireless/wl12xx/Makefile | |||
@@ -1,12 +1,3 @@ | |||
1 | wl1251-objs = wl1251_main.o wl1251_event.o \ | ||
2 | wl1251_tx.o wl1251_rx.o wl1251_ps.o wl1251_cmd.o \ | ||
3 | wl1251_acx.o wl1251_boot.o wl1251_init.o \ | ||
4 | wl1251_debugfs.o wl1251_io.o | ||
5 | |||
6 | obj-$(CONFIG_WL1251) += wl1251.o | ||
7 | obj-$(CONFIG_WL1251_SPI) += wl1251_spi.o | ||
8 | obj-$(CONFIG_WL1251_SDIO) += wl1251_sdio.o | ||
9 | |||
10 | wl1271-objs = wl1271_main.o wl1271_cmd.o wl1271_io.o \ | 1 | wl1271-objs = wl1271_main.o wl1271_cmd.o wl1271_io.o \ |
11 | wl1271_event.o wl1271_tx.o wl1271_rx.o \ | 2 | wl1271_event.o wl1271_tx.o wl1271_rx.o \ |
12 | wl1271_ps.o wl1271_acx.o wl1271_boot.o \ | 3 | wl1271_ps.o wl1271_acx.o wl1271_boot.o \ |