summaryrefslogtreecommitdiff
path: root/pcmcia-cs
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /pcmcia-cs
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'pcmcia-cs')
-rw-r--r--pcmcia-cs/files/pcmcia1
-rw-r--r--pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch20
-rw-r--r--pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts47
3 files changed, 68 insertions, 0 deletions
diff --git a/pcmcia-cs/files/pcmcia b/pcmcia-cs/files/pcmcia
index e69de29bb2..c42fea0691 100644
--- a/pcmcia-cs/files/pcmcia
+++ b/pcmcia-cs/files/pcmcia
@@ -0,0 +1 @@
+# no defaults for /etc/sysconfig/pcmcia
diff --git a/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch b/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch
index e69de29bb2..7237f3b813 100644
--- a/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch
+++ b/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch
@@ -0,0 +1,20 @@
+--- pcmcia-cs-3.2.3/etc/shared~ide 2003-03-11 10:26:14.000000000 -0600
++++ pcmcia-cs-3.2.3/etc/shared 2003-03-11 10:32:39.000000000 -0600
+@@ -57,7 +57,7 @@
+ fi
+ if is_true $DO_MOUNT ; then
+ O=${OPTS:+-o $OPTS} ; FS=${FSTYPE:+-t $FSTYPE}
+- log mount -v $O $FS $1 $MOUNTPT || return 1
++ log mount $O $FS $1 $MOUNTPT || return 1
+ fi
+ return 0
+ }
+@@ -85,7 +85,7 @@
+ test -b $1 || return 1
+ do_fuser -k -m $1 > /dev/null
+ if mount | grep -q "$1 on" ; then
+- log umount -v $1 || return 1
++ log umount $1 || return 1
+ fi
+ if is_true $DO_FSTAB ; then
+ grep -v $1 /etc/fstab > /etc/fstab.N
diff --git a/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts b/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts
index e69de29bb2..3e498297fc 100644
--- a/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts
+++ b/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts
@@ -0,0 +1,47 @@
+# Wireless LAN adapter configuration
+#
+# Theory of operation :
+#
+# The script attempts to match a block of settings to the specific wireless
+# card inserted, the *first* block matching the card is used.
+# The address format is "scheme,socket,instance,hwaddr", with * as a wildcard.
+# 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX').
+# 'hwaddr' is the unique MAC address identifier of the wireless card.
+# The MAC address is usually printed on the card, or can be found via ifconfig.
+# Some examples here use only half of the MAC address with a wildcard to
+# match a whole family of cards...
+#
+# All the Wireless specific configuration is done through the Wireless
+# Extensions, so we will just call 'iwconfig' with the right parameters
+# defined below.
+# Of course, you need to have iwconfig installled on your system.
+# To download iwconfig, or for more info on Wireless Extensions :
+# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
+#
+# Note : you don't need to fill all parameters, leave them blank, in most
+# cases the driver will initialise itself with sane defaults values or
+# automatically figure out the value... And no drivers do support all
+# possible settings...
+#
+# If you make any mistakes, you'll get a cryptic message in the system
+# log. You'll need to figure out on your own which parameter was wrong:
+# cardmgr[310]: executing: './network start wvlan0'
+# cardmgr[310]: + SIOCSIWMODE: Invalid argument
+# I've tried to give more troubleshooting help at :
+# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html#debug
+# In case of doubts, just check "/etc/pcmcia/wireless" for the gory details...
+#
+# Note also that this script will work only with the original Pcmcia scripts,
+# and not with the default Red Hat scripts. Send a bug report to Red Hat ;-)
+#
+# Finally, send comments and flames to me, Jean Tourrilhes <jt@hpl.hp.com>
+#
+
+case "$ADDRESS" in
+*,*,*,*)
+ INFO="Default Config"
+ ESSID=any
+ MODE=Managed
+ RATE=auto
+ ;;
+esac