]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/ata/libata-core.c
libata: update ata_dev_try_classify() arguments
authorTejun Heo <htejun@gmail.com>
Sun, 2 Sep 2007 14:23:57 +0000 (23:23 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:39 +0000 (14:55 -0400)
commit3f19859ee95a38c066a0420eb8a30c76ecd67a42
tree0ad611a48ddb18be3b8ec35e4dc318e2fd344961
parent7a234aff3d83728fd83cf19df32d3df52566d2ac
libata: update ata_dev_try_classify() arguments

Make ata_dev_try_classify() take a pointer to ata_device instead of
ata_port/port_number combination for consistency and add @present
argument.  @present indicates whether the device seems present during
reset.  It's the result of TF access during softreset and link
onlineness during hardreset.  @present will be used to improve
diagnostic failure handling.

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