Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45984
b: refs/heads/master
c: 7a0f1c8
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek authored and Jeff Garzik committed Jan 30, 2007
1 parent ad79db6 commit 18bec2d
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: 5dcade90db19205b9ebb8241a22664560973f81a
refs/heads/master: 7a0f1c8a4b1052da7efc7715e2e557255b632712
2 changes: 1 addition & 1 deletion trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ static unsigned int ata_id_xfermask(const u16 *id)
* the PIO timing number for the maximum. Turn it into
* a mask.
*/
u8 mode = id[ATA_ID_OLD_PIO_MODES] & 0xFF;
u8 mode = (id[ATA_ID_OLD_PIO_MODES] >> 8) & 0xFF;
if (mode < 5) /* Valid PIO range */
pio_mask = (2 << mode) - 1;
else
Expand Down

0 comments on commit 18bec2d

Please sign in to comment.