From 2c5f66a7fabe95671f7cd44ce5a29819414fa2b2 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Fri, 12 Mar 2010 13:35:31 +0100 Subject: Revert "Loongson: add a new option FUJITSU_QUIRKS" This reverts commit 876c52cc046e00eaa2ffc5124dc187106ef57594. Breaks !MIPS Signed-off-by: Thomas Gleixner --- arch/mips/loongson/Kconfig | 14 -------------- drivers/ide/ide-iops.c | 6 ------ 2 files changed, 20 deletions(-) diff --git a/arch/mips/loongson/Kconfig b/arch/mips/loongson/Kconfig index a105316f2d7d..ab08247598ed 100644 --- a/arch/mips/loongson/Kconfig +++ b/arch/mips/loongson/Kconfig @@ -83,17 +83,3 @@ 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. diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 9dba71e5fe7d..53a085c35616 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c @@ -26,7 +26,6 @@ #include #include #include -#include void SELECT_MASK(ide_drive_t *drive, int mask) { @@ -301,11 +300,6 @@ void ide_check_nien_quirk_list(ide_drive_t *drive) { const char **list, *m = (char *)&drive->id[ATA_ID_PROD]; -#ifdef CONFIG_FUJITSU_QUIRKS - if (mips_machtype != MACH_LEMOTE_YL2F89) - return; -#endif - for (list = nien_quirk_list; *list != NULL; list++) if (strstr(m, *list) != NULL) { drive->dev_flags |= IDE_DFLAG_NIEN_QUIRK; -- cgit v1.2.3