summaryrefslogtreecommitdiff
path: root/dev/ns_gige.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-07-26 23:10:20 -0400
committerNathan Binkert <binkertn@umich.edu>2004-07-26 23:10:20 -0400
commitda2566f0149b931105cea8b16525e84c1e0c66a2 (patch)
treeee4713039ecac9e0bf9f0d79fcb1308bfdac8b89 /dev/ns_gige.hh
parentac61adef918cd80077e1f886bf73de9f2b301c0d (diff)
downloadgem5-da2566f0149b931105cea8b16525e84c1e0c66a2.tar.xz
style
--HG-- extra : convert_revision : 7489726b6c7bd11af603a448e4ff56c1e46139fe
Diffstat (limited to 'dev/ns_gige.hh')
-rw-r--r--dev/ns_gige.hh17
1 files changed, 7 insertions, 10 deletions
diff --git a/dev/ns_gige.hh b/dev/ns_gige.hh
index 6405dc634..c326d0921 100644
--- a/dev/ns_gige.hh
+++ b/dev/ns_gige.hh
@@ -34,21 +34,15 @@
#ifndef __NS_GIGE_HH__
#define __NS_GIGE_HH__
-//#include "base/range.hh"
+#include "base/statistics.hh"
#include "dev/etherint.hh"
#include "dev/etherpkt.hh"
-#include "sim/eventq.hh"
+#include "dev/io_device.hh"
#include "dev/ns_gige_reg.h"
-#include "base/statistics.hh"
#include "dev/pcidev.hh"
#include "dev/tsunami.hh"
-#include "dev/io_device.hh"
#include "mem/bus/bus.hh"
-
-/** defined by the NS83820 data sheet */
-//these are now params for the device
-//#define MAX_TX_FIFO_SIZE 8192
-//#define MAX_RX_FIFO_SIZE 32768
+#include "sim/eventq.hh"
/** length of ethernet address in bytes */
#define EADDR_LEN 6
@@ -92,7 +86,10 @@ struct dp_regs {
};
struct dp_rom {
- /** for perfect match memory. the linux driver doesn't use any other ROM */
+ /**
+ * for perfect match memory.
+ * the linux driver doesn't use any other ROM
+ */
uint8_t perfectMatch[EADDR_LEN];
};