summaryrefslogtreecommitdiff
path: root/src/dev/i8254xGBe.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-10-20 13:00:05 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-10-20 13:00:05 -0400
commit32384b2f6be42016f7bd92c9cfca591314f68e5e (patch)
treecf9b71789c7928240881843de6ffd0200da667a2 /src/dev/i8254xGBe.hh
parent0e2561710b44f811a5e179935d54ef240013d03e (diff)
downloadgem5-32384b2f6be42016f7bd92c9cfca591314f68e5e.tar.xz
still working on getting past initialization
--HG-- extra : convert_revision : 7a5fccb9a19d363e479ef24012a7b8598272eaa9
Diffstat (limited to 'src/dev/i8254xGBe.hh')
-rw-r--r--src/dev/i8254xGBe.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dev/i8254xGBe.hh b/src/dev/i8254xGBe.hh
index 88931eb6d..8e2dd2e9c 100644
--- a/src/dev/i8254xGBe.hh
+++ b/src/dev/i8254xGBe.hh
@@ -39,6 +39,7 @@
#include "base/statistics.hh"
#include "dev/etherint.hh"
#include "dev/etherpkt.hh"
+#include "dev/i8254xGBe_defs.hh"
#include "dev/pcidev.hh"
#include "dev/pktfifo.hh"
#include "sim/eventq.hh"
@@ -49,6 +50,12 @@ class IGbE : public PciDev
{
private:
IGbEInt *etherInt;
+ iGbReg::Regs regs;
+ int eeOpBits, eeAddrBits, eeDataBits;
+ uint8_t eeOpcode, eeAddr;
+
+ uint16_t flash[iGbReg::EEPROM_SIZE];
+
public:
struct Params : public PciDev::Params