Hi, All.

Alpha and mips already have ethernet connection in
config/common/FSConfig.py.

For example, alpha has following codes which connect ethernet device to
gem5 ALPHA.

class BaseTsunami(Tsunami):
        ethernet = NSGigE(pci_bus=0, pci_dev=1, pci_func=0)
        ide = IdeController(disks=[Parent.disk0, Parent.disk2],
                            pci_func=0, pci_dev=0, pci_bus=0)


However, I couldn't find such codes under makeX86system.
What I'm trying to do is connecting this ethernet device to x86 FS.

As far as I know, linux kernel is compiled with ethernet configuration.
I checked it in the kernel configuration file (linux-2.6.22.9.smp)
available
in gem5 website.

# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y

But I'm not sure how to add ethernet connection for x86 in FSConfig.py ....
Is there simple way to do it?

-- 
Thanks,
Jinchun Kim
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to