summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-03-26 18:40:18 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-03-26 18:40:18 -0400
commite8dc1723ee132f3bc1cb9bb74c0cb0f3e9051cc2 (patch)
tree1d75a31c3ffa7e3d541a0561ca24524eaf2edbf8 /src/python
parent2c47413a7a4563c724d8470971d1059bdfe01c92 (diff)
downloadgem5-e8dc1723ee132f3bc1cb9bb74c0cb0f3e9051cc2.tar.xz
first bit of life from the intel gigabit model
--HG-- extra : convert_revision : d8944a53f6b585df21651c4e624518d5c49a7837
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/objects/Ethernet.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/python/m5/objects/Ethernet.py b/src/python/m5/objects/Ethernet.py
index a52e35511..bfe30950c 100644
--- a/src/python/m5/objects/Ethernet.py
+++ b/src/python/m5/objects/Ethernet.py
@@ -67,7 +67,14 @@ if build_env['ALPHA_TLASER']:
class IGbE(PciDevice):
type = 'IGbE'
- hardware_address = Param.EthernetAddr(NextEthernetAddr, "Ethernet Hardware Address")
+ hardware_address = Param.String("Ethernet Hardware Address")
+ use_flow_control = Param.Bool(False, "Should we use xon/xoff flow contorl (UNIMPLMENTD)")
+ rx_fifo_size = Param.MemorySize('384kB', "Size of the rx FIFO")
+ tx_fifo_size = Param.MemorySize('384kB', "Size of the tx FIFO")
+ rx_desc_cache_size = Param.Int(64, "Number of enteries in the rx descriptor cache")
+ tx_desc_cache_size = Param.Int(64, "Number of enteries in the rx descriptor cache")
+ clock = Param.Clock('500MHz', "Clock speed of the device")
+
class IGbEPciData(PciConfigData):
VendorID = 0x8086