Use a locally assigned address rather than stealing Atmel's which

might cause a conflict...
This commit is contained in:
Warner Losh 2008-08-31 18:20:01 +00:00
parent 21be3b3183
commit fcce278bf2

View file

@ -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;