Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73173
b: refs/heads/master
c: 320112b
h: refs/heads/master
i:
  73171: 017a53b
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Nov 5, 2007
1 parent 9f5edd0 commit 12d12e4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f7d7f3fd21f06c1f07d1dc9e2cc8a3c43b53faa6
refs/heads/master: 320112bd28d3c477f6990bfe8762ccb978106a08
3 changes: 2 additions & 1 deletion trunk/drivers/ide/ide-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,8 @@ static ide_startstop_t drive_cmd_intr (ide_drive_t *drive)
int retries = 10;

local_irq_enable_in_hardirq();
if ((stat & DRQ_STAT) && args && args[3]) {
if (rq->cmd_type == REQ_TYPE_ATA_CMD &&
(stat & DRQ_STAT) && args && args[3]) {
u8 io_32bit = drive->io_32bit;
drive->io_32bit = 0;
hwif->ata_input_data(drive, &args[4], args[3] * SECTOR_WORDS);
Expand Down

0 comments on commit 12d12e4

Please sign in to comment.