On 2/4/19 9:26 PM, Philippe Mathieu-Daudé wrote:
> The Loongson 2E uses a Bonito64 system controller as North Bridge and a
> VT82C686 chipset as South Bridge. The network card chipset is a RTL8139D.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> default-configs/mips64el-softmmu.mak | 3 ---
> hw/isa/Kconfig | 13 +++++++++----
> hw/mips/Kconfig | 5 +++++
> 3 files changed, 14 insertions(+), 7 deletions(-)
>
> diff --git a/default-configs/mips64el-softmmu.mak b/default-configs/mips64el-softmmu.mak
> index 9e80711275..326c5cd520 100644
> --- a/default-configs/mips64el-softmmu.mak
> +++ b/default-configs/mips64el-softmmu.mak
> @@ -1,8 +1,5 @@
> # Default configuration for mips64el-softmmu
>
> include mips-softmmu-common.mak
> -CONFIG_IDE_VIA=y
> CONFIG_FULONG=y
> -CONFIG_PCI_BONITO=y
> -CONFIG_VT82C686=y
> CONFIG_MIPS_BOSTON=y
> diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig
> index d580471c00..bd6f60dd3d 100644
> --- a/hw/isa/Kconfig
> +++ b/hw/isa/Kconfig
> @@ -33,10 +33,15 @@ config PIIX4
>
> config VT82C686
> bool
> - select ISA_BUS
> - select ACPI_SMBUS
The VT82C686 config might be incorrect, I rebased this on another
series where I reworked the ISA_SUPERIO config and have to check
this part again.
> - select SERIAL_ISA
> - select FDC
> + select PCI
> + select I8259
> + select I8254
> + select I8257
> + select PARALLEL
> + select IDE_ISA
> + select IDE_VIA
> + select USB_UHCI
> + #select PCKBD
>
> config SMC37C669
> bool
> diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
> index 2940ff39ab..16b2bdb068 100644
> --- a/hw/mips/Kconfig
> +++ b/hw/mips/Kconfig
> @@ -42,6 +42,11 @@ config JAZZ
>
> config FULONG
> bool
> + select PCI_BONITO
> + select VT82C686
> + select SMBUS_EEPROM
> + select RTL8139_PCI
> + select MC146818RTC
>
> config MIPS_CPS
> bool
>