From owner-man-jp-reviewer@jp.freebsd.org  Tue Jun  8 18:58:18 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id SAA88608;
	Tue, 8 Jun 1999 18:58:18 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from TYO203.gate.nec.co.jp (TYO203.gate.nec.co.jp [202.32.8.211])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id SAA88600
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 8 Jun 1999 18:58:16 +0900 (JST)
	(envelope-from mihara@prd.fc.nec.co.jp)
Received: from mailsv.nec.co.jp (mailsv-le1 [192.168.1.90])
	by TYO203.gate.nec.co.jp (8.9.1a/3.7W99051317) with ESMTP id SAA02785
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 8 Jun 1999 18:29:20 +0900 (JST)
Received: from ayrton.prd.fc.nec.co.jp (ayrton.prd.fc.nec.co.jp [10.32.194.1]) by mailsv.nec.co.jp (8.9.1a/3.7W-MAILSV-NEC) with ESMTP
	id SAA19203 for <man-jp-reviewer@jp.freebsd.org>; Tue, 8 Jun 1999 18:29:19 +0900 (JST)
Received: from oz.prd.fc.nec.co.jp.prd.fc.nec.co.jp (oz.prd.fc.nec.co.jp [10.32.193.3])
	by ayrton.prd.fc.nec.co.jp (8.8.8/3.6W-98052009) with ESMTP id SAA28089
	for <man-jp-reviewer@jp.freebsd.org>; Tue, 8 Jun 1999 18:29:18 +0900 (JST)
Message-Id: <199906080929.SAA28089@ayrton.prd.fc.nec.co.jp>
Date: Tue, 08 Jun 1999 18:29:06 +0900
From: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
To: man-jp-reviewer@jp.freebsd.org
User-Agent: Wanderlust/1.0.1 (The Look) WEMI/1.13.3 (Yaizu) FLIM/1.12.5 (Hirahata) MULE XEmacs/21.2  (beta15) (beta15) (Sakuragawa) (i386-unknown-freebsd3.2)
Organization: NEC Corporation, Tokyo Japan
MIME-Version: 1.0 (generated by WEMI 1.13.3 - "Yaizu")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990526
X-Sequence: man-jp-reviewer 1407
Subject: [man-jp-reviewer 1407] smb.4
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: mihara@prd.fc.nec.co.jp

$B;086$G$9!#(B

smb.4 $B$N=iLu$G$9!#$*4j$$$7$^$9!#(B
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
.\" Copyright (c) 1998, Nicolas Souchu
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"
.Dd October 25, 1998
.\" jpman %Id: smb.4,v 0.0 1999/02/22 16:13:56 horikawa Stab %
.Dt SMB 4
.Os FreeBSD
.Sh $BL>>N(B
.Nm smb
.Nd
SMB $BHFMQ(B I/O $B%G%P%$%9%I%i%$%P(B
.Sh $B=q<0(B
.Cd "device smb0 at smbus?"
.Sh $B2r@b(B
.Em smb
$B%-%c%i%/%?%G%P%$%9%I%i%$%P$O!"(B
$BA4$F$N(B
.Xr smbus 4
$B$N%$%s%9%?%s%9$KHFMQ$N(B I/O $B$rDs6!$7$^$9!#(B
SMB $B%G%P%$%9$r@)8f$9$k$?$a$K$O!"0J2<$N(B ioctl $B$G(B /dev/smb? $B$r;HMQ$7$^$9!#(B
.Pp
.Bl -column "$B%7%9%F%`4IM}%P%9(B ioctl" -compact
.It Em ioctl Ta Em $B@bL@(B
.It Sy SMB_QUICK_WRITE Ta "QuickWrite $B%3%^%s%I(B"
.It Sy SMB_QUICK_READ Ta "QuickRead $B%3%^%s%I(B"
.It Sy SMB_SENDB Ta "SendByte $B%3%^%s%I(B"
.It Sy SMB_RECVB Ta "ReceiveByte $B%3%^%s%I(B"
.It Sy SMB_WRITEB Ta "WriteByte $B%3%^%s%I(B"
.It Sy SMB_WRITEW Ta "WriteWord $B%3%^%s%I(B"
.It Sy SMB_READB Ta "ReadByte $B%3%^%s%I(B"
.It Sy SMB_READW Ta "ReadWord $B%3%^%s%I(B"
.It Sy SMB_PCALL Ta "ProcedureCall $B%3%^%s%I(B"
.It Sy SMB_BWRITE Ta "BlockWrite $B%3%^%s%I(B"
.It Sy SMB_BREAD Ta "BlockRead $B%3%^%s%I(B"
.El
.Pp
$B%i%$%H%k!<%A%s$r;H$&$N$O(B SMB_WRITEW ioctl $B$HEy2A$G$9!#(B
.Pp
.Sh $B4XO"9`L\(B
.Xr smbus 4
.Sh $BNr;K(B
.Nm
$B%^%K%e%"%k%Z!<%8$O(B
.Fx 3.0
$B$GEP>l$7$^$7$?!#(B
.Sh $B:n<T(B
$B$3$N%^%K%e%"%k%Z!<%8$O(B
.An Nicolas Souchu
$B$K$h$C$F=q$+$l$^$7$?!#(B
-- 
  Osamu MIHARA // NEC Printers Division
