Re: 2.1.118 PCMCIA Oops

John Kennedy (jk@csuchico.edu)
Thu, 27 Aug 1998 22:26:29 -0700


08/27/98 @ 10:25:58 PM (Thursday)

This patch seems to fix the PCMCIA Oops for .118 & .119. Don't know
why the compiler didn't complain about modules/ds.c the first time, but
it did for .119 so the problem was easy to find.
--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- ./modules/ds.c.OLD Tue Jul 28 02:22:33 1998
+++ ./modules/ds.c Thu Aug 27 22:11:57 1998
@@ -808,6 +808,9 @@
ds_ioctl, /* ioctl */
NULL, /* mmap */
ds_open, /* open */
+#if (LINUX_VERSION_CODE >= VERSION(2,1,118))
+ NULL, /* flush */
+#endif
ds_release, /* release */
NULL /* fsync */
};
--- ./clients/memory_cs.c.OLD Mon Jun 29 11:51:44 1998
+++ ./clients/memory_cs.c Thu Aug 27 22:13:14 1998
@@ -175,6 +175,9 @@
memory_ioctl, /* ioctl */
NULL, /* mmap */
memory_open, /* open */
+#if (LINUX_VERSION_CODE >= VERSION(2,1,118))
+ NULL, /* flush */
+#endif
memory_close, /* release */
NULL /* fsync */
};
@@ -188,6 +191,9 @@
memory_ioctl, /* ioctl */
NULL, /* mmap */
memory_open, /* open */
+#if (LINUX_VERSION_CODE >= VERSION(2,1,118))
+ NULL, /* flush */
+#endif
memory_blk_close, /* release */
block_fsync /* fsync */
};
--- ./clients/ftl_cs.c.OLD Thu Jul 30 16:13:22 1998
+++ ./clients/ftl_cs.c Thu Aug 27 22:12:29 1998
@@ -208,6 +208,9 @@
ftl_ioctl, /* ioctl */
NULL, /* mmap */
ftl_open, /* open */
+#if (LINUX_VERSION_CODE >= VERSION(2,1,118))
+ NULL, /* flush */
+#endif
ftl_close, /* release */
block_fsync /* fsync */
};
--- ./debug-tools/dump_i365.c.OLD Sun Jul 26 16:10:51 1998
+++ ./debug-tools/dump_i365.c Thu Aug 27 15:36:52 1998
@@ -587,7 +587,7 @@

/*====================================================================*/

-void main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
int sock, i;

@@ -596,4 +596,6 @@
printf("Socket %d:\n", i);
dump_sock(i);
}
+
+ return 0;
}

-
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.altern.org/andrebalsa/doc/lkml-faq.html