Commit 1b34a8bb authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] switch ide-floppy to ide_execute_command

parent 10404b97
...@@ -1077,14 +1077,11 @@ static ide_startstop_t idefloppy_issue_pc (ide_drive_t *drive, idefloppy_pc_t *p ...@@ -1077,14 +1077,11 @@ static ide_startstop_t idefloppy_issue_pc (ide_drive_t *drive, idefloppy_pc_t *p
} }
if (test_bit (IDEFLOPPY_DRQ_INTERRUPT, &floppy->flags)) { if (test_bit (IDEFLOPPY_DRQ_INTERRUPT, &floppy->flags)) {
if (HWGROUP(drive)->handler != NULL) /* Issue the packet command */
BUG(); ide_execute_command(drive, WIN_PACKETCMD,
ide_set_handler(drive,
pkt_xfer_routine, pkt_xfer_routine,
IDEFLOPPY_WAIT_CMD, IDEFLOPPY_WAIT_CMD,
NULL); NULL);
/* Issue the packet command */
HWIF(drive)->OUTB(WIN_PACKETCMD, IDE_COMMAND_REG);
return ide_started; return ide_started;
} else { } else {
/* Issue the packet command */ /* Issue the packet command */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment