Commit 0f8e9a42 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] Christoph felt the IDE_HD v PC9800 was ugly

So its now two options
parent ec3eafcb
...@@ -44,7 +44,25 @@ comment "Please see Documentation/ide.txt for help/info on IDE drives" ...@@ -44,7 +44,25 @@ comment "Please see Documentation/ide.txt for help/info on IDE drives"
config BLK_DEV_HD_IDE config BLK_DEV_HD_IDE
bool "Use old disk-only driver on primary interface" bool "Use old disk-only driver on primary interface"
depends on BLK_DEV_IDE && X86 depends on BLK_DEV_IDE && X86 && X86_PC9800!=y
---help---
There are two drivers for MFM/RLL/IDE disks. Most people use just
the new enhanced driver by itself. This option however installs the
old hard disk driver to control the primary IDE/disk interface in
the system, leaving the new enhanced IDE driver to take care of only
the 2nd/3rd/4th IDE interfaces. Doing this will prevent you from
having an IDE/ATAPI CD-ROM or tape drive connected to the primary
IDE interface. Choosing this option may be useful for older systems
which have MFM/RLL/ESDI controller+drives at the primary port
address (0x1f0), along with IDE drives at the secondary/3rd/4th port
addresses.
Normally, just say N here; you will then use the new driver for all
4 interfaces.
config BLK_DEV_HD_IDE98
bool "Use old disk-only driver on primary interface"
depends on BLK_DEV_IDE && X86 && X86_PC9800
---help--- ---help---
There are two drivers for MFM/RLL/IDE disks. Most people use just There are two drivers for MFM/RLL/IDE disks. Most people use just
the new enhanced driver by itself. This option however installs the the new enhanced driver by itself. This option however installs the
......
...@@ -16,10 +16,7 @@ obj-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o ...@@ -16,10 +16,7 @@ obj-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o
obj-$(CONFIG_BLK_DEV_IDECS) += ide-cs.o obj-$(CONFIG_BLK_DEV_IDECS) += ide-cs.o
# Last of all # Last of all
ifneq ($(CONFIG_X86_PC9800),y)
obj-$(CONFIG_BLK_DEV_HD) += hd.o obj-$(CONFIG_BLK_DEV_HD) += hd.o
else obj-$(CONFIG_BLK_DEV_HD98) += hd98.o
obj-$(CONFIG_BLK_DEV_HD) += hd98.o
endif
EXTRA_CFLAGS := -Idrivers/ide EXTRA_CFLAGS := -Idrivers/ide
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment