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

Marius Strobl marius at FreeBSD.org
Mon Apr 30 21:55:28 UTC 2007


marius      2007-04-30 21:55:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c if_bgereg.h 
  Log:
  - Add support/quirks for the on-board BGEs found in Sun Blade 1500
    Blade 2500, Fire V210 and probably some other sparc64 machines.
    These chips are typically not fitted with an EEPROM which means
    that we have to obtain the MAC address via OFW and that some chip
    tests will just always fail.
    These changes are based on the respective code found in OpenBSD
    with some additional info obtained from OpenSolaris and some style
    suggestions by jkim at . They also have the desired side-effect of
    respecting the 'local-mac-address?' system configuration variable
    for the affected BGEs.
  - In bge_attach() factor out calling bge_release_resources() before
    going to the fail label into the fail label as well as replace a
    magic 6 with ETHER_ADDR_LEN.
  
  Reviewed by:    yongari (before style changes), jkim
  
  Revision  Changes    Path
  1.188     +92 -34    src/sys/dev/bge/if_bge.c
  1.72      +6 -0      src/sys/dev/bge/if_bgereg.h


More information about the cvs-src mailing list