summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/shared/include/greth.h
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2017-04-24 15:10:41 +0200
committerDaniel Hellstrom <daniel@gaisler.com>2017-05-14 12:31:56 +0200
commit1271813421f5c0e4930a03f4bd341f8678c76010 (patch)
treed96ba4f7e666babaf3a6277c7e1a429c6f02b191 /c/src/lib/libbsp/sparc/shared/include/greth.h
parentinterrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0 (diff)
downloadrtems-1271813421f5c0e4930a03f4bd341f8678c76010.tar.bz2
leon, greth: EDCL and DD is disabled during reset
The EDCL and Duplex-Detection are now disabled during soft-reset of the GRETH core. The speed settings are preserved on boot and greth_stop() also, this is required to keep EDCL operational when DD is set.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/include/greth.h')
-rw-r--r--c/src/lib/libbsp/sparc/shared/include/greth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/greth.h b/c/src/lib/libbsp/sparc/shared/include/greth.h
index 904f60cdb5..648f51f12b 100644
--- a/c/src/lib/libbsp/sparc/shared/include/greth.h
+++ b/c/src/lib/libbsp/sparc/shared/include/greth.h
@@ -82,6 +82,7 @@ typedef struct _greth_regs {
#define GRETH_CTRL_PRO 0x00000020 /* Promiscuous (receive all) */
#define GRETH_CTRL_RST 0x00000040 /* Reset MAC */
#define GRETH_CTRL_DD 0x00001000 /* Disable EDCL Duplex Detection */
+#define GRETH_CTRL_ED 0x00004000 /* EDCL Disable */
/* Status Register */
#define GRETH_STATUS_RXERR 0x00000001 /* Receive Error */