xref: /freebsd/share/man/man4/fwohci.4 (revision ffc4f93e960d38b6f70d59409127f7562e40f916)
13c60ba66SKatsushi Kobayashi.\" Copyright (c) 1998,1999,2000 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.\"
323c60ba66SKatsushi Kobayashi.\"
33261295baSMarius Strobl.Dd December 24, 2020
343c60ba66SKatsushi Kobayashi.Dt FWOHCI 4
35a2931c09SRuslan Ermilov.Os
363c60ba66SKatsushi Kobayashi.Sh NAME
373c60ba66SKatsushi Kobayashi.Nm fwohci
388925c08fSChristian Brueffer.Nd OHCI FireWire chipset device driver
393c60ba66SKatsushi Kobayashi.Sh SYNOPSIS
401f12b08aSChristian BruefferTo compile this driver into the kernel,
411f12b08aSChristian Bruefferplace the following line in your
421f12b08aSChristian Bruefferkernel configuration file:
431f12b08aSChristian Brueffer.Bd -ragged -offset indent
448f720470SHidetoshi Shimokawa.Cd "device firewire"
451f12b08aSChristian Brueffer.Ed
461f12b08aSChristian Brueffer.Pp
471f12b08aSChristian BruefferAlternatively, to load the driver as a
481f12b08aSChristian Brueffermodule at boot time, place the following line in
491f12b08aSChristian Brueffer.Xr loader.conf 5 :
501f12b08aSChristian Brueffer.Bd -literal -offset indent
511f12b08aSChristian Bruefferfirewire_load="YES"
521f12b08aSChristian Brueffer.Ed
5337b996e9SHidetoshi Shimokawa.Pp
5437b996e9SHidetoshi ShimokawaTo disable physical access (see
5537b996e9SHidetoshi Shimokawa.Sx BUGS
5637b996e9SHidetoshi Shimokawasection for detail), put the following line in
5737b996e9SHidetoshi Shimokawa.Xr loader.conf 5 :
5837b996e9SHidetoshi Shimokawa.Bd -literal -offset indent
5937b996e9SHidetoshi Shimokawahw.firewire.phydma_enable=0
6037b996e9SHidetoshi Shimokawa.Ed
6146efac32SSimon L. B. Nielsen.Sh HARDWARE
623c60ba66SKatsushi KobayashiThe
633c60ba66SKatsushi Kobayashi.Nm
648925c08fSChristian Bruefferdriver provides support for PCI/CardBus FireWire interface cards.
6546efac32SSimon L. B. NielsenThe driver supports the following IEEE 1394 OHCI chipsets:
663c60ba66SKatsushi Kobayashi.Pp
6746efac32SSimon L. B. Nielsen.Bl -bullet -compact
6846efac32SSimon L. B. Nielsen.It
6946efac32SSimon L. B. NielsenAdaptec AHA-894x/AIC-5800
7046efac32SSimon L. B. Nielsen.It
7146efac32SSimon L. B. NielsenApple Pangea
7246efac32SSimon L. B. Nielsen.It
7346efac32SSimon L. B. NielsenApple UniNorth
7446efac32SSimon L. B. Nielsen.It
7546efac32SSimon L. B. NielsenIntel 82372FB
7646efac32SSimon L. B. Nielsen.It
776056489dSTom RhodesIOGEAR GUF320
786056489dSTom Rhodes.It
79ecc12766SWilko BulteLucent / Agere FW322/323
80a2931c09SRuslan Ermilov.It
818f720470SHidetoshi ShimokawaNEC uPD72861
82a2931c09SRuslan Ermilov.It
8346efac32SSimon L. B. NielsenNEC uPD72870
8446efac32SSimon L. B. Nielsen.It
8546efac32SSimon L. B. NielsenNEC uPD72871/2
8646efac32SSimon L. B. Nielsen.It
8746efac32SSimon L. B. NielsenNEC uPD72873
8846efac32SSimon L. B. Nielsen.It
8946efac32SSimon L. B. NielsenNEC uPD72874
9046efac32SSimon L. B. Nielsen.It
9146efac32SSimon L. B. NielsenNational Semiconductor CS4210
9246efac32SSimon L. B. Nielsen.It
9346efac32SSimon L. B. NielsenRicoh R5C551
9446efac32SSimon L. B. Nielsen.It
9546efac32SSimon L. B. NielsenRicoh R5C552
96a2931c09SRuslan Ermilov.It
97a2931c09SRuslan ErmilovSony CX3022
98a2931c09SRuslan Ermilov.It
9946efac32SSimon L. B. NielsenSony i.LINK (CXD3222)
10046efac32SSimon L. B. Nielsen.It
10146efac32SSimon L. B. NielsenTexas Instruments PCI4410A
10246efac32SSimon L. B. Nielsen.It
10346efac32SSimon L. B. NielsenTexas Instruments PCI4450
10446efac32SSimon L. B. Nielsen.It
10546efac32SSimon L. B. NielsenTexas Instruments PCI4451
10646efac32SSimon L. B. Nielsen.It
10746efac32SSimon L. B. NielsenTexas Instruments TSB12LV22
10846efac32SSimon L. B. Nielsen.It
10946efac32SSimon L. B. NielsenTexas Instruments TSB12LV23
11046efac32SSimon L. B. Nielsen.It
11146efac32SSimon L. B. NielsenTexas Instruments TSB12LV26
11246efac32SSimon L. B. Nielsen.It
11346efac32SSimon L. B. NielsenTexas Instruments TSB43AA22
11446efac32SSimon L. B. Nielsen.It
11546efac32SSimon L. B. NielsenTexas Instruments TSB43AB21/A/AI/A-EP
11646efac32SSimon L. B. Nielsen.It
11746efac32SSimon L. B. NielsenTexas Instruments TSB43AB22/A
11846efac32SSimon L. B. Nielsen.It
11946efac32SSimon L. B. NielsenTexas Instruments TSB43AB23
12046efac32SSimon L. B. Nielsen.It
12146efac32SSimon L. B. NielsenTexas Instruments TSB82AA2
12246efac32SSimon L. B. Nielsen.It
12346efac32SSimon L. B. NielsenVIA Fire II (VT6306)
1243c60ba66SKatsushi Kobayashi.El
1253c60ba66SKatsushi Kobayashi.Sh SEE ALSO
126a2931c09SRuslan Ermilov.Xr firewire 4 ,
1278f720470SHidetoshi Shimokawa.Xr fwe 4 ,
128c6885913SChristian Brueffer.Xr fwip 4 ,
129ace5be68SRuslan Ermilov.Xr sbp 4 ,
130ace5be68SRuslan Ermilov.Xr fwcontrol 8 ,
131ace5be68SRuslan Ermilov.Xr kldload 8
1323c60ba66SKatsushi Kobayashi.Sh HISTORY
1333c60ba66SKatsushi KobayashiThe
1343c60ba66SKatsushi Kobayashi.Nm
1353c60ba66SKatsushi Kobayashidevice driver first appeared in
1363c60ba66SKatsushi Kobayashi.Fx 5.0 .
1373c60ba66SKatsushi Kobayashi.Sh AUTHORS
138ace5be68SRuslan Ermilov.An -nosplit
1393c60ba66SKatsushi KobayashiThe
1403c60ba66SKatsushi Kobayashi.Nm
1418f720470SHidetoshi Shimokawadevice driver was written by
1428f720470SHidetoshi Shimokawa.An Katsushi Kobayashi
1438f720470SHidetoshi Shimokawaand
1448f720470SHidetoshi Shimokawa.An Hidetoshi Shimokawa .
145f5bff460SHidetoshi Shimokawa.Sh BUGS
146f5bff460SHidetoshi ShimokawaThe driver allows physical access from any nodes on the bus by default.
147f5bff460SHidetoshi ShimokawaThis means that any devices on the bus can read and modify any memory space
148af755265SChristian Bruefferwhich can be accessed by an IEEE 1394 OHCI chip.
149ace5be68SRuslan ErmilovIt is allowed mostly for
150ace5be68SRuslan Ermilov.Xr sbp 4
151ace5be68SRuslan Ermilovdevices.
152ace5be68SRuslan ErmilovThis should be changed to allow it only for specific devices.
153ace5be68SRuslan ErmilovAnyway, FireWire is a bus and not expected to be connected with
154f5bff460SHidetoshi Shimokawaun-trustable devices because a node can monitor all the traffic.
155