Skip to content

Commit 1032c73

Browse files
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Conflicts: drivers/net/wireless/b43legacy/dma.c
2 parents 117ff42 + cb00ec3 commit 1032c73

68 files changed

Lines changed: 1178 additions & 2113 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/net/wireless/ath/ath5k/trace.h‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
#include <linux/tracepoint.h>
55

6-
#ifndef CONFIG_ATH5K_TRACER
6+
7+
#if !defined(CONFIG_ATH5K_TRACER) || defined(__CHECKER__)
78
#undef TRACE_EVENT
89
#define TRACE_EVENT(name, proto, ...) \
910
static inline void trace_ ## name(proto) {}
@@ -93,7 +94,7 @@ TRACE_EVENT(ath5k_tx_complete,
9394

9495
#endif /* __TRACE_ATH5K_H */
9596

96-
#ifdef CONFIG_ATH5K_TRACER
97+
#if defined(CONFIG_ATH5K_TRACER) && !defined(__CHECKER__)
9798

9899
#undef TRACE_INCLUDE_PATH
99100
#define TRACE_INCLUDE_PATH ../../drivers/net/wireless/ath/ath5k

‎drivers/net/wireless/ath/ath6kl/Kconfig‎

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,12 @@
11
config ATH6KL
2-
tristate "Atheros mobile chipsets support"
3-
4-
config ATH6KL_SDIO
5-
tristate "Atheros ath6kl SDIO support"
6-
depends on ATH6KL
2+
tristate "Atheros ath6kl support"
73
depends on MMC
84
depends on CFG80211
95
---help---
106
This module adds support for wireless adapters based on
11-
Atheros AR6003 and AR6004 chipsets running over SDIO. If you
12-
choose to build it as a module, it will be called ath6kl_sdio.
13-
Please note that AR6002 and AR6001 are not supported by this
14-
driver.
15-
16-
config ATH6KL_USB
17-
tristate "Atheros ath6kl USB support"
18-
depends on ATH6KL
19-
depends on USB
20-
depends on CFG80211
21-
depends on EXPERIMENTAL
22-
---help---
23-
This module adds support for wireless adapters based on
24-
Atheros AR6004 chipset running over USB. This is still under
25-
implementation and it isn't functional. If you choose to
26-
build it as a module, it will be called ath6kl_usb.
7+
Atheros AR6003 chipset running over SDIO. If you choose to
8+
build it as a module, it will be called ath6kl. Pls note
9+
that AR6002 and AR6001 are not supported by this driver.
2710

2811
config ATH6KL_DEBUG
2912
bool "Atheros ath6kl debugging"

‎drivers/net/wireless/ath/ath6kl/Makefile‎

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,17 @@
2121
# Author(s): ="Atheros"
2222
#------------------------------------------------------------------------------
2323

24-
obj-$(CONFIG_ATH6KL_SDIO) := ath6kl_sdio.o
25-
ath6kl_sdio-y += debug.o
26-
ath6kl_sdio-y += hif.o
27-
ath6kl_sdio-y += htc.o
28-
ath6kl_sdio-y += bmi.o
29-
ath6kl_sdio-y += cfg80211.o
30-
ath6kl_sdio-y += init.o
31-
ath6kl_sdio-y += main.o
32-
ath6kl_sdio-y += txrx.o
33-
ath6kl_sdio-y += wmi.o
34-
ath6kl_sdio-y += sdio.o
35-
ath6kl_sdio-$(CONFIG_NL80211_TESTMODE) += testmode.o
36-
37-
obj-$(CONFIG_ATH6KL_USB) += ath6kl_usb.o
38-
ath6kl_usb-y += debug.o
39-
ath6kl_usb-y += hif.o
40-
ath6kl_usb-y += htc.o
41-
ath6kl_usb-y += bmi.o
42-
ath6kl_usb-y += cfg80211.o
43-
ath6kl_usb-y += init.o
44-
ath6kl_usb-y += main.o
45-
ath6kl_usb-y += txrx.o
46-
ath6kl_usb-y += wmi.o
47-
ath6kl_usb-y += usb.o
48-
ath6kl_usb-$(CONFIG_NL80211_TESTMODE) += testmode.o
24+
obj-$(CONFIG_ATH6KL) := ath6kl.o
25+
ath6kl-y += debug.o
26+
ath6kl-y += hif.o
27+
ath6kl-y += htc.o
28+
ath6kl-y += bmi.o
29+
ath6kl-y += cfg80211.o
30+
ath6kl-y += init.o
31+
ath6kl-y += main.o
32+
ath6kl-y += txrx.o
33+
ath6kl-y += wmi.o
34+
ath6kl-y += sdio.o
35+
ath6kl-$(CONFIG_NL80211_TESTMODE) += testmode.o
4936

5037
ccflags-y += -D__CHECK_ENDIAN__

‎drivers/net/wireless/ath/ath6kl/bmi.c‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,8 @@ int ath6kl_bmi_get_target_info(struct ath6kl *ar,
5757
return ret;
5858
}
5959

60-
if (ar->hif_type == ATH6KL_HIF_TYPE_USB) {
61-
ret = ath6kl_hif_bmi_read(ar, (u8 *)targ_info,
62-
sizeof(*targ_info));
63-
} else {
64-
ret = ath6kl_hif_bmi_read(ar, (u8 *)&targ_info->version,
65-
sizeof(targ_info->version));
66-
}
67-
60+
ret = ath6kl_hif_bmi_read(ar, (u8 *)&targ_info->version,
61+
sizeof(targ_info->version));
6862
if (ret) {
6963
ath6kl_err("Unable to recv target info: %d\n", ret);
7064
return ret;

‎drivers/net/wireless/ath/ath6kl/debug.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ enum ATH6K_DEBUG_MASK {
4141
ATH6KL_DBG_BOOT = BIT(18), /* driver init and fw boot */
4242
ATH6KL_DBG_WMI_DUMP = BIT(19),
4343
ATH6KL_DBG_SUSPEND = BIT(20),
44-
ATH6KL_DBG_USB = BIT(21),
4544
ATH6KL_DBG_ANY = 0xffffffff /* enable all logs */
4645
};
4746

‎drivers/net/wireless/ath/ath6kl/hif.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,11 +689,6 @@ int ath6kl_hif_setup(struct ath6kl_device *dev)
689689
ath6kl_dbg(ATH6KL_DBG_HIF, "hif block size %d mbox addr 0x%x\n",
690690
dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr);
691691

692-
/* usb doesn't support enabling interrupts */
693-
/* FIXME: remove check once USB support is implemented */
694-
if (dev->ar->hif_type == ATH6KL_HIF_TYPE_USB)
695-
return 0;
696-
697692
status = ath6kl_hif_disable_intrs(dev);
698693

699694
fail_setup:

‎drivers/net/wireless/ath/ath6kl/htc.c‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,12 +2543,6 @@ int ath6kl_htc_wait_target(struct htc_target *target)
25432543
struct htc_service_connect_resp resp;
25442544
int status;
25452545

2546-
/* FIXME: remove once USB support is implemented */
2547-
if (target->dev->ar->hif_type == ATH6KL_HIF_TYPE_USB) {
2548-
ath6kl_err("HTC doesn't support USB yet. Patience!\n");
2549-
return -EOPNOTSUPP;
2550-
}
2551-
25522546
/* we should be getting 1 control message that the target is ready */
25532547
packet = htc_wait_for_ctrl_msg(target);
25542548

@@ -2778,9 +2772,7 @@ void ath6kl_htc_cleanup(struct htc_target *target)
27782772
{
27792773
struct htc_packet *packet, *tmp_packet;
27802774

2781-
/* FIXME: remove check once USB support is implemented */
2782-
if (target->dev->ar->hif_type != ATH6KL_HIF_TYPE_USB)
2783-
ath6kl_hif_cleanup_scatter(target->dev->ar);
2775+
ath6kl_hif_cleanup_scatter(target->dev->ar);
27842776

27852777
list_for_each_entry_safe(packet, tmp_packet,
27862778
&target->free_ctrl_txbuf, list) {

‎drivers/net/wireless/ath/ath6kl/sdio.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ static const struct sdio_device_id ath6kl_sdio_devices[] = {
13321332
MODULE_DEVICE_TABLE(sdio, ath6kl_sdio_devices);
13331333

13341334
static struct sdio_driver ath6kl_sdio_driver = {
1335-
.name = "ath6kl_sdio",
1335+
.name = "ath6kl",
13361336
.id_table = ath6kl_sdio_devices,
13371337
.probe = ath6kl_sdio_probe,
13381338
.remove = ath6kl_sdio_remove,

0 commit comments

Comments
 (0)