Peter Korsgaard wrote:
>>>>>> "Bill" == Bill Gatliff <[EMAIL PROTECTED]> writes:
> 
> Hi,
> 
>  Bill> ... and this patch is sooooo bad, I hesitate to post it.  But
>  Bill> if I don't, I'll lose it myself!  :)
> 
> ;)
> 
>  Bill> +#else
>  Bill> +#warning "TODO: Figure out how to deal with EEPROM checksum on N4100"
>  Bill> +       static int mac_seed = 0x8a;
>  Bill> +       hw->mac_addr[0] = 0;
>  Bill> +       hw->mac_addr[1] = 0x14;
>  Bill> +       hw->mac_addr[2] = 0xfd;
>  Bill> +       hw->mac_addr[3] = 0x10;
>  Bill> +       hw->mac_addr[4] = 0x11;
>  Bill> +       hw->mac_addr[5] = mac_seed++;
> 
> You could atlest use random_ether_addr().

That would definitely be a more generic solution.  :)

I'm trying to avoid the sudden change in MAC address that the other network
members would suddenly see, and the ARP cache trashing that it would cause
(which is a problem for root-over-NFS, at least).  My patch obviously isn't the
answer, either.


b.g.
-- 
Bill Gatliff
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to