diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:33 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:33 -0400 |
commit | 452a8ed8ce752a423013cfade1bbca5f13fd16eb (patch) | |
tree | cb83974126b7638c5b9ef7d341f78af85481fbbd | |
parent | baf08f0be6d986521bb2fbdc7af51fc4847da734 (diff) |
ide: remove CONFIG_BLK_DEV_IDE config option (take 2)
Because hd.c was moved to drivers/block/ this config option
is superfluous now and may be removed.
v2:
Fix drivers/ide/Makefile (noticed by Adrian Bunk).
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r-- | drivers/ide/Kconfig | 38 | ||||
-rw-r--r-- | drivers/ide/Makefile | 8 |
2 files changed, 6 insertions, 40 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index b50b5dac95b0..6c6dd2facede 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -54,38 +54,6 @@ menuconfig IDE | |||
54 | 54 | ||
55 | if IDE | 55 | if IDE |
56 | 56 | ||
57 | config BLK_DEV_IDE | ||
58 | tristate "Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support" | ||
59 | ---help--- | ||
60 | If you say Y here, you will use the full-featured IDE driver to | ||
61 | control up to ten ATA/IDE interfaces, each being able to serve a | ||
62 | "master" and a "slave" device, for a total of up to twenty ATA/IDE | ||
63 | disk/cdrom/tape/floppy drives. | ||
64 | |||
65 | Useful information about large (>540 MB) IDE disks, multiple | ||
66 | interfaces, what to do if ATA/IDE devices are not automatically | ||
67 | detected, sound card ATA/IDE ports, module support, and other | ||
68 | topics, is contained in <file:Documentation/ide/ide.txt>. For detailed | ||
69 | information about hard drives, consult the Disk-HOWTO and the | ||
70 | Multi-Disk-HOWTO, available from | ||
71 | <http://www.tldp.org/docs.html#howto>. | ||
72 | |||
73 | To fine-tune ATA/IDE drive/interface parameters for improved | ||
74 | performance, look for the hdparm package at | ||
75 | <ftp://ibiblio.org/pub/Linux/system/hardware/>. | ||
76 | |||
77 | To compile this driver as a module, choose M here and read | ||
78 | <file:Documentation/ide/ide.txt>. The module will be called ide-mod. | ||
79 | Do not compile this driver as a module if your root file system (the | ||
80 | one containing the directory /) is located on an IDE device. | ||
81 | |||
82 | If you have one or more IDE drives, say Y or M here. If your system | ||
83 | has no IDE drives, or if memory requirements are really tight, you | ||
84 | could say N here, and select the "Old hard disk driver" below | ||
85 | instead to save about 13 KB of memory in the kernel. | ||
86 | |||
87 | if BLK_DEV_IDE | ||
88 | |||
89 | comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" | 57 | comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" |
90 | 58 | ||
91 | config IDE_TIMINGS | 59 | config IDE_TIMINGS |
@@ -348,7 +316,7 @@ config BLK_DEV_IDEPCI | |||
348 | 316 | ||
349 | config IDEPCI_PCIBUS_ORDER | 317 | config IDEPCI_PCIBUS_ORDER |
350 | bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)" | 318 | bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)" |
351 | depends on BLK_DEV_IDE=y && BLK_DEV_IDEPCI | 319 | depends on IDE=y && BLK_DEV_IDEPCI |
352 | default y | 320 | default y |
353 | help | 321 | help |
354 | Probe IDE PCI devices in the order in which they appear on the | 322 | Probe IDE PCI devices in the order in which they appear on the |
@@ -729,7 +697,7 @@ endif | |||
729 | 697 | ||
730 | config BLK_DEV_IDE_PMAC | 698 | config BLK_DEV_IDE_PMAC |
731 | tristate "PowerMac on-board IDE support" | 699 | tristate "PowerMac on-board IDE support" |
732 | depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y | 700 | depends on PPC_PMAC && IDE=y |
733 | select IDE_TIMINGS | 701 | select IDE_TIMINGS |
734 | help | 702 | help |
735 | This driver provides support for the on-board IDE controller on | 703 | This driver provides support for the on-board IDE controller on |
@@ -963,6 +931,4 @@ config BLK_DEV_IDEDMA | |||
963 | def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \ | 931 | def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \ |
964 | BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA | 932 | BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA |
965 | 933 | ||
966 | endif | ||
967 | |||
968 | endif # IDE | 934 | endif # IDE |
diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile index 308b8a12f314..f408983f89f3 100644 --- a/drivers/ide/Makefile +++ b/drivers/ide/Makefile | |||
@@ -15,14 +15,14 @@ ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o | |||
15 | ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o | 15 | ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o |
16 | ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o | 16 | ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o |
17 | 17 | ||
18 | obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o | 18 | obj-$(CONFIG_IDE) += ide-core.o |
19 | 19 | ||
20 | ifeq ($(CONFIG_IDE_ARM), y) | 20 | ifeq ($(CONFIG_IDE_ARM), y) |
21 | ide-arm-core-y += arm/ide_arm.o | 21 | ide-arm-core-y += arm/ide_arm.o |
22 | obj-y += ide-arm-core.o | 22 | obj-y += ide-arm-core.o |
23 | endif | 23 | endif |
24 | 24 | ||
25 | obj-$(CONFIG_BLK_DEV_IDE) += legacy/ pci/ | 25 | obj-$(CONFIG_IDE) += legacy/ pci/ |
26 | 26 | ||
27 | obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o | 27 | obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o |
28 | 28 | ||
@@ -31,7 +31,7 @@ ifeq ($(CONFIG_BLK_DEV_CMD640), y) | |||
31 | obj-y += cmd640-core.o | 31 | obj-y += cmd640-core.o |
32 | endif | 32 | endif |
33 | 33 | ||
34 | obj-$(CONFIG_BLK_DEV_IDE) += ppc/ | 34 | obj-$(CONFIG_IDE) += ppc/ |
35 | obj-$(CONFIG_IDE_H8300) += h8300/ | 35 | obj-$(CONFIG_IDE_H8300) += h8300/ |
36 | obj-$(CONFIG_IDE_GENERIC) += ide-generic.o | 36 | obj-$(CONFIG_IDE_GENERIC) += ide-generic.o |
37 | obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o | 37 | obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o |
@@ -54,4 +54,4 @@ ifeq ($(CONFIG_BLK_DEV_PLATFORM), y) | |||
54 | obj-y += ide-platform-core.o | 54 | obj-y += ide-platform-core.o |
55 | endif | 55 | endif |
56 | 56 | ||
57 | obj-$(CONFIG_BLK_DEV_IDE) += arm/ mips/ | 57 | obj-$(CONFIG_IDE) += arm/ mips/ |