Merge zizzer.eecs.umich.edu:/bk/newmem
[gem5.git] / src / dev / i8254xGBe.hh
index 161d8befc26afba559ad61fc3f4595e1b8af8af8..fa9e65b22c62f233789535b7670db1047cc45c73 100644 (file)
@@ -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,11 +50,19 @@ class IGbE : public PciDev
 {
   private:
     IGbEInt *etherInt;
+    iGbReg::Regs regs;
+    int eeOpBits, eeAddrBits, eeDataBits;
+    uint8_t eeOpcode, eeAddr;
+
+    bool useFlowControl;
+
+    uint16_t flash[iGbReg::EEPROM_SIZE];
+
 
   public:
     struct Params : public PciDev::Params
     {
-        ;
+        bool use_flow_control;
     };
 
     IGbE(Params *params);