On Tue, 2016-07-19 at 10:50 +0000, David Laight wrote: > > + if (!is_valid_ether_addr(mac)) { > > + mac[5] = (m >> 8) & 0xff; > > + mac[4] = m & 0xff; > > + mac[3] = (l >> 24) & 0xff; > > + mac[2] = (l >> 16) & 0xff; > > + mac[1] = (l >> 8) & 0xff; > > + mac[0] = l & 0xff; > > + } > ... > > That is horrid, not all byte reversed addresses will be invalid.
Right, that's just a hack for a broken vendor uboot we had here, Gavin, drop that part of the patch please. Cheers, Ben.