diff options
author | Borislav Petkov <petkovbb@gmail.com> | 2009-04-08 08:12:53 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-04-08 08:12:53 -0400 |
commit | 98036abf31994244cb5772ecc291f4293a52c20b (patch) | |
tree | a25e13180de9139d823e4fec5d002be814a7f13c /drivers/ide/ide-cd.c | |
parent | dfa4411cc3a690011cab90e9a536938795366cf9 (diff) |
ide-cd: update debugging support
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
[bart: extracted from "ide-cd: cleanup cdrom_decode_status" patch]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index c84abd6f9f6f..e946f0ecbb9c 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -318,8 +318,9 @@ static int cdrom_decode_status(ide_drive_t *drive, u8 stat) | |||
318 | err = ide_read_error(drive); | 318 | err = ide_read_error(drive); |
319 | sense_key = err >> 4; | 319 | sense_key = err >> 4; |
320 | 320 | ||
321 | ide_debug_log(IDE_DBG_RQ, "cmd[0]: 0x%x, rq->cmd_type: 0x%x, err: 0x%x", | 321 | ide_debug_log(IDE_DBG_RQ, "cmd: 0x%x, rq->cmd_type: 0x%x, err: 0x%x, " |
322 | rq->cmd[0], rq->cmd_type, err); | 322 | "stat 0x%x", |
323 | rq->cmd[0], rq->cmd_type, err, stat); | ||
323 | 324 | ||
324 | if (blk_sense_request(rq)) { | 325 | if (blk_sense_request(rq)) { |
325 | /* | 326 | /* |
@@ -637,8 +638,7 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) | |||
637 | u16 len; | 638 | u16 len; |
638 | u8 ireason, stat; | 639 | u8 ireason, stat; |
639 | 640 | ||
640 | ide_debug_log(IDE_DBG_PC, "cmd[0]: 0x%x, write: 0x%x", | 641 | ide_debug_log(IDE_DBG_PC, "cmd: 0x%x, write: 0x%x", rq->cmd[0], write); |
641 | rq->cmd[0], write); | ||
642 | 642 | ||
643 | /* check for errors */ | 643 | /* check for errors */ |
644 | dma = drive->dma; | 644 | dma = drive->dma; |