MIPS: Loongson64: Select ARCH_MIGHT_HAVE_PC_PARPORT
Subsystems (2)
PATCH v2 1/2 MIPS: Loongson64: Select ARCH_MIGHT_HAVE_PC_PARPORT
Commit a211a0820d3c8e7a ("MIPS: Push ARCH_MIGHT_HAVE_PC_PARPORT down to platform level") moves the global MIPS ARCH_MIGHT_HAVE_PC_PARPORT select down to various platforms, but doesn't add it to Loongson64 platforms which need it, so add the selects to these platforms too.
--- arch/mips/loongson64/Kconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/mips/loongson64/Kconfig +3 -0
@@ -7,6 +7,7 @@ choice config LEMOTE_FULOONG2E bool "Lemote Fuloong(2e) mini-PC" select ARCH_SPARSEMEM_ENABLE + select ARCH_MIGHT_HAVE_PC_PARPORT select CEVT_R4K select CSRC_R4K select SYS_HAS_CPU_LOONGSON2E
@@ -33,6 +34,7 @@ config LEMOTE_FULOONG2E config LEMOTE_MACH2F bool "Lemote Loongson 2F family machines" select ARCH_SPARSEMEM_ENABLE + select ARCH_MIGHT_HAVE_PC_PARPORT select BOARD_SCACHE select BOOT_ELF32 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
@@ -62,6 +64,7 @@ config LEMOTE_MACH2F config LOONGSON_MACH3X bool "Generic Loongson 3 family machines" select ARCH_SPARSEMEM_ENABLE + select ARCH_MIGHT_HAVE_PC_PARPORT select GENERIC_ISA_DMA_SUPPORT_BROKEN select BOOT_ELF32 select BOARD_SCACHE
Signature · 1 line
2.7.0
PATCH v2 2/2 MIPS: Loongson64: Select ARCH_MIGHT_HAVE_PC_SERIO
Commit 7a407aa5e0d3e587 ("MIPS: Push ARCH_MIGHT_HAVE_PC_SERIO down to platform level") moves the global MIPS ARCH_MIGHT_HAVE_PC_SERIO select down to various platforms, but doesn't add it to Loongson64 platforms which need it, so add the selects to these platforms too.
--- arch/mips/loongson64/Kconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/mips/loongson64/Kconfig +3 -0
@@ -8,6 +8,7 @@ config LEMOTE_FULOONG2E bool "Lemote Fuloong(2e) mini-PC" select ARCH_SPARSEMEM_ENABLE select ARCH_MIGHT_HAVE_PC_PARPORT + select ARCH_MIGHT_HAVE_PC_SERIO select CEVT_R4K select CSRC_R4K select SYS_HAS_CPU_LOONGSON2E
@@ -35,6 +36,7 @@ config LEMOTE_MACH2F bool "Lemote Loongson 2F family machines" select ARCH_SPARSEMEM_ENABLE select ARCH_MIGHT_HAVE_PC_PARPORT + select ARCH_MIGHT_HAVE_PC_SERIO select BOARD_SCACHE select BOOT_ELF32 select CEVT_R4K if ! MIPS_EXTERNAL_TIMER
@@ -65,6 +67,7 @@ config LOONGSON_MACH3X bool "Generic Loongson 3 family machines" select ARCH_SPARSEMEM_ENABLE select ARCH_MIGHT_HAVE_PC_PARPORT + select ARCH_MIGHT_HAVE_PC_SERIO select GENERIC_ISA_DMA_SUPPORT_BROKEN select BOOT_ELF32 select BOARD_SCACHE
Signature · 1 line
2.7.0
arch/mips/loongson64/Kconfig choice · line 13
Quoted 12 lines · Huacai Chen
arch/mips/loongson64/Kconfig +1
-0@@ -7,6 +7,7 @@ choice config LEMOTE_FULOONG2E bool "Lemote Fuloong(2e) mini-PC" select ARCH_SPARSEMEM_ENABLE + select ARCH_MIGHT_HAVE_PC_PARPORT select CEVT_R4K select CSRC_R4K select SYS_HAS_CPU_LOONGSON2E
Hmm, I don't think the Fuloong(2e) machine has a parallel port connector.
The chipset may support the port, but with no external connection I think there's no point in enabling it. Or am I missing something?
Maciej
Jiaxun Yang
maintainerQuoted 13 lines · 在 2018-03-02五的 12:07 +0000,Maciej W. Rozycki写道:
Quoted 11 lines · Huacai Chen
arch/mips/loongson64/Kconfig +1
-0@@ -7,6 +7,7 @@ choice config LEMOTE_FULOONG2E bool "Lemote Fuloong(2e) mini-PC" select ARCH_SPARSEMEM_ENABLE + select ARCH_MIGHT_HAVE_PC_PARPORT select CEVT_R4K
Quoted 8 lines
arch/mips/loongson64/Kconfig choice · line 13
Quoted 2 lines
arch/mips/loongson64/Kconfig +0
-0select CSRC_R4K select SYS_HAS_CPU_LOONGSON2EHmm, I don't think the Fuloong(2e) machine has a parallel port
connector.
The chipset may support the port, but with no external connection I think
there's no point in enabling it. Or am I missing something?
Thanks for your advice.
Some other Loongson-2E devices share the same kernel entry with Fuloong-2E.
And the 2E desktop PC has a parallel port. So we enable it for these devices.
Quoted 3 lines
Maciej
Signature · 1 line
Jiaxun Yang <[email protected]>
Quoted 10 lines · Jiaxun Yang
Quoted 5 lines
Hmm, I don't think the Fuloong(2e) machine has a parallel port
connector.
The chipset may support the port, but with no external connection I think
there's no point in enabling it. Or am I missing something?Thanks for your advice.
Some other Loongson-2E devices share the same kernel entry with Fuloong-2E.
And the 2E desktop PC has a parallel port. So we enable it for these devices.
Ah, OK then, thanks for the clarification. Would you mind updating theKconfig description for LEMOTE_FULOONG2E to actually list the systems it covers then?
Maciej
Quoted 7 lines · Huacai Chen
Commit
a211a0820d3c8e7a("MIPS: PushARCH_MIGHT_HAVE_PC_PARPORTdown to platform level") moves the global MIPSARCH_MIGHT_HAVE_PC_PARPORTselect down to various platforms, but doesn't add it to Loongson64 platforms which need it, so add the selects to these platforms too.Fixes a211a0820d3c8e7a ("MIPS: Push ARCH_MIGHT_HAVE_PC_PARPORT down to platform level")Signed-off-by Huacai Chen <[email protected]>
Thanks, both patches applied for 4.16.
Cheers
James