aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2007-06-13 21:56:18 +0000
committerJohn Crispin <blogic@openwrt.org>2007-06-13 21:56:18 +0000
commite83f9a41496a0f06cdcda4e48ba3bd419b75e6f2 (patch)
tree412403cafa2e2ec9305b0a5d37579ac49270bc9d
parent3d3346bad12145fcf90d9a00e14a1233dfe9f6f3 (diff)
downloadupstream-e83f9a41496a0f06cdcda4e48ba3bd419b75e6f2.tar.gz
upstream-e83f9a41496a0f06cdcda4e48ba3bd419b75e6f2.tar.bz2
upstream-e83f9a41496a0f06cdcda4e48ba3bd419b75e6f2.zip
Added package to load zydas1211 firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7626 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/zd1211_firmware/Makefile41
-rw-r--r--target/linux/etrax-2.6/patches/generic_2.6/905-zydas-zyxel.patch18
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