freebsd-skq/sys/dev/bce
ambrisko 81421f8fc2 Add the capability to read the complete contents of the NVRAM via sysctl
dev.bce.<unit>.nvram_dump
Add the capability to write the complete contents of the NVRAM via sysctl
	dev.bce.<unit>.nvram_write
These are only available if the kernel option BCE_DEBUG is enabled.
The nvram_write sysctl also requires the kernel option
BCE_NVRAM_WRITE_SUPPORT to be enabled.  These are to be used at your
own caution.  Since the MAC addresses are stored in the NVRAM, if you
dump one NIC and restore it on another NIC the destination NIC's
MAC addresses will not be preserved.  A tool can be made using these
sysctl's to manage the on-chip firmware.

Reviewed by:	davidch, yongari
2010-10-06 18:36:50 +00:00
..
if_bce.c Add the capability to read the complete contents of the NVRAM via sysctl 2010-10-06 18:36:50 +00:00
if_bcefw.h - Added support for 5709S/5716S PHYs. 2010-03-18 21:00:53 +00:00
if_bcereg.h Add the capability to read the complete contents of the NVRAM via sysctl 2010-10-06 18:36:50 +00:00