[PATCH 06/12] ide: limit legacy VLB host drivers to alpha, x86 and mips

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bartlomiej Zolnierkiewicz
Date: Saturday, February 16, 2008 - 9:39 am

These host drivers indirectly depend on CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS=y
which is defined only on alpha, x86, ia64, m32r, mips and ppc32.

Moreover:

- on ia64 there is no ISA

- m32r is too new for VLB

- on ppc32 ISA is available only on PPC_CHRP (no default IDE ports)
  and PPC_PREP (marked as BROKEN)

[ the common sense tells me that VLB was only used on x86 but there
  are urban legends that one of these host drivers was needed on some
  other arch - thus the extra care ]

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/drivers/ide/Kconfig
===================================================================
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -1031,7 +1031,7 @@ config IDE_EXT_DIRECT
 endchoice
 
 # no isa -> no vlb
-if ISA
+if ISA && (ALPHA || X86 || MIPS)
 
 comment "Other IDE chipsets support"
 comment "Note: most of these also require special kernel boot parameters"
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 01/12] ide: remove ide_default_io_ctl() macro, Bartlomiej Zolnierki ..., (Sat Feb 16, 9:38 am)
[PATCH 02/12] ide: remove ppc ifdef from init_ide_data(), Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 03/12] ide: add ide-4drives host driver, Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 04/12] cmd640: cleanup setup_device_ptrs(), Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 05/12] cmd640: init hwif-&gt;{io_ports,irq} explicitly, Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 06/12] ide: limit legacy VLB host drivers to alpha, ..., Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 07/12] ide: init hwif-&gt;{io_ports,irq} explicitly in ..., Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 08/12] ide: remove needless hwif-&gt;irq check from id ..., Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 09/12] ide: move default IDE ports setup to ide_gen ..., Bartlomiej Zolnierki ..., (Sat Feb 16, 9:39 am)
[PATCH 10/12] ide: remove ide_init_default_irq() macro, Bartlomiej Zolnierki ..., (Sat Feb 16, 9:40 am)
[PATCH 11/12] ide: cleanup ide_match_hwif(), Bartlomiej Zolnierki ..., (Sat Feb 16, 9:40 am)
[PATCH 12/12] ide: cleanup ide_find_port(), Bartlomiej Zolnierki ..., (Sat Feb 16, 9:40 am)
Re: [PATCH 03/12] ide: add ide-4drives host driver, Randy Dunlap, (Sat Feb 16, 10:26 am)
Re: [PATCH 03/12] ide: add ide-4drives host driver, Bartlomiej Zolnierki ..., (Sun Feb 17, 10:12 am)
Re: [PATCH 03/12] ide: add ide-4drives host driver, Sergei Shtylyov, (Tue Feb 19, 6:03 am)
Re: [PATCH 03/12] ide: add ide-4drives host driver, Bartlomiej Zolnierki ..., (Tue Feb 19, 2:24 pm)