diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2005-01-07 05:27:20 +0100 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2005-01-07 05:27:20 +0100 |
| commit | 4bea34f30af927f6e57fd1a0f46e186b07a24488 (patch) | |
| tree | 96499911ffda6b612cd840c3450dc022055de75b /include/linux | |
| parent | ea46e05ab5eddaea64fa89e62a1367eb11893bb9 (diff) | |
[ide] add ide_dump_opcode()
* add it to ide-lib.c and cleanup ide{disk}_dump_status()
* as a bonus it fixes unknown opcode reporting in ide_dump_status()
* use ide_dump_opcode() in ide_dump_atapi_status()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index a03aa83488dd..0031217d635e 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -1510,6 +1510,8 @@ extern int ide_dma_enable(ide_drive_t *drive); extern char *ide_xfer_verbose(u8 xfer_rate); extern void ide_toggle_bounce(ide_drive_t *drive, int on); extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); + +void ide_dump_opcode(ide_drive_t *); extern byte ide_dump_atapi_status(ide_drive_t *drive, const char *msg, byte stat); typedef struct ide_pio_timings_s { |
