summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-08-31 18:20:01 +0000
committerimp <imp@FreeBSD.org>2008-08-31 18:20:01 +0000
commit937ceba27fbb5edffd9afe3a8e6aa7c346cccebc (patch)
tree817463f8521ab7fb6a8b3dac500bc27281cffda9 /sys/arm
parentf8df6b10b30445f51576e54007cb4207b3b70e34 (diff)
downloadFreeBSD-src-937ceba27fbb5edffd9afe3a8e6aa7c346cccebc.zip
FreeBSD-src-937ceba27fbb5edffd9afe3a8e6aa7c346cccebc.tar.gz
Use a locally assigned address rather than stealing Atmel's which
might cause a conflict...
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/at91/if_ate.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arm/at91/if_ate.c b/sys/arm/at91/if_ate.c
index c3f120c..7177626 100644
--- a/sys/arm/at91/if_ate.c
+++ b/sys/arm/at91/if_ate.c
@@ -201,11 +201,13 @@ ate_attach(device_t dev)
rnd = arc4random();
/*
- * Set OUI to Atmel.
+ * Set OUI to convenient locally assigned address. 'b'
+ * is 0x62, which has the locally assigned bit set, and
+ * the broadcast/multicast bit clear.
*/
- eaddr[0] = 0x02;
- eaddr[1] = 0x04;
- eaddr[2] = 0x25;
+ eaddr[0] = 'b';
+ eaddr[1] = 's';
+ eaddr[2] = 'd';
eaddr[3] = (rnd >> 16) & 0xff;
eaddr[4] = (rnd >> 8) & 0xff;
eaddr[5] = rnd & 0xff;
OpenPOWER on IntegriCloud