diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-05-09 18:01:09 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-05-09 18:01:09 -0400 |
commit | ecfd80e4a514123070b4cfb674b817ba75055df2 (patch) | |
tree | 956baa39e22030d139803b7585bd71e91c637bb5 /drivers/ide/Kconfig | |
parent | 29e744d088e3555f4efbdf390f01088dd66993b6 (diff) |
ide: make /proc/ide/ optional
All important information/features should be already available through
sysfs and ioctl interfaces.
Add CONFIG_IDE_PROC_FS (CONFIG_SCSI_PROC_FS rip-off) config option,
disabling it makes IDE driver ~5 kB smaller (on x86-32).
While at it add CONFIG_PROC_FS=n versions of proc_ide_{create,destroy}()
and remove no longer needed #ifdefs.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 5bdf64b7791..a678bbecb48 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -291,6 +291,17 @@ config IDE_TASK_IOCTL | |||
291 | 291 | ||
292 | If you are unsure, say N here. | 292 | If you are unsure, say N here. |
293 | 293 | ||
294 | config IDE_PROC_FS | ||
295 | bool "legacy /proc/ide/ support" | ||
296 | depends on IDE && PROC_FS | ||
297 | default y | ||
298 | help | ||
299 | This option enables support for the various files in | ||
300 | /proc/ide. In Linux 2.6 this has been superseded by | ||
301 | files in sysfs but many legacy applications rely on this. | ||
302 | |||
303 | If unsure say Y. | ||
304 | |||
294 | comment "IDE chipset support/bugfixes" | 305 | comment "IDE chipset support/bugfixes" |
295 | 306 | ||
296 | config IDE_GENERIC | 307 | config IDE_GENERIC |