Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74043
b: refs/heads/master
c: f442cd8
h: refs/heads/master
i:
  74041: 2f71340
  74039: f283c5b
v: v3
  • Loading branch information
Albert Lee authored and Tejun Heo committed Nov 19, 2007
1 parent 629f75a commit b085d49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 2d3b8eea7f2fbafd5d779cc92f7aedbd1ef575e9
refs/heads/master: f442cd86c1c86c5f44bc2cf23f89536f7e4cfe59
4 changes: 3 additions & 1 deletion trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2307,8 +2307,10 @@ int ata_dev_configure(struct ata_device *dev)
}

if ((dev->class == ATA_DEV_ATAPI) &&
(atapi_command_packet_set(id) == TYPE_TAPE))
(atapi_command_packet_set(id) == TYPE_TAPE)) {
dev->max_sectors = ATA_MAX_SECTORS_TAPE;
dev->horkage |= ATA_HORKAGE_STUCK_ERR;
}

if (dev->horkage & ATA_HORKAGE_MAX_SEC_128)
dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_128,
Expand Down

0 comments on commit b085d49

Please sign in to comment.