SOURCES: mt-st-remove-unused-code.patch (NEW) - remove unused code...

sparky sparky at pld-linux.org
Fri May 18 22:15:18 CEST 2007


Author: sparky                       Date: Fri May 18 20:15:16 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- remove unused code from mtio.h - it required qic117.h which is no longer
  available in llh

---- Files affected:
SOURCES:
   mt-st-remove-unused-code.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mt-st-remove-unused-code.patch
diff -u /dev/null SOURCES/mt-st-remove-unused-code.patch:1.1
--- /dev/null	Fri May 18 22:15:16 2007
+++ SOURCES/mt-st-remove-unused-code.patch	Fri May 18 22:15:10 2007
@@ -0,0 +1,39 @@
+diff -Nur mt-st-0.9b.orig/mtio.h mt-st-0.9b.remove-unused-code/mtio.h
+--- mt-st-0.9b.orig/mtio.h	2005-08-16 22:16:28.000000000 +0300
++++ mt-st-0.9b.remove-unused-code/mtio.h	2007-05-18 23:13:33.000000000 +0300
+@@ -10,7 +10,9 @@
+ 
+ #include <linux/types.h>
+ #include <linux/ioctl.h>
++#if 0
+ #include <linux/qic117.h>
++#endif
+ 
+ /*
+  * Structures and definitions for mag tape io control commands
+@@ -259,6 +261,7 @@
+ 	} fmt_arg;
+ };
+ 
++#if 0
+ struct mtftcmd {
+ 	unsigned int ft_wait_before; /* timeout to wait for drive to get ready 
+ 				      * before command is sent. Milliseconds
+@@ -281,6 +284,7 @@
+ 				      * command
+ 				      */
+ };
++#endif
+ 
+ /* mag tape io control commands */
+ #define	MTIOCTOP	_IOW('m', 1, struct mtop)	/* do a mag tape op */
+@@ -301,7 +305,9 @@
+ #define MTIOCVOLINFO	_IOR('m',  8, struct mtvolinfo) /* info about volume */
+ #define MTIOCGETSIZE    _IOR('m',  9, struct mttapesize)/* get cartridge size*/
+ #define MTIOCFTFORMAT   _IOWR('m', 10, struct mtftformat) /* format ftape */
++#if 0
+ #define MTIOCFTCMD	_IOWR('m', 11, struct mtftcmd) /* send QIC-117 cmd */
++#endif
+ 
+ /* Generic Mag Tape (device independent) status macros for examining
+  * mt_gstat -- HP-UX compatible.
================================================================


More information about the pld-cvs-commit mailing list