Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75482
b: refs/heads/master
c: d8cf538
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jan 15, 2008
1 parent fc4ab8d commit 5036ed0
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c2e14f11120bbef0c883e795da8180b58f3cddae
refs/heads/master: d8cf5389bd9d1f0ac9fea51796c274ba64b83d80
6 changes: 3 additions & 3 deletions trunk/drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,9 @@ static void ata_scsi_dev_config(struct scsi_device *sdev,
blk_queue_max_hw_segments(q, q->max_hw_segments - 1);
}

if (dev->class == ATA_DEV_ATA)
sdev->manage_start_stop = 1;

if (dev->flags & ATA_DFLAG_AN)
set_bit(SDEV_EVT_MEDIA_CHANGE, sdev->supported_events);

Expand Down Expand Up @@ -872,9 +875,6 @@ int ata_scsi_slave_config(struct scsi_device *sdev)

ata_scsi_sdev_config(sdev);

if (dev->class == ATA_DEV_ATA)
sdev->manage_start_stop = 1;

if (dev)
ata_scsi_dev_config(sdev, dev);

Expand Down

0 comments on commit 5036ed0

Please sign in to comment.