]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide: move xfer mode tuning code to ide-xfer-mode.c
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:46 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:46 +0000 (23:22 +0100)
commit7eeaaaa52285d5e6cb79f515e99c591dcb9d04fe
tree02513d82b19d9b00faaf268ce60a312cbe3a1389
parent11938c929022bb92b1a42f5e1289524a1e465dc0
ide: move xfer mode tuning code to ide-xfer-mode.c

* Move xfer mode tuning code to ide-xfer-mode.c.

* Add CONFIG_IDE_XFER_MODE config option to be selected by host drivers
  that support xfer mode tuning.

* Add CONFIG_IDE_XFER_MODE=n static inline versions of ide_set_pio()
  and ide_set_xfer_rate().

* Make IDE_TIMINGS and BLK_DEV_IDEDMA config options select IDE_XFER_MODE,
  also add explicit selects for few host drivers that need it.

* Build/link ide-xfer-mode.o and ide-pio-blacklist.o (it is needed only
  by ide-xfer-mode.o) only if CONFIG_IDE_XFER_MODE=y.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/Kconfig
drivers/ide/Makefile
drivers/ide/ide-lib.c
drivers/ide/ide-xfer-mode.c [new file with mode: 0644]
include/linux/ide.h