[PATCH] ide-tape module

James Kosin <[email protected]>
Newsgroups gmane.linux.tape
Message-ID <[email protected]>
Everyone,

I have a few simple patches to the ide-tape module.  Mostly just a
missing ',' and a comment to fix or remove USE_IOTRACE.

I'm still trying to solve my problem for good; but, can't find a problem
with the ide-tape module directly causing my problems.

Thanks,
James Kosin
ide-tape.patch (text/plain, 890 B)
--- redhat/BUILD/kernel-2.4.30/linux-2.4.30/drivers/ide/ide-tape.c	2003-11-28 13:26:20.000000000 -0500
+++ linux-2.4/drivers/ide/ide-tape.c	2005-07-01 08:38:05.000000000 -0400
@@ -714,11 +714,15 @@ typedef struct {
  *
  *	I/O trace support
  */
+/*
+ *  this is broken ...
+ */
 #define USE_IOTRACE	0
-#if USE_IOTRACE
-#include <linux/io_trace.h>
-#define IO_IDETAPE_FIFO	500
-#endif
+/* #if USE_IOTRACE
+ * #include <linux/io_trace.h>  *** file does not exist anymore ***
+ * #define IO_IDETAPE_FIFO	500
+ * #endif
+ */

 /*
  *	Read/Write error simulation
@@ -2266,7 +2270,7 @@ static ide_startstop_t idetape_pc_intr (
 	pc->current_position += bcount.all;
 #if IDETAPE_DEBUG_LOG
 	if (tape->debug_level >= 2)
-		printk(KERN_INFO "ide-tape: [cmd %x] done %d\n"
+		printk(KERN_INFO "ide-tape: [cmd %x] done %d\n",
 			pc->c[0], bcount.all);
 #endif
 	if (HWGROUP(drive)->handler != NULL)
signature.asc (application/pgp-signature, 254 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCxU+EkNLDmnu1kSkRAhxSAJ9Ztkhh4MYTSYjnpEqV1Csb3Es8wwCdHFaG
mJNr6uaowMtXPB3krU8ym/A=
=5cr0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.