Mostly changes to point Tsunami related stuff to use AdaptecController
authorAndrew Schultz <alschult@umich.edu>
Tue, 3 Feb 2004 22:02:48 +0000 (17:02 -0500)
committerAndrew Schultz <alschult@umich.edu>
Tue, 3 Feb 2004 22:02:48 +0000 (17:02 -0500)
dev/tsunami.cc:
dev/tsunami.hh:
    Change to use AdaptecController with Tsunami

--HG--
extra : convert_revision : 6ff4f9f7ae1959589340b2ab23755b4dbfec4dbc

dev/tsunami.cc
dev/tsunami.hh

index a8cf551d324970bea1a6d7ef0e583f5c6617e563..c6823ffa4fdc2f413c562877f9fc8ff61f495d6d 100644 (file)
@@ -33,7 +33,7 @@
 #include "cpu/intr_control.hh"
 #include "dev/console.hh"
 #include "dev/etherdev.hh"
-#include "dev/scsi_ctrl.hh"
+#include "dev/adaptec_ctrl.hh"
 #include "dev/tlaser_clock.hh"
 #include "dev/tsunami_cchip.hh"
 #include "dev/tsunami_pchip.hh"
@@ -43,7 +43,7 @@
 
 using namespace std;
 
-Tsunami::Tsunami(const string &name, ScsiController *s, EtherDev *e,
+Tsunami::Tsunami(const string &name, AdaptecController *s, EtherDev *e,
                        SimConsole *con, IntrControl *ic, int intr_freq)
     : SimObject(name), intrctrl(ic), cons(con), scsi(s), ethernet(e),
       interrupt_frequency(intr_freq)
@@ -66,7 +66,7 @@ Tsunami::unserialize(Checkpoint *cp, const std::string &section)
 
 BEGIN_DECLARE_SIM_OBJECT_PARAMS(Tsunami)
 
-    SimObjectParam<ScsiController *> scsi;
+    SimObjectParam<AdaptecController *> scsi;
     SimObjectParam<EtherDev *> ethernet;
     SimObjectParam<SimConsole *> cons;
     SimObjectParam<IntrControl *> intrctrl;
index e6623899d961fa9508347d95e024d45eea9dfb88..f45bb205969c0c151a9adb8585b9fc648f05d58a 100644 (file)
@@ -40,7 +40,7 @@
 class IntrControl;
 class ConsoleListener;
 class SimConsole;
-class ScsiController;
+class AdaptecController;
 class TlaserClock;
 class EtherDev;
 class TsunamiCChip;
@@ -67,7 +67,7 @@ class Tsunami : public SimObject
     SimConsole *cons;
 
     /** Pointer to the SCSI controller device */
-    ScsiController *scsi;
+    AdaptecController *scsi;
     /** Pointer to the ethernet controller device */
     EtherDev *ethernet;
 
@@ -99,7 +99,7 @@ class Tsunami : public SimObject
       * Constructor for the Tsunami Class.
       * @param
       */
-    Tsunami(const std::string &name, ScsiController *scsi,
+    Tsunami(const std::string &name, AdaptecController *scsi,
                EtherDev *ethernet,
                SimConsole *, IntrControl *intctrl, int intrFreq);