kernel-ark/drivers/ide
Bartlomiej Zolnierkiewicz 7662d046df ide: move IDE settings handling to ide-proc.c
* move
	__ide_add_setting()
	ide_add_setting()
	__ide_remove_setting()
	auto_remove_settings()
	ide_find_setting_by_name()
	ide_read_setting()
	ide_write_setting()
	set_xfer_rate()
	ide_add_generic_settings()
	ide_register_subdriver()
	ide_unregister_subdriver()

  from ide.c to ide-proc.c

* set_{io_32bit,pio_mode,using_dma}() cannot be marked static now, fix it

* rename ide_[un]register_subdriver() to ide_proc_[un]register_driver(),
  update device drivers to use new names

* add CONFIG_IDE_PROC_FS=n versions of ide_proc_[un]register_driver()
  and ide_add_generic_settings()

* make ide_find_setting_by_name(), ide_{read,write}_setting()
  and ide_{add,remove}_proc_entries() static

* cover IDE settings code in device drivers with CONFIG_IDE_PROC_FS #ifdef,
  also while at it cover with CONFIG_IDE_PROC_FS #ifdef ide_driver_t.proc

* remove bogus comment from ide.h

* cover with CONFIG_IDE_PROC_FS #ifdef .proc and .settings in ide_drive_t

Besides saner code this patch results in the IDE core smaller by ~2 kB
(on x86-32) and IDE disk driver by ~1 kB (ditto) when CONFIG_IDE_PROC_FS=n.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-05-10 00:01:10 +02:00
..
arm ide: rework the code for selecting the best DMA transfer mode (v3) 2007-05-10 00:01:08 +02:00
cris ide: rework the code for selecting the best DMA transfer mode (v3) 2007-05-10 00:01:08 +02:00
h8300 ide: convert ide_hwif_t.mmio into flag (v2) 2007-02-17 02:40:25 +01:00
legacy ide-cs: recognize 2GB CompactFlash from Transcend 2007-05-05 22:03:51 +02:00
mips ide: au1xxx: fix use of mixed declarations and code 2007-03-17 21:57:24 +01:00
pci ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
ppc [POWERPC] Rename device_is_compatible to of_device_is_compatible 2007-05-07 20:31:14 +10:00
ide-acpi.c ide-acpi support warning fix 2007-02-07 18:19:42 +01:00
ide-cd.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-cd.h
ide-disk.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-dma.c ide: add ide_tune_dma() helper 2007-05-10 00:01:09 +02:00
ide-floppy.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-generic.c
ide-io.c ide: correctly prevent IDE timer expiry function to run if request was already handled 2007-04-10 22:38:37 +02:00
ide-iops.c ide: rework the code for selecting the best DMA transfer mode (v3) 2007-05-10 00:01:08 +02:00
ide-lib.c ide: rework the code for selecting the best DMA transfer mode (v3) 2007-05-10 00:01:08 +02:00
ide-pnp.c ide: unregister idepnp driver on unload 2007-01-27 13:47:02 +01:00
ide-probe.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
ide-proc.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-tape.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
ide-taskfile.c
ide-timing.h
ide.c ide: move IDE settings handling to ide-proc.c 2007-05-10 00:01:10 +02:00
Kconfig ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options 2007-03-17 21:57:41 +01:00