[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newer kernel for N4100?



>>>>> "Bill" == Bill Gatliff <bgat@billgatliff.com> 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().

-- 
Bye, Peter Korsgaard


Reply to: