Home | History | Annotate | Download | only in ofw
History log of /src/sys/dev/ofw/ofrtc.c
RevisionDateAuthorComments
 1.24  07-Sep-2025  thorpej Change todr_chip_handle::cookie -> todr_chip_handle::todr_dev, and
make it a device_t. Upcoming functional changes will require the
device_t associated with a TODR device.

Change todr_chip_handle::bus_cookie -> todr_chip_handle::todr_devaux.
Nothing was using the old field, but I decided to keep it around just
in cause something needs it in the future.

And with these largely mechanical yet semantically meaningful changes,
thus spake the Oracle: "Welcome to NetBSD 11.99.2."
 1.23  26-Jul-2011  mrg convert to device_t, cfdata_t and CFATTACH_DECL_NEW.
 1.22  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.21  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.20  13-Sep-2006  gdamore branches: 1.20.54; 1.20.70;
Convert shark and ofppc to new common ofrtc and MI todr code. Tested
on shark. Ok christos@, martin@.
 1.19  29-Mar-2006  thorpej branches: 1.19.8;
Use device_private().
 1.18  11-Dec-2005  christos branches: 1.18.4; 1.18.6; 1.18.8; 1.18.10; 1.18.12;
merge ktrace-lwp.
 1.17  27-Feb-2005  perry branches: 1.17.4;
nuke trailing whitespace
 1.16  04-Feb-2005  perry de-__P
 1.15  23-Oct-2002  jdolecek branches: 1.15.6; 1.15.14; 1.15.16;
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.14  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.13  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.12  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.10  13-Nov-2001  lukem branches: 1.10.8;
add RCSIDs
 1.9  26-Aug-2001  matt branches: 1.9.2;
Make compile with -Wmissing-prototype -Wstrict-prototypes
 1.8  25-Aug-2001  matt Make this compile with -Wmissing-prototypes by adding appropriate
cdev_decl, bdev_decl, cons_decl
 1.7  21-Mar-1998  cgd branches: 1.7.26; 1.7.28;
-Wall
 1.6  24-Feb-1998  mycroft Several things:
Clean up the name space here a bit.
Add a `busname' element to struct ofprobe (now struct ofbus_attach_args), and
check against it.
Nuke `ofroot'.
Rename the `openfirm' attribute to `ofbus'.
 1.5  12-Jan-1998  thorpej Update for config changes.
 1.4  16-Apr-1997  thorpej Update for no __BROKEN_INDIRECT_CONFIG.
 1.3  13-Oct-1996  christos backout kprintf changes
 1.2  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.1  30-Sep-1996  ws PowerPC port
 1.7.28.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.28.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.28.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.7.26.5  11-Nov-2002  nathanw Catch up to -current
 1.7.26.4  18-Oct-2002  nathanw Catch up to -current.
 1.7.26.3  17-Sep-2002  nathanw Catch up to -current.
 1.7.26.2  14-Nov-2001  nathanw Catch up to -current.
 1.7.26.1  21-Sep-2001  nathanw Catch up to -current.
 1.9.2.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.10.8.1  16-May-2002  gehenna Add the character device switch.
 1.15.16.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.15.16.1  12-Feb-2005  yamt sync with head.
 1.15.14.1  29-Apr-2005  kent sync with -current
 1.15.6.3  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.15.6.2  04-Feb-2005  skrll Sync with HEAD.
 1.15.6.1  31-Jan-2005  skrll Adapt to branch.
 1.17.4.2  30-Dec-2006  yamt sync with head.
 1.17.4.1  21-Jun-2006  yamt sync with head.
 1.18.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.18.10.1  19-Apr-2006  elad sync with head.
 1.18.8.2  14-Sep-2006  yamt sync with head.
 1.18.8.1  01-Apr-2006  yamt sync with head.
 1.18.6.1  22-Apr-2006  simonb Sync with head.
 1.18.4.1  09-Sep-2006  rpaulo sync with head
 1.19.8.1  18-Nov-2006  ad Sync with head.
 1.20.70.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.20.54.1  16-May-2009  yamt sync with head

RSS XML Feed