svn commit: r201778 - stable/8/sys/dev/jme
Gavin Atkinson
gavin at FreeBSD.org
Fri Jan 8 10:13:27 UTC 2010
Author: gavin
Date: Fri Jan 8 10:13:27 2010
New Revision: 201778
URL: http://svn.freebsd.org/changeset/base/201778
Log:
MFC r200994:
Set the locally-assigned bit in the randomly generated Ethernet address
if we end up having to generate one.
PR: kern/133239
Discussed with: yongari
Approved by: ed (mentor, implicit)
Modified:
stable/8/sys/dev/jme/if_jme.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/jme/if_jme.c
==============================================================================
--- stable/8/sys/dev/jme/if_jme.c Fri Jan 8 09:59:13 2010 (r201777)
+++ stable/8/sys/dev/jme/if_jme.c Fri Jan 8 10:13:27 2010 (r201778)
@@ -465,7 +465,7 @@ jme_reg_macaddr(struct jme_softc *sc)
"generating fake ethernet address.\n");
par0 = arc4random();
/* Set OUI to JMicron. */
- sc->jme_eaddr[0] = 0x00;
+ sc->jme_eaddr[0] = 0x02; /* U/L bit set. */
sc->jme_eaddr[1] = 0x1B;
sc->jme_eaddr[2] = 0x8C;
sc->jme_eaddr[3] = (par0 >> 16) & 0xff;
More information about the svn-src-stable-8
mailing list