exporting patch: # HG changeset patch # User Jiuyue Ma # Date 1405570194 -28800 # Node ID 79553f12ba34330f011264396aa335f4e0143b9d # Parent 2861ee21f27b4da079d1b80c6308831a8b890709 config: add ethernet support for x86 fullsystem This patch add a IGbE_e1000 ethernet device to x86 fs system. diff -r 2861ee21f27b -r 79553f12ba34 configs/common/FSConfig.py --- a/configs/common/FSConfig.py Thu Jul 17 12:05:41 2014 +0800 +++ b/configs/common/FSConfig.py Thu Jul 17 12:09:54 2014 +0800 @@ -424,6 +424,15 @@ disk2.childImage(disk('linux-bigswap2.img')) self.pc.south_bridge.ide.disks = [disk0, disk2] + # Ethernet + # - connect to PCI bus (bus_id=0) + # - connect to I/O APIC use INT-A (InterruptPin=1) + self.pc.ethernet = IGbE_e1000(pci_bus=0, pci_dev=2, pci_func=0, + InterruptLine=10, InterruptPin=1) + self.pc.ethernet.pio = self.iobus.master + self.pc.ethernet.config = self.iobus.master + self.pc.ethernet.dma = self.iobus.slave + # Add in a Bios information structure. structures = [X86SMBiosBiosInformation()] self.smbios_table.structures = structures