xref: /freebsd/share/man/man4/firewire.4 (revision ffc4f93e960d38b6f70d59409127f7562e40f916)
13c60ba66SKatsushi Kobayashi.\" Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
23c60ba66SKatsushi Kobayashi.\" All rights reserved.
33c60ba66SKatsushi Kobayashi.\"
43c60ba66SKatsushi Kobayashi.\" Redistribution and use in source and binary forms, with or without
53c60ba66SKatsushi Kobayashi.\" modification, are permitted provided that the following conditions
63c60ba66SKatsushi Kobayashi.\" are met:
73c60ba66SKatsushi Kobayashi.\" 1. Redistributions of source code must retain the above copyright
83c60ba66SKatsushi Kobayashi.\"    notice, this list of conditions and the following disclaimer.
93c60ba66SKatsushi Kobayashi.\" 2. Redistributions in binary form must reproduce the above copyright
103c60ba66SKatsushi Kobayashi.\"    notice, this list of conditions and the following disclaimer in the
113c60ba66SKatsushi Kobayashi.\"    documentation and/or other materials provided with the distribution.
123c60ba66SKatsushi Kobayashi.\" 3. All advertising materials mentioning features or use of this software
13*ffc4f93eSBenedict Reuschling.\"    must display the acknowledgement as below:
143c60ba66SKatsushi Kobayashi.\"
153c60ba66SKatsushi Kobayashi.\"    This product includes software developed by K. Kobayashi and H. Shimokawa
163c60ba66SKatsushi Kobayashi.\"
173c60ba66SKatsushi Kobayashi.\" 4. The name of the author may not be used to endorse or promote products
183c60ba66SKatsushi Kobayashi.\"    derived from this software without specific prior written permission.
193c60ba66SKatsushi Kobayashi.\"
203c60ba66SKatsushi Kobayashi.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
213c60ba66SKatsushi Kobayashi.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
223c60ba66SKatsushi Kobayashi.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
233c60ba66SKatsushi Kobayashi.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
243c60ba66SKatsushi Kobayashi.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
253c60ba66SKatsushi Kobayashi.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
263c60ba66SKatsushi Kobayashi.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
273c60ba66SKatsushi Kobayashi.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
283c60ba66SKatsushi Kobayashi.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
293c60ba66SKatsushi Kobayashi.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
303c60ba66SKatsushi Kobayashi.\" POSSIBILITY OF SUCH DAMAGE.
313c60ba66SKatsushi Kobayashi.\"
32eabfcbbfSPauAmma.Dd June 6, 2022
333c60ba66SKatsushi Kobayashi.Dt FIREWIRE 4
343c60ba66SKatsushi Kobayashi.Os
353c60ba66SKatsushi Kobayashi.Sh NAME
363c60ba66SKatsushi Kobayashi.Nm firewire
373c60ba66SKatsushi Kobayashi.Nd IEEE1394 High-performance Serial Bus
383c60ba66SKatsushi Kobayashi.Sh SYNOPSIS
397573f754SChristian BruefferTo compile this driver into the kernel,
407573f754SChristian Bruefferplace the following line in your
417573f754SChristian Bruefferkernel configuration file:
427573f754SChristian Brueffer.Bd -ragged -offset indent
433c60ba66SKatsushi Kobayashi.Cd "device firewire"
447573f754SChristian Brueffer.Ed
453c60ba66SKatsushi Kobayashi.Pp
467573f754SChristian BruefferAlternatively, to load the driver as a
477573f754SChristian Brueffermodule at boot time, place the following line in
487573f754SChristian Brueffer.Xr loader.conf 5 :
497573f754SChristian Brueffer.Bd -literal -offset indent
507573f754SChristian Bruefferfirewire_load="YES"
517573f754SChristian Brueffer.Ed
523c60ba66SKatsushi Kobayashi.Sh DESCRIPTION
533c60ba66SKatsushi Kobayashi.Fx
54a2931c09SRuslan Ermilovprovides machine-independent bus support and raw drivers for
55a2931c09SRuslan Ermilov.Nm
563c60ba66SKatsushi Kobayashiinterfaces.
573c60ba66SKatsushi Kobayashi.Pp
583c60ba66SKatsushi KobayashiThe
593c60ba66SKatsushi Kobayashi.Nm
603c60ba66SKatsushi Kobayashidriver consists of two layers: the controller and the
613c60ba66SKatsushi Kobayashibus layer.
623c60ba66SKatsushi KobayashiThe controller attaches to a physical bus
633c60ba66SKatsushi Kobayashi(like
643c60ba66SKatsushi Kobayashi.Xr pci 4 ) .
653c60ba66SKatsushi KobayashiThe
66a2931c09SRuslan Ermilov.Nm
67a2931c09SRuslan Ermilovbus attaches to the controller.
682883d48bSChristian BruefferAdditional drivers can be attached to the bus.
693c60ba66SKatsushi Kobayashi.Pp
703c60ba66SKatsushi KobayashiUp to 63 devices, including the host itself, can be attached to
71a2931c09SRuslan Ermilova
72a2931c09SRuslan Ermilov.Nm
73a2931c09SRuslan Ermilovbus.
742883d48bSChristian BruefferThe root node is dynamically assigned with a PHY device function.
75a2931c09SRuslan ErmilovAlso, the other
76a2931c09SRuslan Ermilov.Nm
77a2931c09SRuslan Ermilovbus specific parameters,
78a2931c09SRuslan Ermilove.g., node ID, cycle master, isochronous resource manager and bus
798f720470SHidetoshi Shimokawamanager, are dynamically assigned, after bus reset is initiated.
802883d48bSChristian BruefferOn the
81a2931c09SRuslan Ermilov.Nm
8231d875e2SChristian Bruefferbus, every device is identified by an EUI 64 address.
83a20f92a2SWarner Losh.Pp
84eabfcbbfSPauAmmaDebugging over the firewire interface is possible with the
85a20f92a2SWarner Losh.Xr dcons 4
86a20f92a2SWarner Loshdriver.
87a20f92a2SWarner LoshPlease see
88eabfcbbfSPauAmma.Lk https://docs.freebsd.org/en/books/developers-handbook/kerneldebug/#kerneldebug-dcons
89a20f92a2SWarner Loshfor details on how to setup debugging with firewire.
9083fa407cSHidetoshi Shimokawa.Sh FILES
917e3de069SJoel Dahl.Bl -tag -width "Pa /dev/fwmem0.0" -compact
92cdd1e692SHidetoshi Shimokawa.It Pa /dev/fw0.0
93cdd1e692SHidetoshi Shimokawa.It Pa /dev/fwmem0.0
9483fa407cSHidetoshi Shimokawa.El
953c60ba66SKatsushi Kobayashi.Sh SEE ALSO
96a20f92a2SWarner Losh.Xr dcons 4 ,
978f720470SHidetoshi Shimokawa.Xr fwe 4 ,
9831d875e2SChristian Brueffer.Xr fwip 4 ,
993c60ba66SKatsushi Kobayashi.Xr fwohci 4 ,
1003c60ba66SKatsushi Kobayashi.Xr pci 4 ,
10183fa407cSHidetoshi Shimokawa.Xr sbp 4 ,
10231d875e2SChristian Brueffer.Xr eui64 5 ,
103ace5be68SRuslan Ermilov.Xr fwcontrol 8 ,
104ace5be68SRuslan Ermilov.Xr kldload 8 ,
10583fa407cSHidetoshi Shimokawa.Xr sysctl 8
1063c60ba66SKatsushi Kobayashi.Sh HISTORY
1073c60ba66SKatsushi KobayashiThe
1083c60ba66SKatsushi Kobayashi.Nm
1093c60ba66SKatsushi Kobayashidriver first appeared in
1103c60ba66SKatsushi Kobayashi.Fx 5.0 .
1113c60ba66SKatsushi Kobayashi.Sh AUTHORS
112a2931c09SRuslan Ermilov.An -nosplit
1133c60ba66SKatsushi KobayashiThe
1143c60ba66SKatsushi Kobayashi.Nm
1153c60ba66SKatsushi Kobayashidriver was written by
1163c60ba66SKatsushi Kobayashi.An Katsushi Kobayashi
1173c60ba66SKatsushi Kobayashiand
1183c60ba66SKatsushi Kobayashi.An Hidetoshi Shimokawa
1193c60ba66SKatsushi Kobayashifor the
1208f720470SHidetoshi Shimokawa.Fx
1213c60ba66SKatsushi Kobayashiproject.
122f5bff460SHidetoshi Shimokawa.Sh BUGS
123ace5be68SRuslan ErmilovSee
124ace5be68SRuslan Ermilov.Xr fwohci 4
1256ac6f116SChristian Bruefferfor security notes.
126