]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: make PMP support optional
authorTejun Heo <htejun@gmail.com>
Mon, 7 Apr 2008 13:47:22 +0000 (22:47 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:25 +0000 (15:44 -0400)
commit88fcd5627563722483427a55113c0a83f56e8080
tree6a596e33d6497fbed58147e8fdb59b611d956c12
parent071f44b1d2c051641b62a3571223314737ccbe59
libata: make PMP support optional

Make PMP support optional by adding CONFIG_SATA_PMP and leaving out
libata-pmp.c if it isn't set.  PMP helpers return constant values if
PMP support is not enabled and PMP declarations alias non-PMP
counterparts.  This makes the compiler to leave out PMP related part
out and LLDs to use non-PMP counterparts automatically.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/ata/Kconfig
drivers/ata/Makefile
drivers/ata/libata.h
include/linux/libata.h