Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133380
b: refs/heads/master
c: ee1b1cc
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 690a657 commit 71f08e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 4d7bb471ce0283f586817abea81254b67598aae6
refs/heads/master: ee1b1cc974816b59af2ba0be1912e1c2a200ae11
9 changes: 3 additions & 6 deletions trunk/drivers/ide/ide-iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,18 +369,15 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
* but for some reason these don't work at
* this point (lost interrupt).
*/
/*
* Select the drive, and issue the SETFEATURES command
*/
disable_irq_nosync(hwif->irq);


/*
* FIXME: we race against the running IRQ here if
* this is called from non IRQ context. If we use
* disable_irq() we hang on the error path. Work
* is needed.
*/

disable_irq_nosync(hwif->irq);

udelay(1);
SELECT_DRIVE(drive);
SELECT_MASK(drive, 1);
Expand Down

0 comments on commit 71f08e2

Please sign in to comment.