Patch für zd1211/zd1211B von http://zd1211.ath.cx

Waldemar Wetzel ubuntu at nex2go.de
Fre Feb 2 17:14:30 GMT 2007


Fount under http://www.fedorawiki.de.
Patch ist ab der Kernel ver. 2.6.18 notwendig!

Ich hoffe das ich damit einigen Usern helfen konnte.


diff -Naur src/zd1205.c src/zd1205.c
--- src/zd1205.c	2006-07-09 11:55:08.000000000 +0200
+++ src/zd1205.c	2007-01-22 11:48:58.000000000 +0100
@@ -31,7 +31,7 @@
  * -------------------------------------------------------------------- */
  #define __KERNEL_SYSCALLS__

-#include <linux/config.h>
+#include <linux/autoconf.h>
  #include <net/checksum.h>
  #include <linux/tcp.h>
  #include <linux/udp.h>
diff -Naur src/zd1205_proc.c src/zd1205_proc.c
--- src/zd1205_proc.c	2006-02-13 13:50:12.000000000 +0100
+++ src/zd1205_proc.c	2007-01-22 11:49:08.000000000 +0100
@@ -30,7 +30,7 @@
  *
  * -------------------------------------------------------------------- */

-#include <linux/config.h>
+#include <linux/autoconf.h>

  #ifdef CONFIG_PROC_FS
  #include "zd1205.h"
diff -Naur src/zd1211.c src/zd1211.c
--- src/zd1211.c	2006-06-16 12:35:59.000000000 +0200
+++ src/zd1211.c	2007-01-22 11:49:20.000000000 +0100
@@ -30,7 +30,7 @@
  *
  * -------------------------------------------------------------------- */

-#include <linux/config.h>
+#include <linux/autoconf.h>
  #include <net/checksum.h>
  #include <linux/tcp.h>
  #include <linux/udp.h>
@@ -1887,13 +1887,13 @@
          dev->hard_start_xmit = zd1205_xmit_frame;
          dev->set_multicast_list = zd1205_set_multi;
          dev->get_stats = zd1205_get_stats;
-#if ZDCONF_WE_STAT_SUPPORT == 1
+/*#if ZDCONF_WE_STAT_SUPPORT == 1

          dev->get_wireless_stats = zd1205_iw_getstats;
  #elif !defined(ZDCONF_WE_STAT_SUPPORT)
  	#error "Undefine ZDCONF_WE_STAT_SUPPORT"
  #endif
-
+*/
          dev->mtu = ZD1211_MTU;
          dev->set_mac_address = zd1205_set_mac;
          dev->tx_timeout = &zd1211_tx_timeout;

-- 
+--------------------------------------+
|  Nex2Go - Solution Center            |
|  Geldernsche Str.89                  |
|  47798 Krefeld                       |
+--------------------------------------+
|  Homepage: http://www.nex2go.de      |
|  Support: http://support.nex2go.de   |
+--------------------------------------+
|  Telefon: +49 (0) 1805 / 867077199   |
|  Fax: +49 (0) 1805 / 867077854       |
+--------------------------------------+




-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-keys
Dateigröße  : 1828 bytes
Beschreibung: =?utf-8?b?w5ZmZmVudGxpY2hlciA=?=
	=?utf-8?b?UEdQLVNjaGzDvHNzZWw=?=
URL         : https://lists.ubuntu.com/archives/ubuntu-de/attachments/20070202/c8f8e156/attachment.key