cvs commit: src/sys/dev/firewire firewire.c firewire.h firewirereg.h fwcrom.c fwdev.c fwmem.c fwmem.h fwohci.c fwohcireg.h if_fwe.c sbp.c sbp.h src/sys/modules/firewire/sbp Makefile

Hidetoshi Shimokawa simokawa at FreeBSD.org
Wed Oct 1 21:06:57 PDT 2003


simokawa    2003/10/01 21:06:56 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/firewire     firewire.c firewire.h firewirereg.h 
                         fwcrom.c fwdev.c fwmem.c fwmem.h fwohci.c 
                         fwohcireg.h if_fwe.c sbp.c 
    sys/modules/firewire/sbp Makefile 
  Added files:
    sys/dev/firewire     sbp.h 
  Log:
  MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions.
          And many changes.
  
  * all
          - Major change of struct fw_xfer.
                  o {send,recv}.buf is splitted into hdr and payload.
                  o Remove unnecessary fields.
                  o spd is moved under send and recv.
          - Remove unnecessary 'volatile' keyword.
          - Add definition of rtcode and extcode.
  
  * firewire.c
          - Ignore FWDEVINVAL devices in fw_noderesolve_nodeid().
          - Check the existance of the bind before call STAILQ_REMOVE().
          - Fix bug in the fw_bindadd().
          - Change element of struct fw_bind for simplicity.
          - Check rtcode of response packet.
          - Reduce split transaction timeout to 200 msec.
                  (100msec is the default value in the spec.)
          - Set watchdog timer cycle to 10 Hz.
          - Set xfer->tv just before calling fw_get_tlabel().
  
  * fwohci.c
          - Simplifies fwohci_get_plen().
  
  * sbp.c
          - Fix byte order of multibyte scsi_status informations.
          - Split sbp.c and sbp.h.
          - Unit number is not necessary for FIFO¤ address.
          - Reduce LOGIN_DELAY and SCAN_DELAY to 1 sec.
          - Add some constants defineded in SBP-2 spec.
  
  * fwmem.c
          - Introduce fwmem_strategy() and reduce memory copy.
  
  Revision  Changes    Path
  1.61      +227 -210  src/sys/dev/firewire/firewire.c
  1.16      +27 -6     src/sys/dev/firewire/firewire.h
  1.30      +37 -8     src/sys/dev/firewire/firewirereg.h
  1.9       +5 -2      src/sys/dev/firewire/fwcrom.c
  1.33      +65 -21    src/sys/dev/firewire/fwdev.c
  1.22      +108 -143  src/sys/dev/firewire/fwmem.c
  1.6       +5 -4      src/sys/dev/firewire/fwmem.h
  1.66      +59 -81    src/sys/dev/firewire/fwohci.c
  1.14      +7 -7      src/sys/dev/firewire/fwohcireg.h
  1.20      +4 -6      src/sys/dev/firewire/if_fwe.c
  1.62      +57 -168   src/sys/dev/firewire/sbp.c
  1.1       +202 -0    src/sys/dev/firewire/sbp.h (new)
  1.3       +1 -1      src/sys/modules/firewire/sbp/Makefile


More information about the cvs-src mailing list