kernel: let kmod-rtl8366-smi conditionally depend on kmod-of-mdio
[oweals/openwrt.git] / package / kernel / linux / modules / wireless.mk
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 WIRELESS_MENU:=Wireless Drivers
9
10 define KernelPackage/net-prism54
11   SUBMENU:=$(WIRELESS_MENU)
12   TITLE:=Intersil Prism54 support
13   DEPENDS:=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT +prism54-firmware
14   KCONFIG:=CONFIG_PRISM54
15   FILES:= \
16         $(LINUX_DIR)/drivers/net/wireless/prism54/prism54.ko@lt4.5 \
17         $(LINUX_DIR)/drivers/net/wireless/intersil/prism54/prism54.ko@ge4.5
18   AUTOLOAD:=$(call AutoProbe,prism54)
19 endef
20
21 define KernelPackage/net-prism54/description
22  Kernel modules for Intersil Prism54 support
23 endef
24
25 $(eval $(call KernelPackage,net-prism54))
26
27
28 define KernelPackage/net-rtl8192su
29   SUBMENU:=$(WIRELESS_MENU)
30   TITLE:=RTL8192SU support (staging)
31   DEPENDS:=@USB_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-usb-core +rtl8192su-firmware
32   KCONFIG:=\
33         CONFIG_STAGING=y \
34         CONFIG_R8712U
35   FILES:=$(LINUX_DIR)/drivers/staging/rtl8712/r8712u.ko
36   AUTOLOAD:=$(call AutoProbe,r8712u)
37 endef
38
39 define KernelPackage/net-rtl8192su/description
40  Kernel modules for RealTek RTL8712 and RTL81XXSU fullmac support.
41 endef
42
43 $(eval $(call KernelPackage,net-rtl8192su))
44
45
46 define KernelPackage/owl-loader
47   SUBMENU:=$(WIRELESS_MENU)
48   TITLE:=Owl loader for initializing Atheros PCI(e) Wifi chips
49   DEPENDS:=@PCI_SUPPORT
50   KCONFIG:=CONFIG_OWL_LOADER
51   FILES:=$(LINUX_DIR)/drivers/misc/owl-loader.ko
52   AUTOLOAD:=$(call AutoProbe,owl-loader)
53 endef
54
55 define KernelPackage/owl-loader/description
56   Kernel module that helps to initialize certain Qualcomm
57   Atheros' PCI(e) Wifi chips, which have the init data
58   (which contains the PCI device ID for example) stored
59   together with the calibration data in the file system.
60
61   This is necessary for devices like the Cisco Meraki Z1.
62 endef
63
64 $(eval $(call KernelPackage,owl-loader))