Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 790ab10ed7a5c7c343f25b7478107604 > files > 3

dkms-rtl8187se-1016.20080716-1mdv2009.0.src.rpm

Fix rtl8187se for asm/semaphore.h removal on linux 2.6.27

Already fixed also by Blino and others:
http://people.mandriva.com/~blino/rtl8187se_linux_26.1016.0716.2008-2.6.27.patch
http://geekshell.org/~madx/patch_rtl8187se_2.6.27

diff -p -up rtl8187se_linux_26.1016.0716.2008/rtl8185/r8180.h.orig rtl8187se_linux_26.1016.0716.2008/rtl8185/r8180.h
--- rtl8187se_linux_26.1016.0716.2008/rtl8185/r8180.h.orig	2008-09-17 15:05:25.000000000 -0300
+++ rtl8187se_linux_26.1016.0716.2008/rtl8185/r8180.h	2008-09-17 15:05:35.000000000 -0300
@@ -43,7 +43,7 @@
 #include <linux/if_arp.h>
 #include "ieee80211.h"
 #include <asm/io.h>
-#include <asm/semaphore.h>
+#include <linux/semaphore.h>
 
 #define EPROM_93c46 0
 #define EPROM_93c56 1