xref: /freebsd/share/man/man4/man4.powerpc/powermac_nvram.4 (revision 6f475e4b9a5c9c66ace8e1fec083c36a969f26be)
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.\"
26e5d34218SMaxim Sobolev.\" $FreeBSD$
27e5d34218SMaxim Sobolev.\"
28e5d34218SMaxim Sobolev.Dd August 1, 2006
29e5d34218SMaxim Sobolev.Dt POWERMAC_NVRAM 4 powerpc
30e5d34218SMaxim Sobolev.Os
31e5d34218SMaxim Sobolev.Sh NAME
32e5d34218SMaxim Sobolev.Nm powermac_nvram
33e5d34218SMaxim Sobolev.Nd "non-volatile RAM"
34e5d34218SMaxim Sobolev.Sh SYNOPSIS
356f475e4bSChristian BruefferTo compile this driver into the kernel,
366f475e4bSChristian Bruefferplace the following line in your
376f475e4bSChristian Bruefferkernel configuration file:
386f475e4bSChristian Brueffer.Bd -ragged -offset indent
39e5d34218SMaxim Sobolev.Cd "device powermac_nvram"
406f475e4bSChristian Brueffer.Ed
416f475e4bSChristian Brueffer.Pp
426f475e4bSChristian BruefferAlternatively, to load the driver as a
436f475e4bSChristian Brueffermodule at boot time, place the following line in
446f475e4bSChristian Brueffer.Xr loader.conf 5 :
456f475e4bSChristian Brueffer.Bd -literal -offset indent
466f475e4bSChristian Bruefferpowermac_nvram_load="YES"
476f475e4bSChristian Brueffer.Ed
48e5d34218SMaxim Sobolev.Sh DESCRIPTION
49e5d34218SMaxim SobolevThe
50e5d34218SMaxim Sobolev.Nm
51e5d34218SMaxim Sobolevdriver provides access to the Open Firmware configuration NVRAM
52e5d34218SMaxim Sobolevavailable on the Apple PowerPC-based machines.
53e5d34218SMaxim Sobolev.Sh SEE ALSO
546f475e4bSChristian Brueffer.Xr eeprom 8 ,
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
65e5d34218SMaxim Sobolev.An Maxim Sobolev Aq sobomax@FreeBSD.org .
66e5d34218SMaxim Sobolev.Sh BUGS
676f475e4bSChristian BruefferCurrently, the
68e5d34218SMaxim Sobolev.Nm
696f475e4bSChristian Bruefferdriver only supports systems equipped with an AMD flash part and is only
70e5d34218SMaxim Sobolevtested on Apple G4-based Mac Mini machines.
71