summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_futex.c
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2010-10-06 18:36:50 +0000
committerambrisko <ambrisko@FreeBSD.org>2010-10-06 18:36:50 +0000
commit81421f8fc287fbb1fc113cd84cab418e9c373270 (patch)
treea4d3e56f16adea3c40a46a6008c8ebf8a02cc705 /sys/compat/linux/linux_futex.c
parent526f3b44831a9e2ca2e896f3f88bc955b35dccf6 (diff)
downloadFreeBSD-src-81421f8fc287fbb1fc113cd84cab418e9c373270.zip
FreeBSD-src-81421f8fc287fbb1fc113cd84cab418e9c373270.tar.gz
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
Diffstat (limited to 'sys/compat/linux/linux_futex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud