projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33530e0
)
ethmac: use new EndpointDescription API
author
Sebastien Bourdeauducq
<sb@m-labs.hk>
Fri, 21 Nov 2014 06:32:32 +0000
(22:32 -0800)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Fri, 21 Nov 2014 06:32:32 +0000
(22:32 -0800)
misoclib/ethmac/common.py
patch
|
blob
|
history
diff --git
a/misoclib/ethmac/common.py
b/misoclib/ethmac/common.py
index 5e5c129385c8523939a1f82d7386aa05fdd492bc..177943ee536d308f5eceba6d6ece6742ccc5cd2f 100644
(file)
--- a/
misoclib/ethmac/common.py
+++ b/
misoclib/ethmac/common.py
@@
-6,12
+6,9
@@
eth_preamble = 0xD555555555555555
buffer_depth = 2**log2_int(eth_mtu, need_pow2=False)
def eth_description(dw):
- parameters = {
- "packetized": True
- }
layout = [
("d", dw),
("last_be", dw//8),
("error", dw//8)
]
- return EndpointDescription(layout, pa
rameters
)
+ return EndpointDescription(layout, pa
cketized=True
)