2002-09-13 12:31:56 +00:00
|
|
|
.\" Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
|
|
|
|
.\" 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.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the acknowledgement as bellow:
|
|
|
|
.\"
|
|
|
|
.\" This product includes software developed by K. Kobayashi and H. Shimokawa
|
|
|
|
.\"
|
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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.
|
2002-12-10 14:21:55 +00:00
|
|
|
.\"
|
2002-09-13 12:31:56 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2012-05-12 00:30:54 +00:00
|
|
|
.Dd May 11, 2012
|
2002-09-13 12:31:56 +00:00
|
|
|
.Dt FIREWIRE 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm firewire
|
|
|
|
.Nd IEEE1394 High-performance Serial Bus
|
|
|
|
.Sh SYNOPSIS
|
2006-04-01 10:37:35 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following line in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
2002-09-13 12:31:56 +00:00
|
|
|
.Cd "device firewire"
|
2006-04-01 10:37:35 +00:00
|
|
|
.Ed
|
2002-09-13 12:31:56 +00:00
|
|
|
.Pp
|
2006-04-01 10:37:35 +00:00
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
firewire_load="YES"
|
|
|
|
.Ed
|
2002-09-13 12:31:56 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Fx
|
2002-12-10 14:21:55 +00:00
|
|
|
provides machine-independent bus support and raw drivers for
|
|
|
|
.Nm
|
2002-09-13 12:31:56 +00:00
|
|
|
interfaces.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver consists of two layers: the controller and the
|
|
|
|
bus layer.
|
|
|
|
The controller attaches to a physical bus
|
|
|
|
(like
|
|
|
|
.Xr pci 4 ) .
|
|
|
|
The
|
2002-12-10 14:21:55 +00:00
|
|
|
.Nm
|
|
|
|
bus attaches to the controller.
|
2003-12-17 01:13:13 +00:00
|
|
|
Additional drivers can be attached to the bus.
|
2002-09-13 12:31:56 +00:00
|
|
|
.Pp
|
|
|
|
Up to 63 devices, including the host itself, can be attached to
|
2002-12-10 14:21:55 +00:00
|
|
|
a
|
|
|
|
.Nm
|
|
|
|
bus.
|
2003-12-17 01:13:13 +00:00
|
|
|
The root node is dynamically assigned with a PHY device function.
|
2002-12-10 14:21:55 +00:00
|
|
|
Also, the other
|
|
|
|
.Nm
|
|
|
|
bus specific parameters,
|
|
|
|
e.g., node ID, cycle master, isochronous resource manager and bus
|
2003-01-25 15:24:59 +00:00
|
|
|
manager, are dynamically assigned, after bus reset is initiated.
|
2003-12-17 01:13:13 +00:00
|
|
|
On the
|
2002-12-10 14:21:55 +00:00
|
|
|
.Nm
|
2004-12-14 19:53:30 +00:00
|
|
|
bus, every device is identified by an EUI 64 address.
|
2012-05-11 21:25:59 +00:00
|
|
|
.Pp
|
2012-05-12 19:59:37 +00:00
|
|
|
Debugging over the firewire interace is possible with the
|
|
|
|
.Xr dcons 4
|
2012-05-11 21:25:59 +00:00
|
|
|
driver.
|
|
|
|
Please see
|
2012-05-12 19:59:37 +00:00
|
|
|
.Pa http://wiki.freebsd.org/DebugWithDcons
|
2012-05-11 21:25:59 +00:00
|
|
|
for details on how to setup debugging with firewire.
|
2003-02-05 06:41:19 +00:00
|
|
|
.Sh FILES
|
2003-02-24 22:53:26 +00:00
|
|
|
.Bl -tag -compact
|
2003-08-05 03:13:14 +00:00
|
|
|
.It Pa /dev/fw0.0
|
|
|
|
.It Pa /dev/fwmem0.0
|
2003-02-05 06:41:19 +00:00
|
|
|
.El
|
2002-09-13 12:31:56 +00:00
|
|
|
.Sh SEE ALSO
|
2012-05-11 21:25:59 +00:00
|
|
|
.Xr dcons 4 ,
|
2003-01-25 15:24:59 +00:00
|
|
|
.Xr fwe 4 ,
|
2004-12-14 19:53:30 +00:00
|
|
|
.Xr fwip 4 ,
|
2002-09-13 12:31:56 +00:00
|
|
|
.Xr fwohci 4 ,
|
|
|
|
.Xr pci 4 ,
|
2003-02-05 06:41:19 +00:00
|
|
|
.Xr sbp 4 ,
|
2004-12-14 19:53:30 +00:00
|
|
|
.Xr eui64 5 ,
|
2003-02-24 22:53:26 +00:00
|
|
|
.Xr fwcontrol 8 ,
|
|
|
|
.Xr kldload 8 ,
|
2003-02-05 06:41:19 +00:00
|
|
|
.Xr sysctl 8
|
2002-09-13 12:31:56 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver first appeared in
|
|
|
|
.Fx 5.0 .
|
|
|
|
.Sh AUTHORS
|
2002-12-10 14:21:55 +00:00
|
|
|
.An -nosplit
|
2002-09-13 12:31:56 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Katsushi Kobayashi
|
|
|
|
and
|
|
|
|
.An Hidetoshi Shimokawa
|
|
|
|
for the
|
2003-01-25 15:24:59 +00:00
|
|
|
.Fx
|
2002-09-13 12:31:56 +00:00
|
|
|
project.
|
2003-02-12 06:48:45 +00:00
|
|
|
.Sh BUGS
|
2003-02-24 22:53:26 +00:00
|
|
|
See
|
|
|
|
.Xr fwohci 4
|
2004-03-18 18:27:04 +00:00
|
|
|
for security notes.
|