Diff for /src/sys/sys/mtio.h between versions 1.2 and 1.3

version 1.2, 2003/06/17 04:28:58 version 1.3, 2004/02/06 03:20:47
Line 32 Line 32
  *   *
  *      @(#)mtio.h      8.1 (Berkeley) 6/2/93   *      @(#)mtio.h      8.1 (Berkeley) 6/2/93
  * $FreeBSD: src/sys/sys/mtio.h,v 1.20.2.2 2001/01/22 18:02:47 mjacob Exp $   * $FreeBSD: src/sys/sys/mtio.h,v 1.20.2.2 2001/01/22 18:02:47 mjacob Exp $
 * $DragonFly: src/sys/sys/mtio.h,v 1.1 2003/06/16 06:48:23 dillon Exp $ * $DragonFly$
  */   */
   
 #ifndef _SYS_MTIO_H_  #ifndef _SYS_MTIO_H_
Line 65  struct mtop { Line 65  struct mtop {
 #define MTCACHE         8       /* enable controller cache */  #define MTCACHE         8       /* enable controller cache */
 #define MTNOCACHE       9       /* disable controller cache */  #define MTNOCACHE       9       /* disable controller cache */
   
#if defined(__FreeBSD__)#if defined(__DragonFly__)
 /* Set block size for device. If device is a variable size dev          */  /* Set block size for device. If device is a variable size dev          */
 /* a non zero parameter will change the device to a fixed block size    */  /* a non zero parameter will change the device to a fixed block size    */
 /* device with block size set to that of the parameter passed in.       */  /* device with block size set to that of the parameter passed in.       */
Line 108  struct mtop { Line 108  struct mtop {
 #define MTIO_DSREG_UNL  45      /* Unloading */  #define MTIO_DSREG_UNL  45      /* Unloading */
 #define MTIO_DSREG_LD   46      /* Loading */  #define MTIO_DSREG_LD   46      /* Loading */
   
#endif  /* __FreeBSD__ */#endif  /* __DragonFly__ */
   
 /* structure for MTIOCGET - mag tape get status command */  /* structure for MTIOCGET - mag tape get status command */
   
Line 125  struct mtget { Line 125  struct mtget {
          * more accurate count.           * more accurate count.
          */           */
         short   mt_resid;       /* residual count */          short   mt_resid;       /* residual count */
#if defined (__FreeBSD__)#if defined (__DragonFly__)
         daddr_t mt_blksiz;      /* presently operating blocksize */          daddr_t mt_blksiz;      /* presently operating blocksize */
         daddr_t mt_density;     /* presently operating density */          daddr_t mt_density;     /* presently operating density */
         u_int32_t mt_comp;      /* presently operating compression */          u_int32_t mt_comp;      /* presently operating compression */

Removed from v.1.2  
changed lines
  Added in v.1.3