]> err.no Git - linux-2.6/commit
ide: add ide_dump_identify() debug helper
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:28 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:28 +0000 (23:09 +0100)
commit7b9f25b539c3fa3c7b8c82775488a0021d90220f
tree9107c2f7f1cfe256809546ccec7496b8c0e23d77
parent3bb4663bd82e6d536a4b46166b00e93d5072e656
ide: add ide_dump_identify() debug helper

* Add ide_dump_identify() debug helper for dumping raw identify data in
  the hdparm friendly format (== the identify data can be extracted from
  dmesg output and passed to hdparm --Istdin).

* Dump identify data in ide-probe.c::do_identify() if DEBUG is enabled.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c
include/linux/ide.h