]> git.pld-linux.org Git - packages/mt-st.git/blob - mt-st-remove-unused-code.patch
1fc34be1e9aea03f012e5ff6cf6b97ff89a097de
[packages/mt-st.git] / mt-st-remove-unused-code.patch
1 diff -Nur mt-st-0.9b.orig/mtio.h mt-st-0.9b.remove-unused-code/mtio.h
2 --- mt-st-0.9b.orig/mtio.h      2005-08-16 22:16:28.000000000 +0300
3 +++ mt-st-0.9b.remove-unused-code/mtio.h        2007-05-18 23:13:33.000000000 +0300
4 @@ -10,7 +10,9 @@
5  
6  #include <linux/types.h>
7  #include <linux/ioctl.h>
8 +#if 0
9  #include <linux/qic117.h>
10 +#endif
11  
12  /*
13   * Structures and definitions for mag tape io control commands
14 @@ -259,6 +261,7 @@
15         } fmt_arg;
16  };
17  
18 +#if 0
19  struct mtftcmd {
20         unsigned int ft_wait_before; /* timeout to wait for drive to get ready 
21                                       * before command is sent. Milliseconds
22 @@ -281,6 +284,7 @@
23                                       * command
24                                       */
25  };
26 +#endif
27  
28  /* mag tape io control commands */
29  #define        MTIOCTOP        _IOW('m', 1, struct mtop)       /* do a mag tape op */
30 @@ -301,7 +305,9 @@
31  #define MTIOCVOLINFO   _IOR('m',  8, struct mtvolinfo) /* info about volume */
32  #define MTIOCGETSIZE    _IOR('m',  9, struct mttapesize)/* get cartridge size*/
33  #define MTIOCFTFORMAT   _IOWR('m', 10, struct mtftformat) /* format ftape */
34 +#if 0
35  #define MTIOCFTCMD     _IOWR('m', 11, struct mtftcmd) /* send QIC-117 cmd */
36 +#endif
37  
38  /* Generic Mag Tape (device independent) status macros for examining
39   * mt_gstat -- HP-UX compatible.
This page took 0.188497 seconds and 2 git commands to generate.