procd: make mDNS TXT record parsing more solid
[openwrt/openwrt.git] / package / kernel / mt7621-qtn-rgmii / Makefile
1 #
2 # Copyright (C) 2020 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 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=mt7621-qtn-rgmii
12 PKG_RELEASE:=1
13 PKG_LICENSE:=GPL-2.0
14
15 PKG_MAINTAINER:=Bjørn Mork <bjorn@mork.no>
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define KernelPackage/mt7621-qtn-rgmii
20 SECTION:=kernel
21 SUBMENU:=Other modules
22 TITLE:=Enable RGMII connected Quantenna module on MT7621
23 DEPENDS:=@TARGET_ramips_mt7621
24 HIDDEN:=1
25 FILES:=$(PKG_BUILD_DIR)/mt7621-qtn-rgmii.ko
26 AUTOLOAD:=$(call AutoLoad,30,mt7621-qtn-rgmii,1)
27 endef
28
29 define KernelPackage/mt7621-qtn-rgmii/description
30 Enable RGMII connected Quantenna module on MT7621.
31
32 The Mitrastar designed ZyXEL WAP6805 has a Quantenna QV840
33 module connected to the RGMII pins of the MT7621 SoC. For
34 unknown reasons, it is necessary to change the value of
35 the register at 0x1e110008 from default (usually 0xc000c)
36 to 0x9000c for this connection wo work.
37
38 This driver simply does that without much fuzz.
39 endef
40
41 define Build/Compile
42 $(KERNEL_MAKE) M=$(PKG_BUILD_DIR) modules
43 endef
44
45 $(eval $(call KernelPackage,mt7621-qtn-rgmii))