]> err.no Git - linux-2.6/commit
[PATCH] libata: implement ATA_EHI_PRINTINFO
authorTejun Heo <htejun@gmail.com>
Wed, 1 Nov 2006 09:38:52 +0000 (18:38 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:41:31 +0000 (22:41 -0500)
commitefdaedc443e935eda82e9e78a6e65d1f993d242f
tree8bcdc05ec85f7a9e7b0a5b1e5014ec21cf4e8aac
parentad616ffbda8caf3ce76d2b43027e789d732abf48
[PATCH] libata: implement ATA_EHI_PRINTINFO

Implement ehi flag ATA_EHI_PRINTINFO.  This flag is set when device
configuration needs to print out device info.  This used to be handled
by @print_info argument to ata_dev_configure() but LLDs also need to
know about it in ->dev_config() callback.

This patch replaces @print_info w/ ATA_EHI_PRINTINFO and make sata_sil
print workaround messages only on the initial configuration.

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