diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-05-04 14:35:38 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-17 15:19:39 +0200 |
commit | 7a188f2b5744c0492de1c8eea315f259e0256a1e (patch) | |
tree | f750dbded5c7602a9838422c2c97c20e69e2b66a /hw/net/Kconfig | |
parent | d09ecd8c14d11d805f65445557cfa691a510dd31 (diff) | |
download | qemu-7a188f2b5744c0492de1c8eea315f259e0256a1e.zip qemu-7a188f2b5744c0492de1c8eea315f259e0256a1e.tar.gz qemu-7a188f2b5744c0492de1c8eea315f259e0256a1e.tar.bz2 |
hw/net/ne2000: Extract the PCI device from the chipset common code
The ne2000.c file contains functions common the the ISA and PCI
devices. To allow to build with one or another, extract the PCI
specific part into a new file.
This fix an issue where the NE2000_ISA Kconfig had to pull the
full PCI core objects.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190504123538.14952-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/net/Kconfig')
-rw-r--r-- | hw/net/Kconfig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/net/Kconfig b/hw/net/Kconfig index 7d7bbc5..4ef86dc 100644 --- a/hw/net/Kconfig +++ b/hw/net/Kconfig @@ -1,10 +1,14 @@ config DP8393X bool +config NE2000_COMMON + bool + config NE2000_PCI bool default y if PCI_DEVICES depends on PCI + select NE2000_COMMON config EEPRO100_PCI bool @@ -51,8 +55,7 @@ config NE2000_ISA bool default y depends on ISA_BUS - depends on PCI # for NE2000State - select NE2000_PCI + select NE2000_COMMON config OPENCORES_ETH bool |