]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/ata/libata-scsi.c
libata-link: update hotplug to handle PMP links
authorTejun Heo <htejun@gmail.com>
Mon, 6 Aug 2007 09:36:24 +0000 (18:36 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:32 +0000 (14:55 -0400)
commit41bda9c98035dd3589b02cbc1de02f71d2faf9c8
tree2a5b0c85584d443c1c8f7cb2b592e75bea3da6cf
parent9b1e2658faf3f3095a96558c333b333c0e29dbc0
libata-link: update hotplug to handle PMP links

Update hotplug to handle PMP links.  When PMP is attached, the PMP
number corresponds to C of SCSI H:C:I:L.  While at it, change argument
to ata_find_dev() to @devno from @id to avoid confusion with SCSI
device ID.

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