pcmcia-3.0.0 + pre 2.1.89-3+ = problems

John Kennedy (jk@csuchico.edu)
Sun, 1 Mar 1998 16:03:43 -0800


03/01/98 @ 04:03:06 PM (Sunday)

pre-patch 2.1.89-3 changed how poll_wait() was used. The patch below
looks correct but there may be other problems as well. It looks like
cardctl is getting hung up (probably in a system call, since SIGHUPing
cardctl will get it to finish loading).

Not a problem in the binaries themselves since the same binary will
work with 2.1.88's loadable modules (booting up under 2.1.88).
--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- modules/ds.c.OLD Mon Dec 29 09:36:48 1997
+++ modules/ds.c Sat Feb 28 15:33:19 1998
@@ -673,7 +673,11 @@
user = file->private_data;
if (CHECK_USER(user))
return POLLERR;
+#if (LINUX_VERSION_CODE < VERSION(2,1,89))
poll_wait(&s->queue, wait);
+#else
+ poll_wait(file, &PIPE_WAIT(*(file->f_dentry->d_inode)), wait);
+#endif
if (!queue_empty(user))
return POLLIN | POLLRDNORM;
return 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu