[PATCH v2 08/11] hw/hppa: Add NCR 710 SCSI driver to LASI chip Kconfig entry

deller@kernel.org posted 11 patches 1 day, 18 hours ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Helge Deller <deller@gmx.de>, Fam Zheng <fam@euphon.net>
[PATCH v2 08/11] hw/hppa: Add NCR 710 SCSI driver to LASI chip Kconfig entry
Posted by deller@kernel.org 1 day, 18 hours ago
From: Helge Deller <deller@gmx.de>

The LASI chip is a multi I/O chip used in many older PA-RISC machines.
It includes functionality for NCR710 SCSI, serial, parallel, audio,
i82596 networking and PS/2 ports.

Add the functionality for NCR710_SCSI to the LASI Kconfig option
and move over the relevant parts from the generic HPPA_B160L Kconfig
option to get the dependeny rights.

v2: move dependency to NCR710 to LASI chip instead of base machine.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
---
 hw/hppa/Kconfig | 2 --
 hw/misc/Kconfig | 5 +++++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/hw/hppa/Kconfig b/hw/hppa/Kconfig
index cab21045de..9ede4d1140 100644
--- a/hw/hppa/Kconfig
+++ b/hw/hppa/Kconfig
@@ -17,7 +17,5 @@ config HPPA_B160L
     select IDE_CMD646
     select MC146818RTC
     select LSI_SCSI_PCI
-    select LASI_82596
-    select LASIPS2
     select PARALLEL
     select ARTIST
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig
index 4e35657468..fccd735c24 100644
--- a/hw/misc/Kconfig
+++ b/hw/misc/Kconfig
@@ -212,6 +212,11 @@ config VIRT_CTRL
 
 config LASI
     bool
+    select LASI_82596
+    select LASIPS2
+    select NCR710_SCSI
+    select PARALLEL
+    select SERIAL_MM
 
 config ALLWINNER_SRAMC
     bool
-- 
2.51.0