Skip to content

Commit 452a8ed

Browse files
committed
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>
1 parent baf08f0 commit 452a8ed

2 files changed

Lines changed: 6 additions & 40 deletions

File tree

‎drivers/ide/Kconfig‎

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -54,38 +54,6 @@ menuconfig IDE
5454

5555
if IDE
5656

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-
8957
comment "Please see Documentation/ide/ide.txt for help/info on IDE drives"
9058

9159
config IDE_TIMINGS
@@ -348,7 +316,7 @@ config BLK_DEV_IDEPCI
348316

349317
config IDEPCI_PCIBUS_ORDER
350318
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
352320
default y
353321
help
354322
Probe IDE PCI devices in the order in which they appear on the
@@ -729,7 +697,7 @@ endif
729697

730698
config BLK_DEV_IDE_PMAC
731699
tristate "PowerMac on-board IDE support"
732-
depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y
700+
depends on PPC_PMAC && IDE=y
733701
select IDE_TIMINGS
734702
help
735703
This driver provides support for the on-board IDE controller on
@@ -963,6 +931,4 @@ config BLK_DEV_IDEDMA
963931
def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \
964932
BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
965933

966-
endif
967-
968934
endif # IDE

‎drivers/ide/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ ide-core-$(CONFIG_BLK_DEV_IDEDMA) += ide-dma.o
1515
ide-core-$(CONFIG_IDE_PROC_FS) += ide-proc.o
1616
ide-core-$(CONFIG_BLK_DEV_IDEACPI) += ide-acpi.o
1717

18-
obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
18+
obj-$(CONFIG_IDE) += ide-core.o
1919

2020
ifeq ($(CONFIG_IDE_ARM), y)
2121
ide-arm-core-y += arm/ide_arm.o
2222
obj-y += ide-arm-core.o
2323
endif
2424

25-
obj-$(CONFIG_BLK_DEV_IDE) += legacy/ pci/
25+
obj-$(CONFIG_IDE) += legacy/ pci/
2626

2727
obj-$(CONFIG_IDEPCI_PCIBUS_ORDER) += ide-scan-pci.o
2828

@@ -31,7 +31,7 @@ ifeq ($(CONFIG_BLK_DEV_CMD640), y)
3131
obj-y += cmd640-core.o
3232
endif
3333

34-
obj-$(CONFIG_BLK_DEV_IDE) += ppc/
34+
obj-$(CONFIG_IDE) += ppc/
3535
obj-$(CONFIG_IDE_H8300) += h8300/
3636
obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
3737
obj-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o
@@ -54,4 +54,4 @@ ifeq ($(CONFIG_BLK_DEV_PLATFORM), y)
5454
obj-y += ide-platform-core.o
5555
endif
5656

57-
obj-$(CONFIG_BLK_DEV_IDE) += arm/ mips/
57+
obj-$(CONFIG_IDE) += arm/ mips/

0 commit comments

Comments
 (0)