src/add-ons/kernel/bus_managers/firewire/00README, v 0.1 2007/08/31 09:10:08 JiSheng ZhangIEEE 1394 support for haiku1. IntroductionThese directories contains IEEE1394(FireWire) driver which is myGSOC2007 project work under my mentor Jerome Duval's guidance.Please note this driver is still under development. You can find latestversion from Haiku's repository:The driver consists of 13 parts:DIRECTORY: src/add-ons/kernel/bus_managers/firewire/- fwohci.c/fwohci_pci.cOHCI driver- IEEE1394 link/phy chip control- firewire.cChip independent driver- CSR- Transaction- Bus management- fwdma.callocate memory and other convenient functions for DMA.- fwmem.cphysical memory of a remote node.- firewire_module.cimplementation of firewire module interfaces- util.cmemory allocation. Copied from haiku's rtl8169 driver- timer.ctimer implemetation. Copied from haiku's rtl8169 driver- fwcrom.c(This file is in src/bin/fwcontrol directory)handle with config romDIRECTORY: src/add-ons/kernel/drivers/bus/firewire/- fw_raw.cCharacter devices for userlandDIRECTORY: src/bin/fwcontrol/- fwcontrol.c (userland)Bus management function for user.show topology map, change gap count, bus reset, etc.- eui64.chandle with EUI64 ID- fwdv.cdv format support- fwmpegts.cmpegts format support2. Installation- svn up to update the source- jam -q firewire.- jam -q fw_raw- jam -q fwcontrol- jam -q dpc(This file is in src/add-ons/kernel/generic/dpc)- cp the firewire to haiku's /system/add-ons/kernel/bus_managers- cp the dpc to haiku's /system/add-ons/kernel/generic- cp the fw_raw to haiku's drivers/bin and make a softlink in drivers/dev3. DVI have tested my minidv: MV920. It works OK.4. SBPThis support is still under development5. Tested HWOS- HAIKU/i386* Not tested on SMP.* Not tested on big-endian machine...OHCI- Texas Instruments TSB12LV26 (PCI)* There might be phy probing problem but most of the OHCIchips should work.Physical layer chip- This does not matter, most physical layer chip should work6. ExamplefwcontrolOutput a list of devices that are connected to the busfwcontrol -tShow the topology mapfwcontrol -c 0Show the config rom of node 0fwcontrol -rtrigger bus resetfwcontrol -R mini.dvReceive DV or MPEG TS stream and save it in mini.dv. Press Ctrl-C tostop receiving data.Note: the program will try to guess which mode firstfwcontrol -M d -R mini.dvExplicitly specify receiving via DV mode.References:[1] IEEE 1394-1995[2] IEEE 1394a-2000[3] IEEE 1212-2001[4] IEC 61883[5] http://developer.intel.com/technology/1394/download/ohci_11.htm[6] FreeBSD's currentJiSheng Zhangjszhang3@gmail.com