sata_dwc_460ex: fix misuse of ata_get_cmd_descript()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 28 Jan 2011 19:01:01 +0000 (22:01 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Mar 2011 07:36:46 +0000 (02:36 -0500)
commit84b47e3b16f8a5bb416cd55774d679ebbdb19072
tree95eb42a15e4ec8a60eb878d69185cf3e8d61cb2e
parentd285e8bfe9d1a196e26b798cc04f8c5ebc60c856
sata_dwc_460ex: fix misuse of ata_get_cmd_descript()

The driver erroneously uses ata_get_cmd_descript() not only for printing out
the ATA commands but also the protocol and DMA direction enums. Add functions
for properly printing those out...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_dwc_460ex.c