Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48544
b: refs/heads/master
c: 61f216c
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Feb 15, 2007
1 parent a64730d commit bb90452
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 5387373bfe78b7795b96378250f6848f39d78b80
refs/heads/master: 61f216c7196e15e56d97c5a75af01e6684f17fa3
2 changes: 1 addition & 1 deletion trunk/include/linux/ata.h
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static inline int ata_drive_40wire(const u16 *dev_id)
{
if (ata_id_major_version(dev_id) >= 5 && ata_id_is_sata(dev_id))
return 0; /* SATA */
if (dev_id[93] & 0x4000)
if ((dev_id[93] & 0xE000) == 0x6000)
return 0; /* 80 wire */
return 1;
}
Expand Down

0 comments on commit bb90452

Please sign in to comment.