diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-27 15:35:55 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-27 15:35:55 -0500 |
commit | c03a9278ad96e1e7d144f5f626c6794f050c0ae7 (patch) | |
tree | 114d8880da519bc1f5a170b0921d02d475ee97de /arch | |
parent | acfad6e186664fa8521662bb7992ff6508f9357b (diff) |
ide: move CONFIG_IDE_ETRAX to drivers/ide/Kconfig
* Move ETRAX_IDE and friends from arch/cris/arch-{v10,v32}/drivers/Kconfig
to drivers/ide/Kconfig.
* Don't force selecting ide-disk and ide-cd device drivers
(please handle this through defconfig if necessary).
* Make ETRAX_IDE depend on BROKEN for the time being
(it doesn't even compile currently).
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/cris/arch-v10/drivers/Kconfig | 39 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/Kconfig | 12 |
2 files changed, 0 insertions, 51 deletions
diff --git a/arch/cris/arch-v10/drivers/Kconfig b/arch/cris/arch-v10/drivers/Kconfig index faf8b4d3ca01..e3c0f2928149 100644 --- a/arch/cris/arch-v10/drivers/Kconfig +++ b/arch/cris/arch-v10/drivers/Kconfig | |||
@@ -542,45 +542,6 @@ config ETRAX_RS485_DISABLE_RECEIVER | |||
542 | loopback. Not all products are able to do this in software only. | 542 | loopback. Not all products are able to do this in software only. |
543 | Axis 2400/2401 must disable receiver. | 543 | Axis 2400/2401 must disable receiver. |
544 | 544 | ||
545 | config ETRAX_IDE | ||
546 | bool "ATA/IDE support" | ||
547 | select IDE | ||
548 | select BLK_DEV_IDE | ||
549 | select BLK_DEV_IDEDISK | ||
550 | select BLK_DEV_IDECD | ||
551 | select BLK_DEV_IDEDMA | ||
552 | select IDE_GENERIC | ||
553 | help | ||
554 | Enable this to get support for ATA/IDE. | ||
555 | You can't use parallel ports or SCSI ports | ||
556 | at the same time. | ||
557 | |||
558 | |||
559 | config ETRAX_IDE_DELAY | ||
560 | int "Delay for drives to regain consciousness" | ||
561 | depends on ETRAX_IDE | ||
562 | default 15 | ||
563 | help | ||
564 | Number of seconds to wait for IDE drives to spin up after an IDE | ||
565 | reset. | ||
566 | choice | ||
567 | prompt "IDE reset pin" | ||
568 | depends on ETRAX_IDE | ||
569 | default ETRAX_IDE_PB7_RESET | ||
570 | |||
571 | config ETRAX_IDE_PB7_RESET | ||
572 | bool "Port_PB_Bit_7" | ||
573 | help | ||
574 | IDE reset on pin 7 on port B | ||
575 | |||
576 | config ETRAX_IDE_G27_RESET | ||
577 | bool "Port_G_Bit_27" | ||
578 | help | ||
579 | IDE reset on pin 27 on port G | ||
580 | |||
581 | endchoice | ||
582 | |||
583 | |||
584 | config ETRAX_USB_HOST | 545 | config ETRAX_USB_HOST |
585 | bool "USB host" | 546 | bool "USB host" |
586 | select USB | 547 | select USB |
diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig index 7f72d7c9e1ce..9bccb5e2a960 100644 --- a/arch/cris/arch-v32/drivers/Kconfig +++ b/arch/cris/arch-v32/drivers/Kconfig | |||
@@ -582,18 +582,6 @@ config ETRAX_PE_CHANGEABLE_BITS | |||
582 | that a user can change the value on using ioctl's. | 582 | that a user can change the value on using ioctl's. |
583 | Bit set = changeable. | 583 | Bit set = changeable. |
584 | 584 | ||
585 | config ETRAX_IDE | ||
586 | bool "ATA/IDE support" | ||
587 | depends on ETRAX_ARCH_V32 | ||
588 | select IDE | ||
589 | select BLK_DEV_IDE | ||
590 | select BLK_DEV_IDEDISK | ||
591 | select BLK_DEV_IDECD | ||
592 | select BLK_DEV_IDEDMA | ||
593 | select IDE_GENERIC | ||
594 | help | ||
595 | Enables the ETRAX IDE driver. | ||
596 | |||
597 | config ETRAX_CARDBUS | 585 | config ETRAX_CARDBUS |
598 | bool "Cardbus support" | 586 | bool "Cardbus support" |
599 | depends on ETRAX_ARCH_V32 | 587 | depends on ETRAX_ARCH_V32 |