ath6kl is now in the kernel main area and not in staging any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/bcma/ drivers/misc/eeprom/
ifeq ($(CONFIG_STAGING_EXCLUDE_BUILD),)
-obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/ath6kl/
obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/brcm80211/
endif
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_MRVL_SDIO=m
+ifndef CONFIG_COMPAT_KERNEL_2_6_27
+CONFIG_ATH6KL=m
+# CONFIG_ATH6KL_DEBUG=y
+endif #CONFIG_COMPAT_KERNEL_2_6_27
+
ifdef CONFIG_COMPAT_STAGING
ifdef CONFIG_WIRELESS_EXT
-# CONFIG_ATH6KL_DISABLE_TARGET_DBGLOGS is not set
-# CONFIG_ATH6KL_ENABLE_COEXISTENCE is not set
-# CONFIG_ATH6KL_ENABLE_HOST_DEBUG is not set
-CONFIG_ATH6KL_ENABLE_TARGET_DEBUG_PRINTS=y
-# CONFIG_ATH6KL_HCI_BRIDGE is not set
-# CONFIG_ATH6KL_HTC_RAW_INTERFACE is not set
-# CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK is not set
-CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER=y
-CONFIG_ATH6K_LEGACY=m
CONFIG_BRCMFMAC=m
endif #CONFIG_WIRELESS_EXT
endif #CONFIG_COMPAT_STAGING
-
endif #CONFIG_MMC
CONFIG_RTLWIFI=m
net->watchdog_timeo = TX_TIMEOUT_JIFFIES;
net->ethtool_ops = &usbnet_ethtool_ops;
+--- a/drivers/net/wireless/ath/ath6kl/main.c
++++ b/drivers/net/wireless/ath/ath6kl/main.c
+@@ -1325,7 +1325,7 @@ static struct net_device_ops ath6kl_netd
+
+ void init_netdev(struct net_device *dev)
+ {
+- dev->netdev_ops = &ath6kl_netdev_ops;
++ netdev_attach_ops(dev, &ath6kl_netdev_ops);
+ dev->watchdog_timeo = ATH6KL_TX_TIMEOUT;
+
+ dev->needed_headroom = ETH_HLEN;
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
@@ -3439,7 +3439,7 @@ static int rndis_wlan_bind(struct usbnet
wdev->netdev = ndev;
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
-@@ -836,7 +836,7 @@ struct lbs_private *lbs_add_card(void *c
+@@ -916,7 +916,7 @@ struct lbs_private *lbs_add_card(void *c
wdev->netdev = dev;
priv->dev = dev;
dev->flags |= IFF_BROADCAST | IFF_MULTICAST;
--- a/drivers/net/wireless/libertas/mesh.c
+++ b/drivers/net/wireless/libertas/mesh.c
-@@ -1011,7 +1011,7 @@ static int lbs_add_mesh(struct lbs_priva
+@@ -1018,7 +1018,7 @@ static int lbs_add_mesh(struct lbs_priva
mesh_dev->ieee80211_ptr = mesh_wdev;
priv->mesh_dev = mesh_dev;
#define LBS_DEB_LEAVE 0x00000002
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
-@@ -1230,7 +1230,7 @@ static const struct net_device_ops hwsim
+@@ -1236,7 +1236,7 @@ static const struct net_device_ops hwsim
static void hwsim_mon_setup(struct net_device *dev)
{
+++ /dev/null
---- a/drivers/staging/ath6kl/os/linux/ar6000_drv.c
-+++ b/drivers/staging/ath6kl/os/linux/ar6000_drv.c
-@@ -317,12 +317,20 @@ static void ar6000_refill_amsdu_rxbufs(s
- static void ar6000_cleanup_amsdu_rxbufs(struct ar6_softc *ar);
-
- static ssize_t
-+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,34))
- ar6000_sysfs_bmi_read(struct file *fp, struct kobject *kobj,
-+#else
-+ar6000_sysfs_bmi_read(struct kobject *kobj,
-+#endif
- struct bin_attribute *bin_attr,
- char *buf, loff_t pos, size_t count);
-
- static ssize_t
-+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,34))
- ar6000_sysfs_bmi_write(struct file *fp, struct kobject *kobj,
-+#else
-+ar6000_sysfs_bmi_write(struct kobject *kobj,
-+#endif
- struct bin_attribute *bin_attr,
- char *buf, loff_t pos, size_t count);
-
-@@ -755,7 +763,11 @@ static struct bin_attribute bmi_attr = {
- };
-
- static ssize_t
-+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,34))
- ar6000_sysfs_bmi_read(struct file *fp, struct kobject *kobj,
-+#else
-+ar6000_sysfs_bmi_read(struct kobject *kobj,
-+#endif
- struct bin_attribute *bin_attr,
- char *buf, loff_t pos, size_t count)
- {
-@@ -782,7 +794,11 @@ ar6000_sysfs_bmi_read(struct file *fp, s
- }
-
- static ssize_t
-+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,34))
- ar6000_sysfs_bmi_write(struct file *fp, struct kobject *kobj,
-+#else
-+ar6000_sysfs_bmi_write(struct kobject *kobj,
-+#endif
- struct bin_attribute *bin_attr,
- char *buf, loff_t pos, size_t count)
- {
DRIVERS="drivers/net/wireless/ath"
DRIVERS="$DRIVERS drivers/net/wireless/ath/carl9170"
DRIVERS="$DRIVERS drivers/net/wireless/ath/ath5k"
+DRIVERS="$DRIVERS drivers/net/wireless/ath/ath6kl"
DRIVERS="$DRIVERS drivers/net/wireless/ath/ath9k"
DRIVERS="$DRIVERS drivers/ssb"
DRIVERS="$DRIVERS drivers/bcma"
DRIVERS="$DRIVERS drivers/net/wireless/mwifiex"
# Staging drivers
-STAGING_DRIVERS="drivers/staging/ath6kl"
-STAGING_DRIVERS="$STAGING_DRIVERS drivers/staging/brcm80211"
+STAGING_DRIVERS="drivers/staging/brcm80211"
# Ethernet drivers
DRIVERS="$DRIVERS drivers/net/atl1c"