1. 25 3月, 2009 2 次提交
    • J
      firewire: add a client_list_lock · cf417e54
      Jay Fenlason 提交于
      This adds a client_list_lock, which only protects the device's
      client_list, so that future versions of the driver can call code that
      takes the card->lock while holding the client_list_lock.  Adding this
      lock is much simpler than adding __ versions of all the functions that
      the future version may need.  The one ordering issue is to make sure
      code never takes the client_list_lock with card->lock held.  Since
      client_list_lock is only used in three places, that isn't hard.
      Signed-off-by: NJay Fenlason <fenlason@redhat.com>
      
      Update fill_bus_reset_event() accordingly.  Include linux/spinlock.h.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      cf417e54
    • D
      firewire: Include iso timestamp in headers when header_size > 4 · 1aa292bb
      David Moore 提交于
      Previously, when an iso context had header_size > 4, the iso header
      (len/tag/channel/tcode/sy) was passed to userspace followed by quadlets
      stripped from the payload.  This patch changes the behavior:
      header_size = 8 now passes the header quadlet followed by the timestamp
      quadlet.  When header_size > 8, quadlets are stripped from the payload.
      The header_size = 4 case remains identical.
      
      Since this alters the semantics of the API, the firewire API version
      needs to be bumped concurrently with this change.
      
      This change also refactors the header copying code slightly to be much
      easier to read.
      Signed-off-by: NDavid Moore <dcm@acm.org>
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      1aa292bb
  2. 24 3月, 2009 6 次提交
  3. 23 3月, 2009 11 次提交
  4. 22 3月, 2009 2 次提交
  5. 21 3月, 2009 2 次提交
  6. 20 3月, 2009 11 次提交
  7. 19 3月, 2009 6 次提交