From: Sebastien Bourdeauducq Date: Fri, 21 Nov 2014 06:32:32 +0000 (-0800) Subject: ethmac: use new EndpointDescription API X-Git-Tag: 24jan2021_ls180~2625 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7028848b217751182702743bb445588e6503e5a;p=litex.git ethmac: use new EndpointDescription API --- diff --git a/misoclib/ethmac/common.py b/misoclib/ethmac/common.py index 5e5c1293..177943ee 100644 --- 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, parameters) + return EndpointDescription(layout, packetized=True)