diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-08-01 22:19:01 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-08-01 22:19:01 +0000 |
commit | a2e1257dac349364bf2162e7c5d187107fcd8725 (patch) | |
tree | aba24c38e600543d1256c6e33ef0efd99bf3900f /sys/modules | |
parent | a152234cf9a52766984ecb9a96cc1e5740ae9d78 (diff) | |
download | FreeBSD-src-a2e1257dac349364bf2162e7c5d187107fcd8725.zip FreeBSD-src-a2e1257dac349364bf2162e7c5d187107fcd8725.tar.gz |
Add device to access and modify Open Firmware NVRAM settings in
PowerPC-based Apple's machines and small utility to do it from
userland modelled after the similar utility in Darwin/OSX.
Only tested on 1.25GHz G4 Mac Mini.
MFC after: 1 month
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/powermac_nvram/Makefile | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 701ba28..3c0d315 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -190,6 +190,7 @@ SUBDIR= ${_3dfx} \ plip \ ${_pmc} \ portalfs \ + ${_powermac_nvram} \ ppbus \ ppc \ ppi \ @@ -521,6 +522,7 @@ _xe= xe _an= an _ath_hal= ath_hal _gem= gem +_powermac_nvram= powermac_nvram _smbfs= smbfs .endif diff --git a/sys/modules/powermac_nvram/Makefile b/sys/modules/powermac_nvram/Makefile new file mode 100644 index 0000000..a4d0693 --- /dev/null +++ b/sys/modules/powermac_nvram/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/powermac_nvram + +KMOD= powermac_nvram +SRCS= powermac_nvram.c powermac_nvramvar.h + +.include <bsd.kmod.mk> |