]> git.baikalelectronics.ru Git - kernel.git/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)
commit4e2ff2b0eb6cdbf8956ff19f3ce1e7c3ac92abbe
tree4761c2d8b9d827d95cc531376e5c02666734ecf6
parentb4c51c44b5c6e5a881251921a81deef9217cac92
[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