projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sort #includes
[gem5.git]
/
dev
/
ns_gige_reg.h
diff --git
a/dev/ns_gige_reg.h
b/dev/ns_gige_reg.h
index 774fec4352d9f04ad5d4a658c1b1bf1ad91c9adc..01577fa398438a86a4bbd615a24769c1feb81089 100644
(file)
--- a/
dev/ns_gige_reg.h
+++ b/
dev/ns_gige_reg.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 200
3
The Regents of The University of Michigan
+ * Copyright (c) 200
4
The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-55,17
+55,13
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
-
-
-
/* @file
* Ethernet device register definitions for the National
* Semiconductor DP83820 Ethernet controller
*/
/* @file
* Ethernet device register definitions for the National
* Semiconductor DP83820 Ethernet controller
*/
-#ifndef _
NS_GIGE_H
-#define _
NS_GIGE_H
_
+#ifndef _
_DEV_NS_GIGE_REG_H__
+#define _
_DEV_NS_GIGE_REG_H_
_
/*
* Configuration Register Map
/*
* Configuration Register Map
@@
-220,6
+216,9
@@
#define ISR_RXDESC 0x00000002
#define ISR_RXOK 0x00000001
#define ISR_ALL 0x7FFFFFFF
#define ISR_RXDESC 0x00000002
#define ISR_RXOK 0x00000001
#define ISR_ALL 0x7FFFFFFF
+#define ISR_NODELAY (ISR_ALL & ~(ISR_RXOK|ISR_RXDESC|ISR_TXOK|ISR_TXDESC))
+#define ISR_NOIMPL (~(ISR_SWI|ISR_TXIDLE|ISR_TXDESC|ISR_TXOK|ISR_RXORN| \
+ ISR_RXIDLE|ISR_RXDESC|ISR_RXOK))
/* transmit configuration register */
#define TXCFG_CSI 0x80000000
/* transmit configuration register */
#define TXCFG_CSI 0x80000000
@@
-369,4
+368,4
@@
struct ns_desc {
/* speed status */
#define SPDSTS_POLARITY (CFG_SPDSTS1 | CFG_SPDSTS0 | CFG_DUPSTS | (lnksts ? CFG_LNKSTS : 0))
/* speed status */
#define SPDSTS_POLARITY (CFG_SPDSTS1 | CFG_SPDSTS0 | CFG_DUPSTS | (lnksts ? CFG_LNKSTS : 0))
-#endif /* _
NS_GIGE_H
_ */
+#endif /* _
_DEV_NS_GIGE_REG_H_
_ */