Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198210
b: refs/heads/master
c: f693be4
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and David S. Miller committed Apr 23, 2010
1 parent fd9585d commit 1acdc86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 63e7cf910542383591318941cb62a246ac191cfe
refs/heads/master: f693be4d8a00431b53a59d74aefdb3f7ae92f662
4 changes: 2 additions & 2 deletions trunk/drivers/ide/pdc202xx_old.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ static int pdc202xx_test_irq(ide_hwif_t *hwif)
* bit 7: error, bit 6: interrupting,
* bit 5: FIFO full, bit 4: FIFO empty
*/
return ((sc1d & 0x50) == 0x50) ? 1 : 0;
return (sc1d & 0x40) ? 1 : 0;
} else {
/*
* bit 3: error, bit 2: interrupting,
* bit 1: FIFO full, bit 0: FIFO empty
*/
return ((sc1d & 0x05) == 0x05) ? 1 : 0;
return (sc1d & 0x04) ? 1 : 0;
}
}

Expand Down

0 comments on commit 1acdc86

Please sign in to comment.