Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15395
b: refs/heads/master
c: 977545e
h: refs/heads/master
i:
  15393: c8e0315
  15391: 66089a5
v: v3
  • Loading branch information
Stefan Richter authored and Jody McIntyre committed Nov 20, 2005
1 parent d2dd64e commit 2c4a57f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4cda1654e5c0be4b68e29011e8dc04977286df9
refs/heads/master: 977545e35289b13981614a57fd6c9b82d55e3b4a
13 changes: 0 additions & 13 deletions trunk/drivers/ieee1394/sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2609,27 +2609,17 @@ static int sbp2scsi_reset(struct scsi_cmnd *SCpnt)
{
struct scsi_id_instance_data *scsi_id =
(struct scsi_id_instance_data *)SCpnt->device->host->hostdata[0];
unsigned long flags;

SBP2_ERR("reset requested");

spin_lock_irqsave(SCpnt->device->host->host_lock, flags);

if (sbp2util_node_is_available(scsi_id)) {
SBP2_ERR("Generating sbp2 fetch agent reset");
sbp2_agent_reset(scsi_id, 0);
}

spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags);

return SUCCESS;
}

static const char *sbp2scsi_info(struct Scsi_Host *host)
{
return "SCSI emulation for IEEE-1394 SBP-2 Devices";
}

static ssize_t sbp2_sysfs_ieee1394_id_show(struct device *dev,
struct device_attribute *attr,
char *buf)
Expand Down Expand Up @@ -2666,12 +2656,9 @@ static struct scsi_host_template scsi_driver_template = {
.module = THIS_MODULE,
.name = "SBP-2 IEEE-1394",
.proc_name = SBP2_DEVICE_NAME,
.info = sbp2scsi_info,
.queuecommand = sbp2scsi_queuecommand,
.eh_abort_handler = sbp2scsi_abort,
.eh_device_reset_handler = sbp2scsi_reset,
.eh_bus_reset_handler = sbp2scsi_reset,
.eh_host_reset_handler = sbp2scsi_reset,
.slave_alloc = sbp2scsi_slave_alloc,
.slave_configure = sbp2scsi_slave_configure,
.slave_destroy = sbp2scsi_slave_destroy,
Expand Down

0 comments on commit 2c4a57f

Please sign in to comment.