Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89286
b: refs/heads/master
c: f792068
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jeff Garzik committed Apr 17, 2008
1 parent b478818 commit f9495a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45db2f6c95eee7c6622ea1b3edb9abafba58e3ab
refs/heads/master: f792068e43a3a156139569304b29ec8fc5dec4e3
4 changes: 4 additions & 0 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4033,6 +4033,10 @@ static int cable_is_40wire(struct ata_port *ap)
/* If the controller thinks we are 80 wire, we are */
if (ap->cbl == ATA_CBL_PATA80 || ap->cbl == ATA_CBL_SATA)
return 0;
/* If the system is known to be 40 wire short cable (eg laptop),
then we allow 80 wire modes even if the drive isn't sure */
if (ap->cbl == ATA_CBL_PATA40_SHORT)
return 0;
/* If the controller doesn't know we scan
- Note: We look for all 40 wire detects at this point.
Expand Down

0 comments on commit f9495a3

Please sign in to comment.