--- /dev/null
+#
+# Copyright (C) 2006-2008 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+WIRELESS_MENU:=Wireless Drivers
+
+define KernelPackage/owl-loader
+ SUBMENU:=$(WIRELESS_MENU)
+ TITLE:=Owl loader for initializing Atheros PCI(e) Wifi chips
+ DEPENDS:=@PCI_SUPPORT
+ KCONFIG:=CONFIG_OWL_LOADER
+ FILES:=$(LINUX_DIR)/drivers/misc/owl-loader.ko
+ AUTOLOAD:=$(call AutoProbe,owl-loader)
+endef
+
+define KernelPackage/owl-loader/description
+ Kernel module that helps to initialize certain Qualcomm
+ Atheros' PCI(e) Wifi chips, which have the init data
+ (which contains the PCI device ID for example) stored
+ together with the calibration data in the file system.
+
+ This is necessary for devices like the Cisco Meraki Z1.
+endef
+
+$(eval $(call KernelPackage,owl-loader))
DEFAULT_PACKAGES += \
kmod-gpio-button-hotplug swconfig \
- kmod-ath9k uboot-envtools
+ kmod-ath9k uboot-envtools kmod-owl-loader
$(eval $(call BuildTarget))
ath9k0: wifi@0,11 {
compatible = "pci168c,0029";
- reg = <0x8800 0 0 0 0x10000>;
+ reg = <0x8800 0 0 0 0>;
mtd-mac-address = <&art 0x0>;
qca,no-eeprom;
#gpio-cells = <2>;
ath9k1: wifi@0,12 {
compatible = "pci168c,0029";
- reg = <0x9000 0 0 0 0x10000>;
+ reg = <0x9000 0 0 0 0>;
mtd-mac-address = <&art 0xc>;
qca,no-eeprom;
#gpio-cells = <2>;