Support for two types of bridges on one box

Jean Tourrilhes jt at bougret.hpl.hp.com
Fri Dec 12 15:00:16 GMT 2003


	Hi,

	If you have two types of Pcmcia bridges on one box, you will
need the following patch :
-----------------------------------------------------
--- pcmcia-j1	Fri Dec 12 14:24:53 2003
+++ pcmcia	Fri Dec 12 14:46:45 2003
@@ -36,8 +36,10 @@ else
     # Slackware startup options go right here:
     # Should be either i82365 or tcic
     PCIC=i82365
+    PCIC2=yenta_socket
     # Put socket driver timing parameters here
     PCIC_OPTS="extra_sockets=1 irq_mask=0x0eb8"
+    PCIC2_OPTS=""
     # Put pcmcia_core options here
     CORE_OPTS=
     # Put cardmgr options here
@@ -104,6 +106,9 @@ for x in "1" ; do
 		  (/sbin/modprobe yenta_socket >/dev/null 2>&1 &&
 		   echo "using yenta_socket instead of $PCIC") ||
 		  /sbin/modprobe $PCIC $PCIC_OPTS || break
+		if [ "$PCIC2" != "" ] ; then
+		    /sbin/modprobe $PCIC2 $PCIC2_OPTS >/dev/null 2>&1
+		fi
 		/sbin/modprobe ds || break
 	    elif [ -d $PC ] ; then
 		/sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
-----------------------------------------------------
	The most amazing is that it seems to work fine with 2.6.0-test11.

	Have fun...

	Jean




More information about the linux-pcmcia mailing list