diff options
author | John Crispin <john@openwrt.org> | 2007-06-13 21:56:18 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2007-06-13 21:56:18 +0000 |
commit | 858653c8e955a255eb2cbf270cbaa1e6f198081a (patch) | |
tree | 97db34e3085a9845e53c6aad06cf6c479197d9b6 | |
parent | 7c9959a5a2a77742c1cad796206a2c9ec5bd7883 (diff) | |
download | upstream-858653c8e955a255eb2cbf270cbaa1e6f198081a.tar.gz upstream-858653c8e955a255eb2cbf270cbaa1e6f198081a.tar.bz2 upstream-858653c8e955a255eb2cbf270cbaa1e6f198081a.zip |
Added package to load zydas1211 firmware
SVN-Revision: 7626
-rw-r--r-- | package/zd1211_firmware/Makefile | 41 | ||||
-rw-r--r-- | target/linux/etrax-2.6/patches/generic_2.6/905-zydas-zyxel.patch | 18 |
2 files changed, 59 insertions, 0 deletions
diff --git a/package/zd1211_firmware/Makefile b/package/zd1211_firmware/Makefile new file mode 100644 index 0000000000..fb510ad9bc --- /dev/null +++ b/package/zd1211_firmware/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id: Makefile 6582 2007-03-16 20:21:39Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=zd1211-firmware +PKG_VERSION:=1.3 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) + +PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://downloads.sourceforge.net/zd1211/ +PKG_MD5SUM:=cfff76ea35f4f93c37f6c99aa2058140 + +include $(INCLUDE_DIR)/package.mk + +define Package/zd1211-firmware + SECTION:=net + CATEGORY:=Network + TITLE:=zd1211 wifi firmware + DESCRIPTION:=\ + This package contains firmware needed to run a zd1211 wifi stick with the rw driver +endef + +define Package/zd1211-firmware/install + $(INSTALL_DIR) $(PKG_INSTALL_DIR)/lib/firmware/zd1211/ + $(INSTALL_DIR) $(1)/lib/firmware/zd1211/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/zd* $(PKG_INSTALL_DIR)/lib/firmware/zd1211/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/zd* $(1)/lib/firmware/zd1211/ +endef + +define Build/Compile +endef + +$(eval $(call BuildPackage,zd1211-firmware)) diff --git a/target/linux/etrax-2.6/patches/generic_2.6/905-zydas-zyxel.patch b/target/linux/etrax-2.6/patches/generic_2.6/905-zydas-zyxel.patch new file mode 100644 index 0000000000..395a87af68 --- /dev/null +++ b/target/linux/etrax-2.6/patches/generic_2.6/905-zydas-zyxel.patch @@ -0,0 +1,18 @@ +diff -urN linux-2.6.19.2.orig/drivers/net/wireless/zd1211rw/zd_usb.c linux-2.6.19.2/drivers/net/wireless/zd1211rw/zd_usb.c +--- linux-2.6.19.2.orig/drivers/net/wireless/zd1211rw/zd_usb.c 2007-06-13 23:14:44.000000000 +0200 ++++ linux-2.6.19.2/drivers/net/wireless/zd1211rw/zd_usb.c 2007-06-13 23:19:51.000000000 +0200 +@@ -47,11 +47,13 @@ + { USB_DEVICE(0x0586, 0x3402), .driver_info = DEVICE_ZD1211 }, + { USB_DEVICE(0x0b3b, 0x5630), .driver_info = DEVICE_ZD1211 }, + { USB_DEVICE(0x0b05, 0x170c), .driver_info = DEVICE_ZD1211 }, ++ { USB_DEVICE(0x0586, 0x3401), .driver_info = DEVICE_ZD1211 }, + /* ZD1211B */ + { USB_DEVICE(0x0ace, 0x1215), .driver_info = DEVICE_ZD1211B }, + { USB_DEVICE(0x157e, 0x300d), .driver_info = DEVICE_ZD1211B }, + { USB_DEVICE(0x079b, 0x0062), .driver_info = DEVICE_ZD1211B }, + { USB_DEVICE(0x1582, 0x6003), .driver_info = DEVICE_ZD1211B }, ++ + /* "Driverless" devices that need ejecting */ + { USB_DEVICE(0x0ace, 0x2011), .driver_info = DEVICE_INSTALLER }, + {} +Binary files linux-2.6.19.2.orig/drivers/net/wireless/zd1211rw/.zd_usb.c.swp and linux-2.6.19.2/drivers/net/wireless/zd1211rw/.zd_usb.c.swp differ |