aboutsummaryrefslogtreecommitdiffstats
path: root/package/pcmcia-cs/patches/003-cardmgr_c.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-26 14:29:20 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-26 14:29:20 +0000
commit92ca1814702a8c2ba23ca5d1036985bd8e0410dc (patch)
treef186f0a156fd67c78fe9f1ff2dbed6bb435dae00 /package/pcmcia-cs/patches/003-cardmgr_c.patch
parent5c5b8928d27dca5cd40a1be60ccb9bc5bd0c899f (diff)
downloadupstream-92ca1814702a8c2ba23ca5d1036985bd8e0410dc.tar.gz
upstream-92ca1814702a8c2ba23ca5d1036985bd8e0410dc.tar.bz2
upstream-92ca1814702a8c2ba23ca5d1036985bd8e0410dc.zip
package/pcmcia-cs: refresh patches
SVN-Revision: 20475
Diffstat (limited to 'package/pcmcia-cs/patches/003-cardmgr_c.patch')
-rw-r--r--package/pcmcia-cs/patches/003-cardmgr_c.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/package/pcmcia-cs/patches/003-cardmgr_c.patch b/package/pcmcia-cs/patches/003-cardmgr_c.patch
index c5c100c628..716a0b26b9 100644
--- a/package/pcmcia-cs/patches/003-cardmgr_c.patch
+++ b/package/pcmcia-cs/patches/003-cardmgr_c.patch
@@ -1,8 +1,6 @@
-Index: pcmcia-cs-3.2.8/cardmgr/cardmgr.c
-===================================================================
---- pcmcia-cs-3.2.8.orig/cardmgr/cardmgr.c 2007-06-04 13:23:59.491689784 +0200
-+++ pcmcia-cs-3.2.8/cardmgr/cardmgr.c 2007-06-04 13:24:00.561527144 +0200
-@@ -739,10 +739,7 @@
+--- a/cardmgr/cardmgr.c
++++ b/cardmgr/cardmgr.c
+@@ -739,10 +739,7 @@ static int try_insmod(char *mod, char *o
int ret;
strcpy(cmd, "insmod ");
@@ -14,7 +12,7 @@ Index: pcmcia-cs-3.2.8/cardmgr/cardmgr.c
if (access(cmd+7, R_OK) != 0) {
syslog(LOG_NOTICE, "module %s not available", cmd+7);
free(cmd);
-@@ -808,11 +805,13 @@
+@@ -808,11 +805,13 @@ static void install_module(char *mod, ch
}
if (do_modprobe) {
@@ -30,7 +28,7 @@ Index: pcmcia-cs-3.2.8/cardmgr/cardmgr.c
}
}
-@@ -1113,8 +1112,9 @@
+@@ -1113,8 +1112,9 @@ static void do_remove(int sn)
/* remove kernel modules in inverse order */
for (i = 0; i < card->bindings; i++) {