Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2003 20:38:03 -0700 (PDT)
From:      Hidetoshi Shimokawa <simokawa@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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 ...
Message-ID:  <200304170338.h3H3c3xP047990@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@scd.mei.co.jp>
  - Improve self id handling
  
  Tested on: i386, sparc64 and i386 with forced bounce buffer
  
  Revision  Changes    Path
  1.46      +232 -235  src/sys/dev/firewire/firewire.c
  1.12      +84 -179   src/sys/dev/firewire/firewire.h
  1.2       +0 -2      src/sys/dev/firewire/firewire_phy.h
  1.23      +23 -71    src/sys/dev/firewire/firewirereg.h
  1.3       +258 -7    src/sys/dev/firewire/fwcrom.c
  1.26      +83 -294   src/sys/dev/firewire/fwdev.c
  1.1       +208 -0    src/sys/dev/firewire/fwdma.c (new)
  1.1       +116 -0    src/sys/dev/firewire/fwdma.h (new)
  1.18      +30 -42    src/sys/dev/firewire/fwmem.c
  1.5       +1 -1      src/sys/dev/firewire/fwmem.h
  1.47      +783 -786  src/sys/dev/firewire/fwohci.c
  1.21      +53 -26    src/sys/dev/firewire/fwohci_pci.c
  1.9       +97 -58    src/sys/dev/firewire/fwohcireg.h
  1.8       +26 -13    src/sys/dev/firewire/fwohcivar.h
  1.3       +95 -39    src/sys/dev/firewire/iec13213.h
  1.6       +46 -7     src/sys/dev/firewire/iec68113.h
  1.14      +31 -66    src/sys/dev/firewire/if_fwe.c
  1.3       +1 -1      src/sys/dev/firewire/if_fwevar.h
  1.42      +315 -317  src/sys/dev/firewire/sbp.c
  1.2       +1 -0      src/sys/modules/firewire/Makefile.inc
  1.7       +1 -1      src/sys/modules/firewire/firewire/Makefile
  1.3       +1 -0      src/sys/modules/firewire/fwe/Makefile
  1.10      +19 -7     src/usr.sbin/fwcontrol/fwcontrol.c
  1.3       +253 -6    src/usr.sbin/fwcontrol/fwcrom.c
  1.5       +3 -3      src/usr.sbin/fwcontrol/fwdv.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304170338.h3H3c3xP047990>