Re: Newer kernel for N4100?
Peter Korsgaard wrote:
>>>>>> "Bill" == Bill Gatliff <email@example.com> writes:
> 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;
> Bill> + hw->mac_addr = 0x14;
> Bill> + hw->mac_addr = 0xfd;
> Bill> + hw->mac_addr = 0x10;
> Bill> + hw->mac_addr = 0x11;
> Bill> + hw->mac_addr = 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