summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-13 21:56:18 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-13 21:56:18 +0000
commitfa3c51dade1a107a3d5a1618918d92b14e6c4be1 (patch)
tree412403cafa2e2ec9305b0a5d37579ac49270bc9d
parent912f0d3ea02874cf2c8d133d83d6afd77935f7de (diff)
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 000000000..fb510ad9b
--- /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 000000000..395a87af6
--- /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