From fcce278bf2d833532cca7310fb8d50ebdd04f8de Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 31 Aug 2008 18:20:01 +0000 Subject: [PATCH] Use a locally assigned address rather than stealing Atmel's which might cause a conflict... --- sys/arm/at91/if_ate.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/arm/at91/if_ate.c b/sys/arm/at91/if_ate.c index c3f120cf919..7177626a001 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;