freebsd-dev/sys/dev/dc
Marius Strobl 802cab0330 - Rev. 1.175 fixed compilation on sparc64 but also backed out zeroing of
the eaddr array (introduced in rev. 1.174) prior to writing to it. As
  dc_read_eeprom() is told to write only 3 16-bit words to eaddr but eaddr
  in fact is somewhat larger removal of the zeroing defeated the check
  whether the MAC address is all zero as there can be some random garbage
  in eaddr past the 3 words written to it and the check verifys all bits
  in eaddr. Solve this by changing the check to verify only the 3 words
  (happenning to be ETHER_ADDR_LEN bytes) written to eaddr.
- While here change the notation of "FCode" in a nearby comment to the
  official way.

Ok'ed by:	marcel, ru
2005-12-05 12:32:20 +00:00
..
dcphy.c Make dc compile after repo-copy. 2005-10-18 06:09:42 +00:00
if_dc.c - Rev. 1.175 fixed compilation on sparc64 but also backed out zeroing of 2005-12-05 12:32:20 +00:00
if_dcreg.h Fix the misalignment bugs differently than was done in the previous 2005-12-02 01:23:20 +00:00
pnphy.c Make dc compile after repo-copy. 2005-10-18 06:09:42 +00:00