Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37303
b: refs/heads/master
c: c394f1e
h: refs/heads/master
i:
  37301: fd58b36
  37299: 2324e9d
  37295: 2d33257
v: v3
  • Loading branch information
Stefan Richter committed Sep 17, 2006
1 parent dd79eca commit 144da9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 87730d045913f28e636cf53ad35950069a85c7f2
refs/heads/master: c394f1eafef61c6666f5876afde6110a276c4c9f
4 changes: 1 addition & 3 deletions trunk/drivers/ieee1394/sbp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2515,6 +2515,7 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev)
(struct scsi_id_instance_data *)sdev->host->hostdata[0];

scsi_id->sdev = sdev;
sdev->allow_restart = 1;

if (scsi_id->workarounds & SBP2_WORKAROUND_INQUIRY_36)
sdev->inquiry_len = 36;
Expand All @@ -2534,9 +2535,6 @@ static int sbp2scsi_slave_configure(struct scsi_device *sdev)
sdev->skip_ms_page_8 = 1;
if (scsi_id->workarounds & SBP2_WORKAROUND_FIX_CAPACITY)
sdev->fix_capacity = 1;
if (scsi_id->ne->guid_vendor_id == 0x0010b9 && /* Maxtor's OUI */
(sdev->type == TYPE_DISK || sdev->type == TYPE_RBC))
sdev->allow_restart = 1;
return 0;
}

Expand Down

0 comments on commit 144da9f

Please sign in to comment.