Home | History | Annotate | only in /src/usr.sbin/eeprom
History log of /src/usr.sbin/eeprom
RevisionDateAuthorComments
 1.19 02-May-2013  matt This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
 1.18 15-Mar-2013  nakayama Use explicitly defined macros in Makefile to determine to use
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
 1.17 15-Dec-2011  macallan branches: 1.17.6;
build eeprom on shark
this has been working for ages, why did I never commit it?
 1.16 13-Dec-2009  nakayama branches: 1.16.6;
System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
 1.15 14-Feb-2009  abs Convert more MACHINE tests to MACHINE_ARCH
 1.14 01-Mar-2007  garbled branches: 1.14.20;
Add support for the prep nvram device to eeprom.
 1.13 17-Nov-2006  christos branches: 1.13.2;
getdate is in libutil.
 1.12 16-Aug-2006  macallan Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
 1.11 08-May-2003  petrov Add CPPFLAGS.
 1.10 19-Jul-2002  mrg don't build eehandlers.c on MACHINE_ARCH!=sparc64
 1.9 28-Nov-2000  mrg several clean ups:
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
 1.8 17-Jan-1999  eeh This is also useful for sparc64.
 1.7 01-Nov-1998  lukem use YPREFIX
 1.6 09-Apr-1998  tv .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
 1.5 18-Oct-1997  lukem enable WARNS=1 by default, but disable in unclean 3rd party code
 1.4 24-Sep-1997  jeremy Add sun3x to the list of machines using this program.
 1.3 23-Jul-1997  thorpej - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
 1.2 23-Jun-1997  mrg move man pages into share/man.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.13.2.1 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.14.20.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.16.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.16.6.1 17-Apr-2012  yamt sync with head
 1.17.6.1 23-Jun-2013  tls resync from head
 1.15 02-Jul-2013  joerg Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
 1.14 15-Mar-2013  nakayama Use explicitly defined macros in Makefile to determine to use
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
 1.13 29-Apr-2009  nakayama branches: 1.13.6; 1.13.12;
More WARNS=4 fixes, for sparc and sun3.
 1.12 26-Apr-2009  lukem Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
 1.11 28-Apr-2008  martin branches: 1.11.8;
Remove clause 3 and 4 from TNF licenses
 1.10 01-Mar-2007  garbled branches: 1.10.10;
Add support for the prep nvram device to eeprom.
 1.9 17-Nov-2006  christos branches: 1.9.2;
getdate is in libutil.
 1.8 17-Aug-2006  macallan include openfirmio.h when needed
 1.7 16-Aug-2006  macallan Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
 1.6 28-Nov-2000  mrg several clean ups:
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
 1.5 19-Nov-2000  mrg de-__P-ify.
 1.4 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.3 23-Jul-1997  thorpej - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
 1.2 28-Feb-1996  thorpej Copyright assigned to The NetBSD Foundation.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.9.2.1 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.10.10.1 18-May-2008  yamt sync with head.
 1.11.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.13.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.12.1 23-Jun-2013  tls resync from head
 1.13.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.19 05-Oct-2019  mrg memcpy->strncpy, and avoid copying beyond the static string length
into potentially unmapped regions.
 1.18 02-Jul-2013  joerg branches: 1.18.28;
Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
 1.17 15-Mar-2013  nakayama Use explicitly defined macros in Makefile to determine to use
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
 1.16 03-Feb-2013  christos PR/47528: Izumi Tsutsui: eeprom(8) dumps core after 64 bit time_t changes
 1.15 30-Apr-2009  nakayama branches: 1.15.6; 1.15.8; 1.15.12;
WARNS=4 fixes.
 1.14 28-Apr-2008  martin branches: 1.14.8;
Remove clause 3 and 4 from TNF licenses
 1.13 16-Jan-2007  hubertf branches: 1.13.10;
* Don't include headers twice
* Remove a few trailing whitespaces
* Rearrange and join to one #if for some headers

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
 1.12 20-Nov-2006  christos getdate -> parsedate
 1.11 17-Nov-2006  christos getdate is in libutil.
 1.10 08-Nov-2004  dsl More fallout from removing the (int) casts from ctype.h
