mt76: update to the latest version, enable MT7603 support (very basic, needs testing...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 28 Feb 2016 09:55:18 +0000 (09:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 28 Feb 2016 09:55:18 +0000 (09:55 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48811

package/kernel/mt76/Makefile

index c098832233629f91b33324b96e90906b8a1c85f4..69d2a604ea17801a8a73dea38f116436819ba5a6 100644 (file)
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mt76
-PKG_VERSION:=2016-02-08
+PKG_VERSION:=2016-02-28
 PKG_RELEASE=1
 
 PKG_LICENSE:=GPLv2
@@ -10,7 +10,7 @@ PKG_LICENSE_FILES:=
 PKG_SOURCE_URL:=https://github.com/openwrt/mt76
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=84a312645c7b805255e6d7b6191e9f62142985d9
+PKG_SOURCE_VERSION:=f2add7b2f0291675331229ba12f1cac7494c7ec0
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
@@ -21,12 +21,13 @@ include $(INCLUDE_DIR)/package.mk
 
 define KernelPackage/mt76
   SUBMENU:=Wireless Drivers
-  TITLE:=MediaTek MT76x2 wireless driver
+  TITLE:=MediaTek MT76x2/MT7603 wireless driver
   DEPENDS:=+kmod-mac80211 +@DRIVER_11N_SUPPORT @PCI_SUPPORT
   FILES:=\
        $(PKG_BUILD_DIR)/mt76.ko \
-       $(PKG_BUILD_DIR)/mt76x2e.ko
-  AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76 mt76x2e)
+       $(PKG_BUILD_DIR)/mt76x2e.ko \
+       $(PKG_BUILD_DIR)/mt7603e.ko
+  AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76 mt76x2e mt7603e)
 endef
 
 NOSTDINC_FLAGS = \
@@ -54,6 +55,8 @@ endef
 define KernelPackage/mt76/install
        $(INSTALL_DIR) $(1)/lib/firmware
        cp \
+               $(PKG_BUILD_DIR)/firmware/mt7603_e1.bin \
+               $(PKG_BUILD_DIR)/firmware/mt7603_e2.bin \
                $(PKG_BUILD_DIR)/firmware/mt7662_rom_patch.bin \
                $(PKG_BUILD_DIR)/firmware/mt7662.bin \
                $(1)/lib/firmware