cvs commit: src/sys/dev/firewire firewire.c firewire.h
firewire_phy.h firewirereg.h fwcrom.c fwdev.c fwdma.c fwdma.h
fwmem.c fwmem.h fwohci.c fwohci_pci.c fwohcireg.h fwohcivar.h
iec13213.h iec68113.h if_fwe.c if_fwevar.h sbp.c ...
Maxime Henrion
mux at freebsd.org
Thu Apr 17 05:46:38 PDT 2003
Hidetoshi Shimokawa wrote:
> simokawa 2003/04/16 20:38:03 PDT
>
> FreeBSD src repository
>
> Modified files:
> sys/dev/firewire firewire.c firewire.h firewire_phy.h
> firewirereg.h fwcrom.c fwdev.c fwmem.c
> fwmem.h fwohci.c fwohci_pci.c fwohcireg.h
> fwohcivar.h iec13213.h iec68113.h
> if_fwe.c if_fwevar.h sbp.c
> sys/modules/firewire Makefile.inc
> sys/modules/firewire/firewire Makefile
> sys/modules/firewire/fwe Makefile
> usr.sbin/fwcontrol fwcontrol.c fwcrom.c fwdv.c
> Added files:
> sys/dev/firewire fwdma.c fwdma.h
> Log:
> MFp4(simokawa_firewire):
> Many internal structure changes for the FireWire driver.
>
> - Compute CRC in CROM parsing.
> - Add support for configuration ROM build.
> - Simplify dummy buffer handling.
> - busdma conversion
> - Use swi_taskqueue_giant for -current. Mark the interrupt routine as MPSAFE.
> - AR buffer handling.
> Don't reallocate AR buffer but just recycle it.
> Don't malloc and copy per packet in fwohci_arcv().
> Pass packet to fw_rcv() using iovec.
> Application must prepare receiving buffer in advance.
> - Change fw_bind API so that application should pre-allocate xfer structure.
> - Add fw_xfer_unload() for recycling struct fw_xfer.
> - Add post_busreset hook
> - Remove unused 'sub' and 'act_type' in struct fw_xfer.
> - Remove npacket from struct fw_bulkxfer.
> - Don't call back handlers in fwochi_arcv() if the packet has
> not drained in AT queue
> - Make firewire works on big endian platform.
> - Use native endian for packet header and remove unnecessary ntohX/htonX.
> - Remove FWXFERQ_PACKET mode. We don't use it anymore.
> - Remove unnecessary restriction of FWSTMAXCHUNK.
> - Don't set root node for phy config packet if the root node is
> not cycle master capable but set myself for root node.
> We should be the root node after next bus reset.
>
> Spotted by: Yoshihiro Tabira <tabira at scd.mei.co.jp>
> - Improve self id handling
>
> Tested on: i386, sparc64 and i386 with forced bounce buffer
Very nice work!
Cheers,
Maxime
More information about the cvs-src
mailing list