Should fix PR/28082
 1.9 28-Nov-2000  mrg several clean ups:
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
 1.8 19-Nov-2000  mrg de-__P-ify.
 1.7 07-Jul-2000  itojun errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
 1.6 18-Oct-1997  lukem deprecate register, use memset/memmove instead of bzero/bcopy
 1.5 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.4 23-Jul-1997  thorpej - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
 1.3 13-Apr-1997  mrg be safe with buffers.
 1.2 28-Feb-1996  thorpej Copyright assigned to The NetBSD Foundation.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.13.10.1 18-May-2008  yamt sync with head.
 1.14.8.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.15.12.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.12.2 23-Jun-2013  tls resync from head
 1.15.12.1 25-Feb-2013  tls resync with head
 1.15.8.1 20-Oct-2013  bouyer Pull up following revision(s) (requested by dholland in ticket #964):
usr.sbin/eeprom/eehandlers.c: revision 1.16
PR/47528: Izumi Tsutsui: eeprom(8) dumps core after 64 bit time_t changes
 1.15.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.17 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.16 19-Dec-2009  nakayama Add xref to ofctl(8).
 1.15 25-Sep-2008  reed Mention that the program is only installed on supported platforms.
(Also add a paragraph break.)

I didn't specifically mention the platforms or what support is needed.
At least someone reading the manpage will have some idea why the tool
is missing from their system.

(Some manual pages mention this in the BUGS section, but I didn't do that.)
 1.14 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.13 02-Mar-2007  wiz branches: 1.13.10;
New sentence, new line.
 1.12 01-Mar-2007  garbled Add support for the prep nvram device to eeprom.
 1.11 31-Mar-2003  perry branches: 1.11.16;
OpenProm -> openprom (apparently how Sun prefers it.)
inteteger -> integer
rts/cts -> RTS/CTS
xon/xoff -> Xon/Xoff
All from Igor Sobrado, PR misc/20737
 1.10 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.9 29-Oct-2002  wiz Fix typos. Found by Adrian Mrva.
 1.8 17-Feb-2002  tron Fix typo noted by Sune Stjerneby in PR port-sparc/15640.
 1.7 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.6 19-Jan-2002  wiz Whitespace nit, sort sections.
 1.5 28-Nov-2000  mrg several clean ups:
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
 1.4 07-Nov-2000  lukem fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
 1.3 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.2 28-Feb-1996  thorpej Copyright assigned to The NetBSD Foundation.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.11.16.1 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.13.10.1 18-May-2008  yamt sync with head.
 1.7 17-Nov-2006  christos getdate is in libutil.
 1.6 06-Nov-2004  christos Unsigned char casts for ctype functions.
 1.5 19-Nov-2000  mrg de-__P-ify.
 1.4 18-Oct-1997  lukem deprecate register, use memset/memmove instead of bzero/bcopy
 1.3 23-Jul-1997  thorpej Oops, somehow the last commit got screwed up.
 1.2 23-Jul-1997  thorpej - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.23 02-Jul-2013  joerg Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
 1.22 15-Mar-2013  nakayama Use explicitly defined macros in Makefile to determine to use
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
 1.21 29-Apr-2009  nakayama branches: 1.21.6; 1.21.12;
More WARNS=4 fixes, for sparc and sun3.
 1.20 26-Apr-2009  lukem Fix WARNS=4 issues (-Wextra -Wcast-qual).
Resolves PR bin/41282
 1.19 21-Jul-2008  lukem branches: 1.19.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.18 28-Apr-2008  martin branches: 1.18.2;
Remove clause 3 and 4 from TNF licenses
 1.17 01-Mar-2007  garbled branches: 1.17.10;
Add support for the prep nvram device to eeprom.
 1.16 16-Aug-2006  macallan branches: 1.16.2;
Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
 1.15 19-Feb-2001  cgd convert to use getprogname()
 1.14 29-Jan-2001  jmc Hmm...My last change was a bit too drastic. Sun3's would never run the inner
bit of checksum code. Restructure #ifdef's. Really, use_openprom should just
be visible on all ports and set to 0 on sun3 or something.
 1.13 28-Jan-2001  jmc Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).
 1.12 28-Nov-2000  mrg several clean ups:
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
 1.11 19-Nov-2000  mrg de-__P-ify.
 1.10 24-Sep-2000  bjh21 Style nit -- hard-coded path names belong in pathnames.h.
 1.9 07-Jul-2000  itojun errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
 1.8 18-Oct-1997  lukem deprecate register, use memset/memmove instead of bzero/bcopy
 1.7 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.6 28-Jul-1997  fair fix a compile error on non-sparc
 1.5 23-Jul-1997  thorpej - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
 1.4 27-Sep-1996  thorpej Discard setgid privileges if we don't need them.
From Mike Grupenhoff <kashmir@vanquish.umiacs.umd.edu>, PR #2646.
 1.3 16-May-1996  thorpej branches: 1.3.4;
Fix think-o in the code that deals with multiple field names passed
on the command line.
 1.2 28-Feb-1996  thorpej Copyright assigned to The NetBSD Foundation.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.3.4.1 14-Nov-1996  thorpej Pull up from trunk:

> revision 1.4
> date: 1996/09/27 02:39:46; author: thorpej; state: Exp; lines: +7 -1
> Discard setgid privileges if we don't need them.
> From Mike Grupenhoff <kashmir@vanquish.umiacs.umd.edu>, PR #2646.
 1.16.2.1 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.17.10.1 18-May-2008  yamt sync with head.
 1.18.2.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.19.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.21.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.12.1 23-Jun-2013  tls resync from head
 1.21.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6 02-Jul-2013  joerg Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
 1.5 04-Jan-2011  wiz branches: 1.5.6; 1.5.12;
Fix fd leak in error case. Found by cppcheck.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 16-Jan-2007  hubertf branches: 1.3.10;
* Don't include headers twice
* Remove a few trailing whitespaces
* Rearrange and join to one #if for some headers

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
 1.2 10-Dec-2006  macallan properly display OF variables that aren't strings
 1.1 16-Aug-2006  macallan Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
 1.3.10.1 18-May-2008  yamt sync with head.
 1.5.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13 02-Jul-2013  joerg Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
 1.12 15-Mar-2013  nakayama Use explicitly defined macros in Makefile to determine to use
eeprom and/or openprom handlers, instead of predefined compiler
macros (__sun__, __sparc__ ...).
 1.11 04-Jan-2011  wiz branches: 1.11.6; 1.11.12;
Fix fd leak in error case. Found by cppcheck.
 1.10 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.9 16-Jan-2007  hubertf branches: 1.9.10;
* Don't include headers twice
* Remove a few trailing whitespaces
* Rearrange and join to one #if for some headers

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
 1.8 28-Nov-2000  mrg several clean ups:
- don't include eeprom support on sparc64.
- work out if we are eeprom or openprom from the results of open()
and/or ioctl(), rather than grovelling the kernel.
- move all eeprom specific code to eehandlers.c
- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
 1.7 19-Nov-2000  mrg de-__P-ify.
 1.6 18-Oct-1997  lukem deprecate register, use memset/memmove instead of bzero/bcopy
 1.5 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.4 23-Jul-1997  thorpej - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
 1.3 13-Apr-1997  mrg be safe with buffers.
 1.2 28-Feb-1996  thorpej Copyright assigned to The NetBSD Foundation.
 1.1 13-Jul-1995  thorpej Program to display for modify contents of the EEPROM or OpenProm on
Sun 3 and SPARC systems, similar to the SunOS command of the same name.
 1.9.10.1 18-May-2008  yamt sync with head.
 1.11.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.12.1 23-Jun-2013  tls resync from head
 1.11.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 01-Mar-2007  garbled branches: 1.3.10;
Add support for the prep nvram device to eeprom.
 1.2 16-Aug-2006  macallan branches: 1.2.2;
Add OpenFirmware support to eeprom(8) and build it on macppc.
Tested on macppc and sparc
 1.1 24-Sep-2000  bjh21 Style nit -- hard-coded path names belong in pathnames.h.
 1.2.2.1 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.3.10.1 18-May-2008  yamt sync with head.
 1.4 02-Jul-2013  joerg Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
 1.3 04-Jan-2011  wiz branches: 1.3.6; 1.3.12;
Fix fd leak in error case. Found by cppcheck.
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 01-Mar-2007  garbled branches: 1.1.2; 1.1.12;
Add support for the prep nvram device to eeprom.
 1.1.12.1 18-May-2008  yamt sync with head.
 1.1.2.2 04-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #482):
share/man/man4/man4.prep/intro.4: revision 1.1
usr.sbin/eeprom/eeprom.8: revision 1.12
usr.sbin/eeprom/prephandlers.c: revision 1.1
distrib/sets/lists/base/md.prep: revision 1.13
distrib/sets/lists/comp/md.prep: revision 1.22
sys/arch/prep/conf/majors.prep: revision 1.19
share/man/man4/man4.prep/Makefile: revision 1.1
share/man/man4/Makefile: revision 1.421
usr.sbin/eeprom/defs.h: revision 1.10
share/man/man4/man4.prep/nvram.4: revision 1.1
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.6
usr.sbin/eeprom/Makefile: revision 1.14
etc/mtree/NetBSD.dist: revision 1.333
usr.sbin/eeprom/main.c: revision 1.17
etc/etc.prep/MAKEDEV.conf: revision 1.5
distrib/sets/lists/man/mi: revision 1.978
usr.sbin/eeprom/pathnames.h: revision 1.3
sys/arch/prep/include/Makefile: revision 1.19
sys/arch/prep/include/nvram.h: revision 1.3
Finish the code in the prep nvram driver that makes it an actual device
(/dev/nvram) and implement all the associated ioctls fully. Tested with
a hacked up copy of eeprom(8). Right now it can only be used to see the
nvram GEV contents, not actually edit them. Will do that later some day.
 1.1.2.1 01-Mar-2007  bouyer file prephandlers.c was added on branch netbsd-4 on 2007-03-04 14:17:07 +0000
 1.3.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed