Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

fwohci — OHCI FireWire chipset device driver

Authors

       The fwohci device driver was written by Katsushi Kobayashi and Hidetoshi Shimokawa.

Bugs

       The driver allows physical access from any nodes on the bus by default.  This means that any  devices  on
       the  bus  can  read  and  modify any memory space which can be accessed by an IEEE 1394 OHCI chip.  It is
       allowed mostly for sbp(4) devices.  This should be  changed  to  allow  it  only  for  specific  devices.
       Anyway,  FireWire  is a bus and not expected to be connected with un-trustable devices because a node can
       monitor all the traffic.

Debian                                            March 3, 2008                                        FWOHCI(4)

Hardware

       The  fwohci  driver  provides  support for PCI/CardBus FireWire interface cards.  The driver supports the
       following IEEE 1394 OHCI chipsets:

       •   Adaptec AHA-894x/AIC-5800
       •   Apple Pangea
       •   Apple UniNorth
       •   Intel 82372FB
       •   IOGEAR GUF320
       •   Lucent / Agere FW322/323
       •   NEC uPD72861
       •   NEC uPD72870
       •   NEC uPD72871/2
       •   NEC uPD72873
       •   NEC uPD72874
       •   National Semiconductor CS4210
       •   Ricoh R5C551
       •   Ricoh R5C552
       •   Sony CX3022
       •   Sony i.LINK (CXD3222)
       •   Sun PCIO-2 (RIO 1394)
       •   Texas Instruments PCI4410A
       •   Texas Instruments PCI4450
       •   Texas Instruments PCI4451
       •   Texas Instruments TSB12LV22
       •   Texas Instruments TSB12LV23
       •   Texas Instruments TSB12LV26
       •   Texas Instruments TSB43AA22
       •   Texas Instruments TSB43AB21/A/AI/A-EP
       •   Texas Instruments TSB43AB22/A
       •   Texas Instruments TSB43AB23
       •   Texas Instruments TSB82AA2
       •   VIA Fire II (VT6306)

History

       The fwohci device driver first appeared in FreeBSD 5.0.

Name

       fwohci — OHCI FireWire chipset device driver

See Also

firewire(4), fwe(4), fwip(4), sbp(4), fwcontrol(8), kldload(8)

Synopsis

       To compile this driver into the kernel, place the following line in your kernel configuration file:

             devicefirewire

       Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

             firewire_load="YES"

       To disable physical access (see “BUGS” section for detail), put the following line in loader.conf(5):

             hw.firewire.phydma_enable=0

See Also