/[gentoo-x86]/net-wireless/rtl8180/files/rtl8180-2.6.20.patch
Gentoo

Contents of /net-wireless/rtl8180/files/rtl8180-2.6.20.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed May 9 20:15:51 2007 UTC (12 years, 10 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Fix for newer kernels thanks to many people in bug 160058
(Portage version: 2.1.2.7)

1 Files rtl8180-0.22_pre20050528.orig/ieee80211_crypt.o and rtl8180-0.22_pre20050528/ieee80211_crypt.o differ
2 diff -Nurp rtl8180-0.22_pre20050528.orig/ieee80211_crypt_wep.c rtl8180-0.22_pre20050528/ieee80211_crypt_wep.c
3 --- rtl8180-0.22_pre20050528.orig/ieee80211_crypt_wep.c 2007-02-08 23:39:39.000000000 +0000
4 +++ rtl8180-0.22_pre20050528/ieee80211_crypt_wep.c 2007-02-08 23:42:48.000000000 +0000
5 @@ -23,6 +23,7 @@
6 #include <linux/slab.h>
7 #include <linux/random.h>
8 #include <linux/skbuff.h>
9 +#include <linux/mm.h>
10 #include <asm/string.h>
11
12 #include "ieee80211.h"
13 Files rtl8180-0.22_pre20050528.orig/ieee80211_module.o and rtl8180-0.22_pre20050528/ieee80211_module.o differ
14 Files rtl8180-0.22_pre20050528.orig/ieee80211_rx.o and rtl8180-0.22_pre20050528/ieee80211_rx.o differ
15 Files rtl8180-0.22_pre20050528.orig/ieee80211_tx.o and rtl8180-0.22_pre20050528/ieee80211_tx.o differ
16 Files rtl8180-0.22_pre20050528.orig/ieee80211_wx.o and rtl8180-0.22_pre20050528/ieee80211_wx.o differ
17 diff -Nurp rtl8180-0.22_pre20050528.orig/r8180_core.c rtl8180-0.22_pre20050528/r8180_core.c
18 --- rtl8180-0.22_pre20050528.orig/r8180_core.c 2007-02-08 23:39:39.000000000 +0000
19 +++ rtl8180-0.22_pre20050528/r8180_core.c 2007-02-08 23:42:25.000000000 +0000
20 @@ -2838,8 +2838,11 @@ short rtl8180_init(struct net_device *de
21 priv->workqueue = create_workqueue(DRV_NAME);
22 #endif
23
24 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
25 INIT_WORK(&priv->IBSS_work,(void(*)(void*)) rtl8180_IBSS_create_wq,dev);
26 -
27 +#else
28 + INIT_WORK(&priv->IBSS_work,dev);
29 +#endif
30 tasklet_init(&priv->irq_rx_tasklet,
31 (void(*)(unsigned long)) rtl8180_irq_rx_tasklet,
32 (unsigned long)priv);

  ViewVC Help
Powered by ViewVC 1.1.20