]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
libata: use ata_port_printk() in ata_wait_idle()
authorTejun Heo <htejun@gmail.com>
Mon, 30 Jul 2007 05:23:03 +0000 (14:23 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:34 +0000 (14:55 -0400)
commit1552945669b4fb23bff8d3b30221bfe3ade63515
tree843dc8ad2a108a1fcea95bf503cc4cb1abd848ca
parentb8773531cc54c1ed10c8ec301353ee6b53b601a5
libata: use ata_port_printk() in ata_wait_idle()

ata_wait_idle() identified controller by printing out the address of
the Status register.  This is bogus because 1. it's iomapped address
2. some controllers don't have Status register and don't initialize
the field.  Use ata_port_printk() instead.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/libata.h