xref: /freebsd/share/man/man4/man4.powerpc/powermac_nvram.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1e5d34218SMaxim Sobolev.\"-
2e5d34218SMaxim Sobolev.\" Copyright (c) 2006 Maxim Sobolev <sobomax@FreeBSD.org>
3e5d34218SMaxim Sobolev.\" All rights reserved.
4e5d34218SMaxim Sobolev.\"
5e5d34218SMaxim Sobolev.\" Redistribution and use in source and binary forms, with or without
6e5d34218SMaxim Sobolev.\" modification, are permitted provided that the following conditions
7e5d34218SMaxim Sobolev.\" are met:
8e5d34218SMaxim Sobolev.\" 1. Redistributions of source code must retain the above copyright
9e5d34218SMaxim Sobolev.\"    notice, this list of conditions and the following disclaimer.
10e5d34218SMaxim Sobolev.\" 2. Redistributions in binary form must reproduce the above copyright
11e5d34218SMaxim Sobolev.\"    notice, this list of conditions and the following disclaimer in the
12e5d34218SMaxim Sobolev.\"    documentation and/or other materials provided with the distribution.
13e5d34218SMaxim Sobolev.\"
14e5d34218SMaxim Sobolev.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15e5d34218SMaxim Sobolev.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16e5d34218SMaxim Sobolev.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17e5d34218SMaxim Sobolev.\" DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
18e5d34218SMaxim Sobolev.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19e5d34218SMaxim Sobolev.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
20e5d34218SMaxim Sobolev.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21e5d34218SMaxim Sobolev.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22e5d34218SMaxim Sobolev.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
23e5d34218SMaxim Sobolev.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24e5d34218SMaxim Sobolev.\" POSSIBILITY OF SUCH DAMAGE.
25e5d34218SMaxim Sobolev.\"
26*37f53058SBrandon Bergren.Dd June 19, 2020
27e5d34218SMaxim Sobolev.Dt POWERMAC_NVRAM 4 powerpc
28e5d34218SMaxim Sobolev.Os
29e5d34218SMaxim Sobolev.Sh NAME
30e5d34218SMaxim Sobolev.Nm powermac_nvram
31e5d34218SMaxim Sobolev.Nd "non-volatile RAM"
32e5d34218SMaxim Sobolev.Sh SYNOPSIS
336f475e4bSChristian BruefferTo compile this driver into the kernel,
346f475e4bSChristian Bruefferplace the following line in your
356f475e4bSChristian Bruefferkernel configuration file:
366f475e4bSChristian Brueffer.Bd -ragged -offset indent
37e5d34218SMaxim Sobolev.Cd "device powermac_nvram"
386f475e4bSChristian Brueffer.Ed
396f475e4bSChristian Brueffer.Pp
406f475e4bSChristian BruefferAlternatively, to load the driver as a
416f475e4bSChristian Brueffermodule at boot time, place the following line in
426f475e4bSChristian Brueffer.Xr loader.conf 5 :
436f475e4bSChristian Brueffer.Bd -literal -offset indent
446f475e4bSChristian Bruefferpowermac_nvram_load="YES"
456f475e4bSChristian Brueffer.Ed
46e5d34218SMaxim Sobolev.Sh DESCRIPTION
47e5d34218SMaxim SobolevThe
48e5d34218SMaxim Sobolev.Nm
49e5d34218SMaxim Sobolevdriver provides access to the Open Firmware configuration NVRAM
50e5d34218SMaxim Sobolevavailable on the Apple PowerPC-based machines.
51*37f53058SBrandon Bergren.Pp
52*37f53058SBrandon BergrenThis driver currently supports "Core99" machines containing a Sharp, Micron,
53*37f53058SBrandon Bergrenor AMD NVRAM.
54e5d34218SMaxim Sobolev.Sh SEE ALSO
556f475e4bSChristian Brueffer.Xr nvram 8
56e5d34218SMaxim Sobolev.Sh HISTORY
57e5d34218SMaxim SobolevThe
58e5d34218SMaxim Sobolev.Nm
59e5d34218SMaxim Sobolevdriver first appeared in
60e5d34218SMaxim Sobolev.Fx 7.0 .
61e5d34218SMaxim Sobolev.Sh AUTHORS
62e5d34218SMaxim SobolevThe
63e5d34218SMaxim Sobolev.Nm
64e5d34218SMaxim Sobolevdriver was written by
656c899950SBaptiste Daroussin.An Maxim Sobolev Aq Mt sobomax@FreeBSD.org .
66