Added package to load zydas1211 firmware
SVN-Revision: 7626
This commit is contained in:
parent
7c9959a5a2
commit
858653c8e9
41
package/zd1211_firmware/Makefile
Normal file
41
package/zd1211_firmware/Makefile
Normal file
@ -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))
|
@ -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
|
Loading…
Reference in New Issue
Block a user