Re: PCMCIA + 2.2.0-pre1

John Kennedy (jk@csuchico.edu)
Tue, 29 Dec 1998 09:49:38 -0800 (PST)


[Jeremy Katz]
> Well, I've installed 2.2.0-pre1 successfully on two machines without
> major problems thus far. The only problem was with PCMCIA on my
> laptop. It fails as we are *gasp* not in 2.1 anymore ;) Also, the
> version it reported needed to be corrected so that they would load.
> Attached is my simple diff. It also comments out the compile of
> the SCSI modules as I lost track of the patch from last week to
> stop that error.

Presumably something like this patch?

I've had problems with PCMCIA since (after) 2.1.124 or so filling
up its Rx/TX queues and hanging up networking. Anyone else? 2.1.124 is
a little rough and there was a fairly major kernel change that required
a lot of PCMCIA fixes. Certainly hasn't been happy since then.

For *low* traffic PCMCIA ethernet traffic, no problem. Try doing a
big scp (ssh secure copy) over even a half-duplex 10MB network and it
will choke pretty quickly most of the time. Doing a FTP or whatever
out to the internet over ISDN speeds won't tickle it.
--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- ./clients/qlogic_cs.c.OLD Wed Nov 18 00:01:22 1998
+++ ./clients/qlogic_cs.c Mon Dec 28 15:50:45 1998
@@ -349,8 +349,10 @@

#if (LINUX_VERSION_CODE < VERSION(2,1,23))
if (*driver_template.usage_count != 0) {
-#else
+#elif (LINUX_VERSION_CODE < VERSION(2,1,133))
if (driver_template.module->usecount != 0) {
+#else
+ if (GET_USE_COUNT(driver_template.module) != 0) {
#endif
DEBUG(0, "qlogic_cs: release postponed, device still open\n");
link->state |= DEV_STALE_CONFIG;
--- ./clients/aha152x_cs.c.OLD Wed Nov 18 00:01:22 1998
+++ ./clients/aha152x_cs.c Mon Dec 28 15:53:44 1998
@@ -356,8 +356,10 @@

#if (LINUX_VERSION_CODE < VERSION(2,1,23))
if (*driver_template.usage_count != 0) {
-#else
+#elif (LINUX_VERSION_CODE < VERSION(2,1,133))
if (driver_template.module->usecount != 0) {
+#else
+ if (GET_USE_COUNT(driver_template.module) != 0) {
#endif
DEBUG(1, "aha152x_cs: release postponed, "
"device still open\n");
--- ./clients/fdomain_cs.c.OLD Wed Nov 18 00:01:22 1998
+++ ./clients/fdomain_cs.c Mon Dec 28 15:56:46 1998
@@ -317,8 +317,10 @@

#if (LINUX_VERSION_CODE < VERSION(2,1,23))
if (*driver_template.usage_count != 0) {
-#else
+#elif (LINUX_VERSION_CODE < VERSION(2,1,133))
if (driver_template.module->usecount != 0) {
+#else
+ if (GET_USE_COUNT(driver_template.module) != 0) {
#endif
DEBUG(1, "fdomain_cs: release postponed, "
"device still open\n");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/