Thread (19 messages) 19 messages, 5 authors, 2014-08-19

Re: [PATCH v3 5/7] net: cpsw: Add am33xx MACID readout

From: Wolfram Sang <hidden>
Date: 2014-08-16 16:53:18
Also in: linux-arm-kernel, linux-omap

+	mac_addr[5] = (macid_lo >> 8) & 0xff;
+	mac_addr[4] = macid_lo & 0xff;
+	mac_addr[3] = (macid_hi >> 24) & 0xff;
+	mac_addr[2] = (macid_hi >> 16) & 0xff;
+	mac_addr[1] = (macid_hi >> 8) & 0xff;
+	mac_addr[0] = macid_hi & 0xff;
That looks twisted, but I assume that you tested it is correct.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help