]> err.no Git - linux-2.6/commit
libata: make SFF support optional
authorTejun Heo <htejun@gmail.com>
Mon, 7 Apr 2008 13:47:21 +0000 (22:47 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:24 +0000 (15:44 -0400)
commit127102aea2ea9ec4e9ca233e2b1a75c8d3b058c4
tree92fb528eac658adbc7307a009bd8a7558db2658a
parent350756f6dab6d37ef9ed3f18dec520e88969ddac
libata: make SFF support optional

Now that SFF support is completely separated out from the core layer,
it can be made optional.  Add CONFIG_ATA_SFF and let SFF drivers
depend on it.  If CONFIG_ATA_SFF isn't set, all codes in libata-sff.c
and data structures for SFF support are disabled.  This saves good
number of bytes for small systems.

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