Home | History | Annotate | Download | only in include
History log of /src/sys/arch/prep/include/nvram.h
RevisionDateAuthorComments
 1.11  07-Sep-2025  thorpej Rather than duplicating the fields of mk48txx_softc inside
prep_mk48txx_softc (!!!), just include a mk48txx_softc inside
prep_mk48txx_softc.
 1.10  01-Nov-2021  andvar fix typos, mainly in words minimum and maximum, but also few others.
 1.9  07-Sep-2015  dholland Final bit of PR 41200: headers that declare ioctls should include sys/ioccom.h.
This covers most if not all of the MD headers.

XXX: a lot of the ioctl definitions in some of these files are cutpasted.
 1.8  27-Oct-2012  chs branches: 1.8.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7  30-Jun-2011  wiz branches: 1.7.2; 1.7.12;
dependant -> dependent
 1.6  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5  29-Mar-2008  tsutsui branches: 1.5.2; 1.5.4;
One more missed file on migration of struct device sc_dev -> device_t sc_dev.
 1.4  21-Mar-2007  garbled branches: 1.4.34;
Add a read entry point to this driver. There are two minor devices
associated with this, 0, the nvram device, and now 1, the residual
device. The devices allow the user to directly read the contents of the
kernel copy of the nvram, and the residual data respectively. There is
no provision for write.
 1.3  26-Feb-2007  garbled branches: 1.3.4; 1.3.6; 1.3.8;
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.2  15-Jun-2006  garbled branches: 1.2.2; 1.2.8; 1.2.12; 1.2.14;
A bit of clock rototill. It's safer to detect things known by the
residual with the pnpbus probes, than it is to do it with raw isa probes,
so I've replaced the isa mkclock and mcclock code with a pnpbus attachment.

While writing the mkclock code, I realized that on motorola prep machines
the mkclock uses the same port range as the nvram part. (it's actually
the same chip/part). This was causing the nvram not to work on those
machines. Now the nvram code will recognize this, and wire up the
mkclock as well. The mkclock probe is just a stub probe used to
pre-detect the fact that this is one of those machines.
 1.1  16-Mar-2006  garbled branches: 1.1.4; 1.1.6; 1.1.8; 1.1.10; 1.1.12;
More changes to prep port:
1) Add the NVRAM device. This device allows us to speak with the nvram on
prep-based machines and read/write to it. Also add a simple IOCTL
interface for speaking with the nvram from userland. This hasn't been
tested yet, but eventually I plan to support it with the sparc eeprom
command.
2) Change the root device detection to use the nvram device to attempt to
guess the boot device. Most machines should now correctly guess thier
boot device, though I expect a few devices to still not work quite right yet.
3) change the default IRQ to level rather than edge in the pnpbus if the
flags are invalid or empty. (based on output from a PowerStack E1)
4) correctly handle older machines in pnpbus that have FixedIOPorts
rather than variable ones.

Still have much to do.
 1.1.12.1  13-Jul-2006  gdamore Merge from HEAD.
 1.1.10.1  19-Jun-2006  chap Sync with head.
 1.1.8.2  22-Apr-2006  simonb Sync with head.
 1.1.8.1  16-Mar-2006  simonb file nvram.h was added on branch simonb-timecounters on 2006-04-22 11:37:54 +0000
 1.1.6.2  19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1  16-Mar-2006  elad file nvram.h was added on branch elad-kernelauth on 2006-04-19 02:33:33 +0000
 1.1.4.3  26-Jun-2006  yamt sync with head.
 1.1.4.2  11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1  16-Mar-2006  yamt file nvram.h was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.2.14.2  24-Mar-2007  yamt sync with head.
 1.2.14.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.2.12.2  31-Mar-2007  bouyer Pull up following revision(s) (requested by garbled in ticket #531):
sys/arch/prep/include/nvram.h: revision 1.4
sys/arch/prep/pnpbus/nvram_pnpbus.c: revision 1.8
Add a read entry point to this driver. There are two minor devices
associated with this, 0, the nvram device, and now 1, the residual
device. The devices allow the user to directly read the contents of the
kernel copy of the nvram, and the residual data respectively. There is
no provision for write.
 1.2.12.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.2.8.2  09-Sep-2006  rpaulo sync with head
 1.2.8.1  15-Jun-2006  rpaulo file nvram.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:42:35 +0000
 1.2.2.3  03-Sep-2007  yamt sync with head.
 1.2.2.2  21-Jun-2006  yamt sync with head.
 1.2.2.1  15-Jun-2006  yamt file nvram.h was added on branch yamt-lazymbuf on 2006-06-21 14:55:11 +0000
 1.3.8.1  29-Mar-2007  reinoud Pullup to -current
 1.3.6.1  11-Jul-2007  mjf Sync with head.
 1.3.4.1  10-Apr-2007  ad Sync with head.
 1.4.34.2  02-Jun-2008  mjf Sync with HEAD.
 1.4.34.1  03-Apr-2008  mjf Sync with HEAD.
 1.5.4.1  16-May-2008  yamt sync with head.
 1.5.2.1  18-May-2008  yamt sync with head.
 1.7.12.2  03-Dec-2017  jdolecek update from HEAD
 1.7.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.2.1  30-Oct-2012  yamt sync with head
 1.8.14.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed