get rid of some unused variables
authorNathan Binkert <binkertn@umich.edu>
Sat, 23 Oct 2004 17:11:42 +0000 (13:11 -0400)
committerNathan Binkert <binkertn@umich.edu>
Sat, 23 Oct 2004 17:11:42 +0000 (13:11 -0400)
--HG--
extra : convert_revision : 187cee0e0bad09bbaff059eb60f20d7d32c1b52c

dev/ide_ctrl.cc
dev/ns_gige.cc
dev/tsunami.hh

index dbec6d7433c0bf8380c929001cf1641e7e17b60e..787049533b577f9da7b2e83d75b268cc7a6785bb 100644 (file)
@@ -63,9 +63,6 @@ IdeController::IdeController(const string &name, IntrControl *ic,
                              Bus *host_bus, Tick pio_latency, HierParams *hier)
     : PciDev(name, mmu, cf, cd, bus_num, dev_num, func_num), tsunami(t)
 {
-    // put back pointer into Tsunami
-    tsunami->disk_controller = this;
-
     // initialize the PIO interface addresses
     pri_cmd_addr = 0;
     pri_cmd_size = BARSize[0];
index 8eb41e5ccce323e8f32eb9782063f17c5cb1eda9..3e55cf52fb2e03a29fc96e04624cdfcd178357ca 100644 (file)
@@ -119,8 +119,6 @@ NSGigE::NSGigE(const std::string &name, IntrControl *i, Tick intr_delay,
       physmem(pmem), intctrl(i), intrTick(0), cpuPendingIntr(false),
       intrEvent(0), interface(0)
 {
-    tsunami->ethernet = this;
-
     if (header_bus) {
         pioInterface = newPioInterface(name, hier, header_bus, this,
                                        &NSGigE::cacheAccess);
index db266d62d271a184607fa9f7fc3f7958370150b1..4367383fffb775a75a9ebc44eba9af354107fcc4 100644 (file)
@@ -62,12 +62,9 @@ class Tsunami : public Platform
 
     /** Pointer to the system */
     System *system;
+
     /** Pointer to the TsunamiIO device which has the RTC */
     TsunamiIO *io;
-    /** Pointer to the disk controller device */
-    IdeController *disk_controller;
-    /** Pointer to the ethernet controller device */
-    NSGigE *ethernet;
 
     /** Pointer to the Tsunami CChip.
       * The chip contains some configuration information and