1. 09 May, 2012 3 commits
    • Chris Boot's avatar
      sbp-target: Initial merge of firewire/ieee-1394 target mode support · a511ce33
      Chris Boot authored
      The FireWire SBP-2 Target is a driver for using an IEEE-1394 connection
      as a SCSI transport. This module uses the SCSI Target framework to
      expose LUNs to other machines attached to a FireWire bus, in effect
      acting as a FireWire hard disk similar to FireWire Target Disk mode
      on many Apple computers.
      
      This commit contains the squashed pull from Chris Boot's SBP-2-Target:
      
            https://github.com/bootc/Linux-SBP-2-Target.git patch-v3
      
      firewire-sbp-target: Add sbp_base.h header
      firewire-sbp-target: Add sbp_configfs.c
      firewire-sbp-target: Add sbp_fabric.{c,h}
      firewire-sbp-target: Add sbp_management_agent.{c,h}
      firewire-sbp-target: Add sbp_login.{c,h}
      firewire-sbp-target: Add sbp_target_agent.{c,h}
      firewire-sbp-target: Add sbp_scsi_cmnd.{c,h}
      firewire-sbp-target: Add to target Kconfig and Makefile
      
      Also add bootc's entry to the MAINTAINERS file.  Great work Chris !!
      Signed-off-by: default avatarChris Boot <bootc@bootc.net>
      Acked-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Andy Grover <agrover@redhat.com>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      a511ce33
    • Chris Boot's avatar
      firewire: Move fw_card kref functions into linux/firewire.h · fc5f80b1
      Chris Boot authored
      When writing a firewire driver that doesn't deal with struct fw_device
      objects (e.g. it only publishes FireWire units and doesn't subscribe to
      them), you likely need to keep referenced to struct fw_card objects so
      that you can send messages to other nodes. This patch moves
      fw_card_put(), fw_card_get() and fw_card_release() into the public
      include/linux/firewire.h header instead of drivers/firewire/core.h, and
      adds EXPORT_SYMBOL_GPL(fw_card_release).
      
      The firewire-sbp-target module requires these so it can keep a reference
      to the fw_card object in order that it can fetch ORBs to execute and
      read/write related data and status information.
      Signed-off-by: default avatarChris Boot <bootc@bootc.net>
      Acked-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      fc5f80b1
    • Chris Boot's avatar
      firewire: Add function to get speed from opaque struct fw_request · 253d9237
      Chris Boot authored
      Sometimes it's useful to know the FireWire speed of the request that has
      just come in to a fw_address_handler callback. As struct fw_request is
      opaque we can't peek inside to get the speed out of the struct fw_packet
      that's just inside. For example, the SBP-2 spec says:
      
      "The speed at which the block write request to the MANAGEMENT_AGENT
      register is received shall determine the speed used by the target for
      all subsequent requests to read the initiator’s configuration ROM, fetch
      ORB’s from initiator memory or store status at the initiator’s
      status_FIFO. Command block ORB’s separately specify the speed for
      requests addressed to the data buffer or page table."
      
      [ ANSI T10/1155D Revision 4 page 53/54 ]
      Signed-off-by: default avatarChris Boot <bootc@bootc.net>
      Acked-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
      253d9237
  2. 06 May, 2012 15 commits
  3. 15 Apr, 2012 20 commits
  4. 14 Apr, 2012 1 commit
  5. 08 Apr, 2012 1 commit