From owner-man-jp-reviewer@jp.freebsd.org  Thu Jul 20 12:21:38 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id MAA75824;
	Thu, 20 Jul 2000 12:21:38 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from smtp1.interramp.com (smtp1.interramp.com [38.8.45.2])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id MAA75818
	for <man-jp-reviewer@jp.freebsd.org>; Thu, 20 Jul 2000 12:21:36 +0900 (JST)
	(envelope-from horikawa@psinet.com)
Received: from [38.26.194.82] (helo=localhost)
	by smtp1.interramp.com with esmtp (Exim 1.90 #1)
	for man-jp-reviewer@jp.freebsd.org
	id 13F6tw-00032l-00; Wed, 19 Jul 2000 23:21:33 -0400
To: man-jp-reviewer@jp.freebsd.org
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000719231824P.horikawa@psinet.com>
Date: Wed, 19 Jul 2000 23:18:24 -0400
From: Kazuo Horikawa <horikawa@psinet.com>
X-Dispatcher: imput version 980905(IM100)
Lines: 378
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp-reviewer 2809
Subject: [man-jp-reviewer 2809] (check) mtio.4
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: horikawa@psinet.com

mtio.4 $B$N%A%'%C%/$G$9!#(B

 o $B%?%V$,>C$($F$$$?$N$G!"Jd$$$^$7$?!#(B
 o $BJQ99(B
- * 32 $B%P%$%H(B type 2 $B9=B$$r%U%k%5%]!<%H$9$k(B SCSI-3 SCC ( $B%9%H%j!<%`(B
- * $B%G%P%$%9(B ) $B$,$b$C$H=P$F$/$l$P!";d$?$A$O!"(B
- * 64 $B%S%C%H$N%V%m%C%/!"O@M}%U%!%$%k%l%3!<%IHV9f$J$I$N$h$&$JFCD'$N(B
- * $B$"$k$b$N$X$HJQ$o$C$F$$$/%G%P%$%9$r(B ioctl $B$,$9$Y$F%5%]!<%H$9$k$h$&$K(B
- * $B9M$(D>$5$J$/$F$O$$$1$J$$$G$7$g$&!#(B

$B$r(B

+ * 32 $B%P%$%H(B type 2 $B9=B$$r%U%k%5%]!<%H$9$k(B SCSI-3 SCC ($B%9%H%j!<%`(B
+ * $B%G%P%$%9(B) $B$,$b$C$H=P8=$9$k$H$-$K$O!"$3$N;EMM$,BP>]$H$9$kA4%(%s%F%#%F%#(B
+ * (64 $B%S%C%H$N%V%m%C%/!"O@M}%U%!%$%k%l%3!<%IHV9fEy(B) $B$r$3$l$i$N(B ioctl $B$,(B
+ * $B07$($k$h$&$K!":F9M$9$kI,MW$,$"$k$G$7$g$&!#(B

$B$K$7$^$7$?!#(B

 $B86J8$O!"(B
/*
 * When more SCSI-3 SSC (streaming device) devices are out there
 * that support the full 32 byte type 2 structure, we'll have to
 * rethink these ioctls to support all the entities they haul into
 * the picture (64 bit blocks, logical file record numbers, etc..).
 */
$B$G!"85Lu$N!VFCD'$"$k$b$N!W$,$h$/J,$+$j$^$;$s$G$7$?!#(B

--- mtio.4.bak	Thu Jul 13 00:51:25 2000
+++ mtio.4	Wed Jul 19 23:03:18 2000
@@ -55,7 +55,7 @@
 $B$3$l$K$h$C$F!"%F!<%W$r%"%s%^%&%s%H$7$?8e$bB3$1$FM-8z$K$9$kI,MW$N$"$k(B
 $B%Q%i%a!<%?$r@_Dj$G$-$^$9!#(B
 .Pp
-$B4,$-La$7MQ%G%P%$%9$O:G8e$NFI$_9~$_!"=q$-$3$_!"$=$7$F%7!<%/MW5a$,(B
+$B4,$-La$7MQ%G%P%$%9$O!":G8e$NFI$_9~$_!"=q$-$3$_!"$=$7$F%7!<%/MW5a$,(B
 $B=*N;$9$k$+!"$"$k$$$O%F!<%W$N:G8e$KE~C#$7$?$H$-$K!"<+F0E*$K%F!<%W$r(B
 $B4,$-La$7$^$9!#(B
 $BDL>o!"4,$-La$7$r9T$o$J$$%G%P%$%9L>$K$O!"J8;z(B
@@ -87,24 +87,23 @@
  * $B<'5$%F!<%W(B IO $B@)8f%3%^%s%IMQ9=B$BN$*$h$S@k8@(B
  */
 
-/* structure for MTIOCTOP - mag tape op command */
 /* MTIOCTOP - $B<'5$%F!<%WA`:n%3%^%s%IMQ9=B$BN(B */
 struct mtop {
-shortmt_op;/* $B0J2<$G@k8@$9$kA`:n(B */
-daddr_tmt_count;/* $B2?2sA`:n$9$k$N$+(B */
+	shortmt_op;		/* $B0J2<$G@k8@$9$kA`:n(B */
+	daddr_tmt_count;	/* $B2?2sA`:n$9$k$N$+(B */
 };
 
 /* $BA`:n(B */
-#define MTWEOF0/* end-of-file $B%l%3!<%I$r=q$/(B */
-#define MTFSF1/* $B6u$-%U%!%$%k$^$GA0?J(B */
-#define MTBSF2/* $B6u$-%U%!%$%k$^$G8eB`(B */
-#define MTFSR3/* $B6u$-%l%3!<%I$^$GA0?J(B */
-#define MTBSR4/* $B6u$-%l%3!<%I$^$G8eB`(B */
-#define MTREW5/* $B4,$-La$7(B */
-#define MTOFFL6/* $B4,$-La$7$F%I%i%$%V$r%*%U%i%$%s$K$9$k(B */
-#define MTNOP7/* $B2?$b$7$J$$!#%9%F!<%?%9$r@_Dj$9$k$@$1(B */
-#define MTCACHE8/* $B%3%s%H%m!<%i%-%c%C%7%e$rM-8z(B */
-#define MTNOCACHE9/* $B%3%s%H%m!<%i%-%c%C%7%e$rL58z(B */
+#define MTWEOF		0	/* end-of-file $B%l%3!<%I$r=q$/(B */
+#define MTFSF		1	/* $B6u$-%U%!%$%k$^$GA0?J(B */
+#define MTBSF		2	/* $B6u$-%U%!%$%k$^$G8eB`(B */
+#define MTFSR		3	/* $B6u$-%l%3!<%I$^$GA0?J(B */
+#define MTBSR		4	/* $B6u$-%l%3!<%I$^$G8eB`(B */
+#define MTREW		5	/* $B4,$-La$7(B */
+#define MTOFFL		6	/* $B4,$-La$7$F%I%i%$%V$r%*%U%i%$%s$K$9$k(B */
+#define MTNOP		7	/* $B2?$b$7$J$$!#%9%F!<%?%9$r@_Dj$9$k$@$1(B */
+#define MTCACHE		8	/* $B%3%s%H%m!<%i%-%c%C%7%e$rM-8z(B */
+#define MTNOCACHE	9	/* $B%3%s%H%m!<%i%-%c%C%7%e$rL58z(B */
 
 #if defined(__FreeBSD__)
 /* $B%G%P%$%9MQ$N%V%m%C%/%5%$%:$r@_Dj$7$^$9!#%G%P%$%9$,2DJQD9$N$b$N$G$"$k(B */
@@ -112,154 +111,153 @@
 /* $B%V%m%C%/%5%$%:$r;}$C$?8GDj%V%m%C%/D9$N$b$N$KJQ$($i$l$^$9!#%V%m%C%/(B   */
 /* $B%5%$%:$r(B 0 $B$KLa$9$H!"%G%P%$%9$O:F$S2DJQD9%V%m%C%/$N$b$N$KLa$j$^$9!#(B  */
 
-#define MTSETBSIZ10
+#define MTSETBSIZ	10
 
 /* $B%G%P%$%9$NL)EY$r@_Dj$7$^$9!#L)EY$NCM$O(B SCSI II $B$N;EMM$GDj$a$i$l$F(B    */
 /* $B$*$j!"(B0 $B$+$i(B 0x17 $B$^$G$NCM$r<h$j$^$9!#%*!<%W%s%b!<%I$N$H$-$N$_$3$N(B   */
 /* $BCM$r@_Dj$7$F$/$@$5$$!#(B                                               */  
 
-#define MTSETDNSTY11
+#define MTSETDNSTY	11
 
-#define MTERASE12/* EOM $B$^$G>C5n(B */
-#define MTEOD13/* EOM $B$^$G6uGr$K$9$k(B */
-#define MTCOMP14/* $B05=L%b!<%I$NA*Br(B 0= $B%*%U(B, 1= $BDj5A(B */
-#define MTRETENS15/* $B%F!<%W$N$?$k$_D>$7(B */
-#define MTWSS16/* $B%;%C%H%^!<%/=q$-9~$_(B */
-#define MTFSS17/* $B%;%C%H%^!<%/$^$GA0?J(B */
-#define MTBSS18/* $B%;%C%H%^!<%/$^$G8eB`(B */
-
-#define MT_COMP_ENABLE0xffffffff
-#define MT_COMP_DISABLED0xfffffffe
-#define MT_COMP_UNSUPP0xfffffffd
+#define MTERASE		12	/* EOM $B$^$G>C5n(B */
+#define MTEOD		13	/* EOM $B$^$G6uGr$K$9$k(B */
+#define MTCOMP		14	/* $B05=L%b!<%I$NA*Br(B 0= $B%*%U(B, 1= $BDj5A(B */
+#define MTRETENS	15	/* $B%F!<%W$N$?$k$_D>$7(B */
+#define MTWSS		16	/* $B%;%C%H%^!<%/=q$-9~$_(B */
+#define MTFSS		17	/* $B%;%C%H%^!<%/$^$GA0?J(B */
+#define MTBSS		18	/* $B%;%C%H%^!<%/$^$G8eB`(B */
+
+#define MT_COMP_ENABLE		0xffffffff
+#define MT_COMP_DISABLED	0xfffffffe
+#define MT_COMP_UNSUPP		0xfffffffd
 
 /*
  * mt_dsreg $B$NCM$G!":#%G%P%$%9$,2?$r$7$F$$$k$+$rI=$9!#(B
  */
-#defineMTIO_DSREG_NIL0/* $BL$CN(B */
-#defineMTIO_DSREG_REST1/* $B2?$b$7$J$$(B */
-#defineMTIO_DSREG_RBSY2/* $B%F!<%W$HDL?.Cf(B ( $B$7$+$7!"A`:n$O$7$F$$$^$;$s(B ) */
-#defineMTIO_DSREG_WR20/* $B=q$-9~$_Cf(B */
-#defineMTIO_DSREG_FMK21/* $B%U%!%$%k%^!<%/$N=q$-9~$_Cf(B */
-#defineMTIO_DSREG_ZER22/* $B>C5nCf(B */
-#defineMTIO_DSREG_RD30/* $BFI$_9~$_Cf(B */
-#defineMTIO_DSREG_FWD40/* $BAw$jCf(B */
-#defineMTIO_DSREG_REV41/* $BLa$7Cf(B */
-#defineMTIO_DSREG_POS42/* $B%O!<%I%&%'%"$K$h$k0LCV7h$aCf(B ( $BJ}8~$OJ,$+$j$^$;$s(B ) */
-#defineMTIO_DSREG_REW43/* $B4,$-La$7Cf(B */
-#defineMTIO_DSREG_TEN44/* $B$?$k$_D>$7Cf(B */
-#defineMTIO_DSREG_UNL45/* $B<h$j=|$-Cf(B */
-#defineMTIO_DSREG_LD46/* $B<h$j=|$-Cf(B */
+#defineMTIO_DSREG_NIL	0	/* $BL$CN(B */
+#defineMTIO_DSREG_REST	1	/* $B2?$b$7$J$$(B */
+#defineMTIO_DSREG_RBSY	2	/* $B%F!<%W$HDL?.Cf(B ($B$7$+$7!"A`:n$7$F$$$^$;$s(B) */
+#defineMTIO_DSREG_WR	20	/* $B=q$-9~$_Cf(B */
+#defineMTIO_DSREG_FMK	21	/* $B%U%!%$%k%^!<%/$N=q$-9~$_Cf(B */
+#defineMTIO_DSREG_ZER	22	/* $B>C5nCf(B */
+#defineMTIO_DSREG_RD	30	/* $BFI$_9~$_Cf(B */
+#defineMTIO_DSREG_FWD	40	/* $BAw$jCf(B */
+#defineMTIO_DSREG_REV	41	/* $BLa$7Cf(B */
+#defineMTIO_DSREG_POS	42	/* $B%O!<%I%&%'%"$K$h$k0LCV7h$aCf(B ($BJ}8~ITL@(B) */
+#defineMTIO_DSREG_REW	43	/* $B4,$-La$7Cf(B */
+#defineMTIO_DSREG_TEN	44	/* $B$?$k$_D>$7Cf(B */
+#defineMTIO_DSREG_UNL	45	/* $B<h$j=|$-Cf(B */
+#defineMTIO_DSREG_LD	46	/* $B<h$j=|$-Cf(B */
 
 #endif
 
 /* MTIOCGET $BMQ$N9=B$BN(B - $B<'5$%F!<%W$N>uBV<hF@%3%^%s%I(B */
 
 struct mtget {
-shortmt_type;/* $B<'5$%F!<%W%G%P%$%9$N<oN`(B */
+	shortmt_type;		/* $B<'5$%F!<%W%G%P%$%9$N<oN`(B */
 /* $B<!$N(B 2 $B$D$N%l%8%9%?$O$[$H$s$I%G%P%$%90MB8$G$9(B */
-shortmt_dsreg;/* `` $B%G%P%$%9>uBV(B '' $B%l%8%9%?(B */
-shortmt_erreg;/* `` $B%(%i!<(B '' $B%l%8%9%?(B */
+	shortmt_dsreg;		/* ``$B%G%P%$%9>uBV(B'' $B%l%8%9%?(B */
+	shortmt_erreg;		/* ``$B%(%i!<(B'' $B%l%8%9%?(B */
 /* $B%G%P%$%90MB8%l%8%9%?$N=*$o$j(B */
-shortmt_resid;/* $B;D$j%+%&%s%?(B */
+	shortmt_resid;		/* $B;D$j%+%&%s%?(B */
 #if defined (__FreeBSD__)
-daddr_t mt_blksiz;/* $B8=:_8zNO$N$"$k%V%m%C%/%5%$%:(B */ 
-daddr_t mt_density;/* $B8=:_8zNO$N$"$k5-O?L)EY(B */
-daddr_t mt_comp;/* $B8=:_8zNO$N$"$k05=LK!(B */
-daddr_t mt_blksiz0;/* $B%b!<%I(B 0 $BMQ%V%m%C%/%5%$%:(B */
-daddr_t mt_blksiz1;/* $B%b!<%I(B 1 $BMQ%V%m%C%/%5%$%:(B */
-daddr_t mt_blksiz2;/* $B%b!<%I(B 2 $BMQ%V%m%C%/%5%$%:(B */
-daddr_t mt_blksiz3;/* $B%b!<%I(B 3 $BMQ%V%m%C%/%5%$%:(B */
-daddr_t mt_density0;/* $B%b!<%I(B 0 $BMQ5-O?L)EY(B */
-daddr_t mt_density1;/* $B%b!<%I(B 1 $BMQ5-O?L)EY(B */
-daddr_t mt_density2;/* $B%b!<%I(B 2 $BMQ5-O?L)EY(B */
-daddr_t mt_density3;/* $B%b!<%I(B 3 $BMQ5-O?L)EY(B */
+	daddr_t mt_blksiz;	/* $B8=:_8zNO$N$"$k%V%m%C%/%5%$%:(B */ 
+	daddr_t mt_density;	/* $B8=:_8zNO$N$"$k5-O?L)EY(B */
+	daddr_t mt_comp;	/* $B8=:_8zNO$N$"$k05=LK!(B */
+	daddr_t mt_blksiz0;	/* $B%b!<%I(B 0 $BMQ%V%m%C%/%5%$%:(B */
+	daddr_t mt_blksiz1;	/* $B%b!<%I(B 1 $BMQ%V%m%C%/%5%$%:(B */
+	daddr_t mt_blksiz2;	/* $B%b!<%I(B 2 $BMQ%V%m%C%/%5%$%:(B */
+	daddr_t mt_blksiz3;     /* $B%b!<%I(B 3 $BMQ%V%m%C%/%5%$%:(B */
+	daddr_t mt_density0;	/* $B%b!<%I(B 0 $BMQ5-O?L)EY(B */
+	daddr_t mt_density1;	/* $B%b!<%I(B 1 $BMQ5-O?L)EY(B */
+	daddr_t mt_density2;	/* $B%b!<%I(B 2 $BMQ5-O?L)EY(B */
+	daddr_t mt_density3;    /* $B%b!<%I(B 3 $BMQ5-O?L)EY(B */
 /* $B0J2<$N$b$N$O!"$^$@<BAu$5$l$F$$$^$;$s!#(B */
-u_charmt_comp0;/* $B%b!<%I(B 0 $BMQ05=LK!(B */
-u_charmt_comp1;/* $B%b!<%I(B 1 $BMQ05=LK!(B */
-u_charmt_comp2;/* $B%b!<%I(B 2 $BMQ05=LK!(B */
-u_charmt_comp3;/* $B%b!<%I(B 3 $BMQ05=LK!(B */
+	u_charmt_comp0;		/* $B%b!<%I(B 0 $BMQ05=LK!(B */
+	u_charmt_comp1;		/* $B%b!<%I(B 1 $BMQ05=LK!(B */
+	u_charmt_comp2;		/* $B%b!<%I(B 2 $BMQ05=LK!(B */
+	u_charmt_comp3;		/* $B%b!<%I(B 3 $BMQ05=LK!(B */
 /* $BL$<BAuItJ,=*$o$j(B */
 #endif
-daddr_tmt_fileno;/* $B8=:_0LCV$N%U%!%$%kHV9f(B */
-daddr_tmt_blkno;/* $B8=:_0LCV$N%V%m%C%/HV9f(B */
+	daddr_tmt_fileno;	/* $B8=:_0LCV$N%U%!%$%kHV9f(B */
+	daddr_tmt_blkno;	/* $B8=:_0LCV$N%V%m%C%/HV9f(B */
 };
 
-/* MTIOCERRSTAT - $B%F!<%W%(%i!<>uBV$r<hF@$9$k%3%^%s%I(B $BMQ9=B$BN(B */
+/* MTIOCERRSTAT - $B%F!<%W%(%i!<>uBV$r<hF@$9$k%3%^%s%IMQ9=B$BN(B */
 /* $B8=:_$O!"(BSCSI $B%F!<%WMQ$N$_%5%]!<%H$5$l$F$$$^$9!#(B */
 struct scsi_tape_errors {
-        /*
-         * $BA`:nMQ$K(B SCSI Check Condition $B$r=q$-=P$9%3%^%s%I$N(B
-         * $B:G8e$N<B9T7k2L$+$i!"$3$l$i$N%a%s%P$,J];}$5$l$^$9!#(B
-         * MTIOCERRSTAT $B$rH/9T$9$k$HJ];}$5$l$F$$$?%a%s%P$,%/%j%"$5$l$^$9!#(B  
- */
-u_int8_t io_sense[32];/* $B%G!<%?(B I/O $BMQ$N:G=*%;%s%9%G!<%?(B */
-u_int32_t io_resid;/* $B:G8e$N%G!<%?(B I/O $B$+$i$N;D$j%+%&%s%?(B */
-u_int8_t io_cdb[16];/* $B:G=*%;%s%9%G!<%?$r:n$C$?%3%^%s%I(B */
-u_int8_t ctl_sense[32];/* $B@)8f(B I/O $BMQ$N:G=*%;%s%9%G!<%?(B */
-u_int32_t ctl_resid;/* $B:G8e$N@)8f(B I/O $B$+$i$N;D$j%+%&%s%?(B */
-u_int8_t ctl_cdb[16];/* $B:G=*@)8f%;%s%9%G!<%?$r:n$C$?%3%^%s%I(B */
-/*
-         * $B$3$l$i$O!"FI$_=q$-;~$NN_@Q%(%i!<%+%&%s%?$G$9!#(B
-         * ( $B$I$N$h$&$KN_@Q%(%i!<%+%&%s%?$r%j%;%C%H$9$k$+$O(B
-         * $B$^$@7h$^$C$F$$$^$;$s!#(B)
-         * ( $B$^$@<BAu$5$l$F$$$^$;$s$,!">l=j$@$1$O3NJ]$7$F$"$j$^$9!#(B)
- */
-struct {
-u_int32_t retries;/* $B<B9T$7$?%j%H%i%$$NAm?t(B */
-u_int32_t corrected;/* $B<B9T$7$?8m$jD{@5$NAm?t(B */ 
-u_int32_t processed;/* $B8m$jD{@5$N@.8yAm?t(B */
-u_int32_t failures;/* $B8m$jD{@5(B / $B%j%H%i%$<:GTAm?t(B */
-u_int64_t nbytes;/* $B=hM}$7$?Am%P%$%H?t(B */
-} wterr, rderr;
+	/*
+	 * $BA`:nMQ$K(B SCSI Check Condition $B$r=q$-=P$9%3%^%s%I$N(B
+	 * $B:G8e$N<B9T7k2L$+$i!"$3$l$i$N%a%s%P$,J];}$5$l$^$9!#(B
+	 * MTIOCERRSTAT $B$rH/9T$9$k$HJ];}$5$l$F$$$?%a%s%P$,%/%j%"$5$l$^$9!#(B  
+	 */
+	u_int8_t io_sense[32];	/* $B%G!<%?(B I/O $BMQ$N:G=*%;%s%9%G!<%?(B */
+	u_int32_t io_resid;	/* $B:G8e$N%G!<%?(B I/O $B$+$i$N;D$j%+%&%s%?(B */
+	u_int8_t io_cdb[16];	/* $B:G=*%;%s%9%G!<%?$r:n$C$?%3%^%s%I(B */
+	u_int8_t ctl_sense[32];	/* $B@)8f(B I/O $BMQ$N:G=*%;%s%9%G!<%?(B */
+	u_int32_t ctl_resid;	/* $B:G8e$N@)8f(B I/O $B$+$i$N;D$j%+%&%s%?(B */
+	u_int8_t ctl_cdb[16];	/* $B:G=*@)8f%;%s%9%G!<%?$r:n$C$?%3%^%s%I(B */
+	/*
+	 * $B$3$l$i$O!"FI$_=q$-;~$NN_@Q%(%i!<%+%&%s%?$G$9!#(B
+	 * ($B$I$N$h$&$KN_@Q%(%i!<%+%&%s%?$r%j%;%C%H$9$k$+$O(B
+	 * $B$^$@7h$^$C$F$$$^$;$s!#(B)
+	 * ($B$^$@<BAu$5$l$F$$$^$;$s$,!">l=j$@$1$O3NJ]$7$F$"$j$^$9!#(B)
+	 */
+	struct {
+		u_int32_t retries;	/* $B<B9T$7$?%j%H%i%$$NAm?t(B */
+		u_int32_t corrected;	/* $B<B9T$7$?8m$jD{@5$NAm?t(B */ 
+		u_int32_t processed;	/* $B8m$jD{@5$N@.8yAm?t(B */
+		u_int32_t failures;	/* $B8m$jD{@5(B / $B%j%H%i%$<:GTAm?t(B */
+		u_int64_t nbytes;	/* $B=hM}$7$?Am%P%$%H?t(B */
+	} wterr, rderr;
 };
 
 union mterrstat {
-struct scsi_tape_errors scsi_errstat;
-char _reserved_padding[256];
+	struct scsi_tape_errors scsi_errstat;
+	char _reserved_padding[256];
 };
 /*
  * mt_type $B%P%$%HMQDj?t!#$3$l$i$NDj?t$O!"%j%9%H$5$l$F$$$k(B
  * $B%?%$%W$H8_49@-$N$"$k%3%s%H%m!<%i$GF10l$N$b$N$G$9!#(B
  */
-#defineMT_ISTS0x01/* TS-11 */
-#defineMT_ISHT0x02/* TM03 $B%^%9%P%9(B: TE16, TU45, TU77 */
-#defineMT_ISTM0x03/* TM11/TE10 $B%f%K%P%9(B */
-#defineMT_ISMT0x04/* TM78/TU78 $B%f%K%P%9(B */
-#defineMT_ISUT0x05/* $B%f%K%P%9>e$N(B SI TU-45 $B%(%_%e%l!<%7%g%s(B */
-#defineMT_ISCPC0x06/* SUN */
-#defineMT_ISAR0x07/* SUN */
-#defineMT_ISTMSCP0x08/* DEC TMSCP $B%W%m%H%3%k(B (TU81, TK50) */
-#define MT_ISCY0x09/* CCI Cipher */
-#define MT_ISCT0x0a/* HP 1/4 $B%F!<%W(B */
-#define MT_ISFHP0x0b/* HP 7980 1/2 $B%F!<%W(B */
-#define MT_ISEXABYTE0x0c/* Exabyte */
-#define MT_ISEXA82000x0c/* Exabyte EXB-8200 */
-#define MT_ISEXA85000x0d/* Exabyte EXB-8500 */
-#define MT_ISVIPER10x0e/* Archive Viper-150 */
-#define MT_ISPYTHON0x0f/* Archive Python (DAT) */
-#define MT_ISHPDAT0x10/* HP 35450A DAT $B%I%i%$%V(B */
-#define MT_ISMFOUR0x11/* M4 Data 1/2 9 $B%H%i%C%/(B $B%I%i%$%V(B */
-#define MT_ISTK500x12/* DEC SCSI TK50 */
-#define MT_ISMT020x13/* Emulex MT02 SCSI $B%F!<%W%3%s%H%m!<%i(B */
+#defineMT_ISTS		0x01	/* TS-11 */
+#defineMT_ISHT		0x02	/* TM03 $B%^%9%P%9(B: TE16, TU45, TU77 */
+#defineMT_ISTM		0x03	/* TM11/TE10 $B%f%K%P%9(B */
+#defineMT_ISMT		0x04	/* TM78/TU78 $B%f%K%P%9(B */
+#defineMT_ISUT		0x05	/* $B%f%K%P%9>e$N(B SI TU-45 $B%(%_%e%l!<%7%g%s(B */
+#defineMT_ISCPC		0x06	/* SUN */
+#defineMT_ISAR		0x07	/* SUN */
+#defineMT_ISTMSCP	0x08	/* DEC TMSCP $B%W%m%H%3%k(B (TU81, TK50) */
+#define MT_ISCY		0x09	/* CCI Cipher */
+#define MT_ISCT		0x0a	/* HP 1/4 $B%F!<%W(B */
+#define MT_ISFHP	0x0b	/* HP 7980 1/2 $B%F!<%W(B */
+#define MT_ISEXABYTE	0x0c	/* Exabyte */
+#define MT_ISEXA8200	0x0c	/* Exabyte EXB-8200 */
+#define MT_ISEXA8500	0x0d	/* Exabyte EXB-8500 */
+#define MT_ISVIPER1	0x0e	/* Archive Viper-150 */
+#define MT_ISPYTHON	0x0f	/* Archive Python (DAT) */
+#define MT_ISHPDAT	0x10	/* HP 35450A DAT $B%I%i%$%V(B */
+#define MT_ISMFOUR	0x11	/* M4 Data 1/2 9 $B%H%i%C%/(B $B%I%i%$%V(B */
+#define MT_ISTK50	0x12	/* DEC SCSI TK50 */
+#define MT_ISMT02	0x13    /* Emulex MT02 SCSI $B%F!<%W%3%s%H%m!<%i(B */
 
 /* $B<'5$%F!<%W(B I/O $B@)8f%3%^%s%I(B */
-#defineMTIOCTOP_IOW('m', 1, struct mtop)/* $B<'5$%F!<%W$rA`:n$9$k(B */
-#defineMTIOCGET_IOR('m', 2, struct mtget)/* $B%F!<%W>uBV<hF@(B */
+#define	MTIOCTOP_IOW('m', 1, struct mtop)	/* $B<'5$%F!<%W$rA`:n$9$k(B */
+#define	MTIOCGET_IOR('m', 2, struct mtget)	/* $B%F!<%W>uBV<hF@(B */
 /* $B<!$N(B 2 $B$D$N%3%^%s%I$O$I$3$G$b;HMQ$5$l$F$$$J$$$h$&$G$9!#(B */
-#define MTIOCIEOT_IO('m', 3)/* EOT $B%(%i!<$rL5;k(B */
-#define MTIOCEEOT_IO('m', 4)/* EOT $B%(%i!<M-8z(B */
+#define MTIOCIEOT_IO('m', 3)			/* EOT $B%(%i!<$rL5;k(B */
+#define MTIOCEEOT_IO('m', 4)			/* EOT $B%(%i!<M-8z(B */
 /*
- * 32 $B%P%$%H(B type 2 $B9=B$$r%U%k%5%]!<%H$9$k(B SCSI-3 SCC ( $B%9%H%j!<%`(B
- * $B%G%P%$%9(B ) $B$,$b$C$H=P$F$/$l$P!";d$?$A$O!"(B
- * 64 $B%S%C%H$N%V%m%C%/!"O@M}%U%!%$%k%l%3!<%IHV9f$J$I$N$h$&$JFCD'$N(B
- * $B$"$k$b$N$X$HJQ$o$C$F$$$/%G%P%$%9$r(B ioctl $B$,$9$Y$F%5%]!<%H$9$k$h$&$K(B
- * $B9M$(D>$5$J$/$F$O$$$1$J$$$G$7$g$&!#(B
- */
-#defineMTIOCRDSPOS_IOR('m', 5, u_int32_t)/* $BO@M}%V%m%C%/%"%I%l%9$r<hF@(B */
-#defineMTIOCRDHPOS_IOR('m', 6, u_int32_t)/* $B%O!<%I%&%'%"%V%m%C%/%"%I%l%9$r<hF@(B */
-#defineMTIOCSLOCATE_IOW('m', 5, u_int32_t)/* $BO@M}%V%m%C%/%"%I%l%9$rC5$9(B */
-#defineMTIOCHLOCATE_IOW('m', 6, u_int32_t)/* $B%O!<%I%&%'%"%V%m%C%/%"%I%l%9$rC5$9(B */
-#defineMTIOCERRSTAT_IOR('m', 7, union mterrstat)/* $B%F!<%W$N%(%i!<$r<hF@(B */
+ * 32 $B%P%$%H(B type 2 $B9=B$$r%U%k%5%]!<%H$9$k(B SCSI-3 SCC ($B%9%H%j!<%`(B
+ * $B%G%P%$%9(B) $B$,$b$C$H=P8=$9$k$H$-$K$O!"$3$N;EMM$,BP>]$H$9$kA4%(%s%F%#%F%#(B
+ * (64 $B%S%C%H$N%V%m%C%/!"O@M}%U%!%$%k%l%3!<%IHV9fEy(B) $B$r$3$l$i$N(B ioctl $B$,(B
+ * $B07$($k$h$&$K!":F9M$9$kI,MW$,$"$k$G$7$g$&!#(B
+ */
+#define	MTIOCRDSPOS	_IOR('m', 5, u_int32_t) /* $BO@M}%V%m%C%/%"%I%l%9$r<hF@(B */
+#define	MTIOCRDHPOS     _IOR('m', 6, u_int32_t) /* $B%O!<%I%&%'%"%V%m%C%/%"%I%l%9$r<hF@(B */
+#define	MTIOCSLOCATE	_IOW('m', 5, u_int32_t) /* $BO@M}%V%m%C%/%"%I%l%9$rC5$9(B */
+#define	MTIOCHLOCATE	_IOW('m', 6, u_int32_t) /* $B%O!<%I%&%'%"%V%m%C%/%"%I%l%9$rC5$9(B */
+#define MTIOCERRSTAT	_IOR('m', 7, union mterrstat) /* $B%F!<%W$N%(%i!<$r<hF@(B */
 
 #ifndef KERNEL
 #defineDEFTAPE"/dev/nrsa0"
@@ -270,18 +268,18 @@
  * $B%^%$%J%G%P%$%9HV9f(B
  */
 
-#defineT_UNIT003/* $B%f%K%C%H$NA*Br(B */
-#defineT_NOREWIND004/* $B4,$-La$7$r9T$o$J$$(B */
-#defineT_DENSEL030/* $B5-O?L)EY$NA*Br(B */
-#defineT_800BPI000/* 800 bpi $B$rA*Br(B */
-#defineT_1600BPI010/* 1600 bpi $B$rA*Br(B */
-#defineT_6250BPI020/* 6250 bpi $B$rA*Br(B */
-#defineT_BADBPI030/* $BL$Dj5ACM$rA*Br(B */
+#define	T_UNIT		003		/* $B%f%K%C%H$NA*Br(B */
+#define	T_NOREWIND	004		/* $B4,$-La$7$r9T$o$J$$(B */
+#define	T_DENSEL	030		/* $B5-O?L)EY$NA*Br(B */
+#define	T_800BPI	000		/* 800 bpi $B$rA*Br(B */
+#define	T_1600BPI	010		/* 1600 bpi $B$rA*Br(B */
+#define	T_6250BPI	020		/* 6250 bpi $B$rA*Br(B */
+#define T_BADBPI	030		/* $BL$Dj5ACM$rA*Br(B */
 #endif
 #endif /* _SYS_MTIO_H_ */
 .Ed
 .Pp
-.Sh $B%U%!%$%k(B
+.Sh $B4XO"%U%!%$%k(B
 .Bl -tag -width /dev/[nr]sa* -compact
 .It Pa /dev/[nr]sa*
 .El
@@ -292,7 +290,7 @@
 .Sh $BNr;K(B
 .Nm mtio
 $B$N%^%K%e%"%k$O(B
-.Bx 4.2 .
+.Bx 4.2
 $B$GEP>l$7$^$7$?!#(B
 i386 $B%P!<%8%g%s$O:G=i$K(B
 .Fx 2.2 
--
$BKY@nOBM:(B
