]> err.no Git - linux-2.6/commit
[PATCH] libata: Add ->set_mode hook for odd drivers
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 27 Mar 2006 17:46:37 +0000 (18:46 +0100)
committerJeff Garzik <jeff@garzik.org>
Thu, 30 Mar 2006 00:30:27 +0000 (19:30 -0500)
commite35a9e01f2a504871e70576a9e11dbe4d8dee456
tree4761c2d8b9d827d95cc531376e5c02666734ecf6
parent4e5ec5dba22ea509b1a004f9815751f0ffc815e5
[PATCH] libata: Add ->set_mode hook for odd drivers

Some hardware doesn't want the usual mode setup logic running. This
allows the hardware driver to replace it for special cases in the least
invasive way possible.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c
include/linux/libata.h