cpu: Removing an unused variable in rename
[gem5.git] / src / dev / ide_ctrl.hh
index 89dc1ee9ddbf5cbef99bea9eeca8c206ab462b67..414e310873e812e43b89a852b5ad38439a0c15c3 100644 (file)
@@ -38,9 +38,9 @@
 #define __IDE_CTRL_HH__
 
 #include "base/bitunion.hh"
+#include "dev/io_device.hh"
 #include "dev/pcidev.hh"
 #include "dev/pcireg.h"
-#include "dev/io_device.hh"
 #include "params/IdeController.hh"
 
 class IdeDisk;
@@ -49,7 +49,7 @@ class IdeDisk;
  * Device model for an Intel PIIX4 IDE controller
  */
 
-class IdeController : public PciDev
+class IdeController : public PciDevice
 {
   private:
     // Bus master IDE status register bit fields
@@ -133,6 +133,8 @@ class IdeController : public PciDev
     bool ioEnabled;
     bool bmEnabled;
 
+    uint32_t ioShift, ctrlOffset;
+
     void dispatchAccess(PacketPtr pkt, bool read);
 
   public: