summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-03-11 16:04:44 +0800
committerWu Zhangjin <wuzhangjin@gmail.com>2010-03-11 19:54:39 +0800
commit876c52cc046e00eaa2ffc5124dc187106ef57594 (patch)
tree1f10a7424bf811967e169ad222c5c52d30539bab /arch/mips
parent324b875f9006d755ffdb79117ab42d221fb2e0ef (diff)
downloadlwn-876c52cc046e00eaa2ffc5124dc187106ef57594.tar.gz
lwn-876c52cc046e00eaa2ffc5124dc187106ef57594.zip
Loongson: add a new option FUJITSU_QUIRKS
This option enables the quirks of fujitsu disk on some old FuLoong-2F series(6002, 6003), If you want to use the libata, this option must be enabled, otherwise, the kernel will report "IRQ #14 nobody cared". but for the old IDE driver, this option is not needed and for some new FuLoong-2F series(6004, 6005, 6014, 6015), this must be disabled to avoid the kernel hang on booting. Note: a better method is determining it through the machtype, but currently, the machtype only reflect the fuloong, yeeloong, not reflect the model of them, for example, fuloong-6002, fuloong-6003, in the future, this machtype should be improved. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/loongson/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig
index ab08247598ed..a105316f2d7d 100644
--- a/arch/mips/loongson/Kconfig
+++ b/arch/mips/loongson/Kconfig
@@ -83,3 +83,17 @@ config LOONGSON_UART_BASE
bool
default y
depends on EARLY_PRINTK || SERIAL_8250
+
+config FUJITSU_QUIRKS
+ bool "Enable the quirks of fujitsu disk on some old FuLoong-2F series"
+ default n
+ depends on LEMOTE_MACH2F
+ help
+ This option enables the quirks of fujitsu disk on some old FuLoong-2F
+ series(6002, 6003), If you want to use the libata, this option must
+ be enabled, otherwise, the kernel will report "IRQ #14 nobody cared".
+ but for the old IDE driver, this option is not needed and for some
+ new FuLoong-2F series(6004, 6005, 6014, 6015), this must be disabled
+ to avoid the kernel hang on booting.
+
+ If unsure, say N.