From b7028848b217751182702743bb445588e6503e5a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 20 Nov 2014 22:32:32 -0800 Subject: [PATCH] ethmac: use new EndpointDescription API --- misoclib/ethmac/common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/misoclib/ethmac/common.py b/misoclib/ethmac/common.py index 5e5c12938..177943ee5 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)