cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

Marius Strobl marius at FreeBSD.org
Wed May 14 21:00:28 UTC 2008


marius      2008-05-14 21:00:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c if_bgereg.h 
  Log:
  Improve the integration of BCM5906[M] support:
  - Rename BGE_FLAG_EEPROM to BGE_FLAG_EADDR to underline it's absence means
    "there's no chip containing an Ethernet address fitted to the BGE chip
    so we have to get it from the firmware instead" rather than "there's no
    EEPROM, but maybe NVRAM or something else".
  - Don't treat BCM5906[M] generally like chips w/o BGE_FLAG_EADDR set, just
    in the two cases really necessary. This gets us line with the original
    patch for DragonFlyBSD.
  - For sparc64 restore the intended behavior of obtaining the Ethernet
    address from the firmware in case BGE_FLAG_EADDR is not set, even for
    BCM5906[M].
  - Fix some style(9) bugs introduced with rev. 1.208 of if_bge.c
  
  Approved by:            jhb
  Additional testing by:  Thomas Nystroem (BCM5906)
  
  Revision  Changes    Path
  1.211     +62 -64    src/sys/dev/bge/if_bge.c
  1.80      +1 -2      src/sys/dev/bge/if_bgereg.h


More information about the cvs-all mailing list