[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-tr] PCMCIA/2.2.0-pre1



Has anyone been successful using ibmtr_cs (the PCMCIA ibmtr driver)
with kernel 2.2.0-pre1? I tried it this evening and ibmtr_cs failed to
load. (and yes, 2.0.36/37-pre3 work fine for me)

Here's a patch to pcmcia-cs-3.0.6 to allow compilation for 2.2.0-pre1.
It was posted to the linux-kernel dev list today or yesterday (it's a blur
to me), in case you missed it.

thanks,

--gilbert

diff -r -u pcmcia-cs-3.0.6/Configure pcmcia-cs-19981228-jk/Configure
--- pcmcia-cs-3.0.6/Configure	Thu Nov 19 03:08:42 1998
+++ pcmcia-cs-19981228-jk/Configure	Mon Dec 28 20:59:58 1998
@@ -151,7 +151,8 @@
 VERSION=`sed -n -e 's/^VERSION = \(.*\)/\1/p' $LINUX/Makefile`
 PATCHLEVEL=`sed -n -e 's/^PATCHLEVEL = \(.*\)/\1/p' $LINUX/Makefile`
 SUBLEVEL=`sed -n -e 's/^SUBLEVEL = \(.*\)/\1/p' $LINUX/Makefile`
-SRC_RELEASE=$VERSION.$PATCHLEVEL.$SUBLEVEL
+EXTRAVERSION=`sed -n -e 's/^EXTRAVERSION =-\(.*\)/\1/p' $LINUX/Makefile`
+SRC_RELEASE=$VERSION.$PATCHLEVEL.$SUBLEVEL-$EXTRAVERSION
 VERSION_CODE=`expr $VERSION \* 65536 + $PATCHLEVEL \* 256 + $SUBLEVEL`
 echo "The kernel source tree is version $SRC_RELEASE."
 CUR_RELEASE=`uname -r`
@@ -426,7 +427,7 @@
 NEW_QLOGIC=n
 
 case "$VERSION.$PATCHLEVEL" in
-2.0|2.1)
+2.0|2.1|2.2)
     echo "MFLAG=-DMODVERSIONS -include $MODVER" >> $CONFIG_MK
     if [ $SUBLEVEL -ge 6 ] ; then
 	NEW_QLOGIC=y
Only in pcmcia-cs-19981228-jk/cardmgr: .depfiles
Only in pcmcia-cs-19981228-jk/clients: .depfiles
diff -r -u pcmcia-cs-3.0.6/clients/Makefile pcmcia-cs-19981228-jk/clients/Makefile
--- pcmcia-cs-3.0.6/clients/Makefile	Wed Nov 18 02:37:50 1998
+++ pcmcia-cs-19981228-jk/clients/Makefile	Mon Dec 28 19:40:52 1998
@@ -67,8 +67,8 @@
 SCSI=$(LINUX)/drivers/scsi
 
 ifdef CONFIG_SCSI
-MODULES := ${MODULES} qlogic_cs.o aha152x_cs.o fdomain_cs.o
-SRCS := ${SRCS} qlogic_cs.c aha152x_cs.c fdomain_cs.c
+#MODULES := ${MODULES} qlogic_cs.o aha152x_cs.o fdomain_cs.o
+#SRCS := ${SRCS} qlogic_cs.c aha152x_cs.c fdomain_cs.c
 endif
 
 all:	$(MODULES) $(EXTRA)




-- 
Gilbert Ramirez                Voice:  +1 210 358 4032
Technical Services             Fax:    +1 210 358 1122
University Health System       San Antonio, Texas, USA