Date: Mon, 30 Apr 2007 21:55:27 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h Message-ID: <200704302155.l3ULtRHI019329@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704302155.l3ULtRHI019329>