Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sh3/dev/wdog.c
RevisionDateAuthorComments
 1.20  27-Jan-2025  andvar s/probeing/probing/ in comments.
 1.19  20-Dec-2023  thorpej branches: 1.19.2;
Remove unnecessary <sys/malloc.h>.
 1.18  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.17  16-Mar-2014  dholland branches: 1.17.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.16  27-Mar-2008  uwe branches: 1.16.38; 1.16.48; 1.16.54;
Split device_t and softc.
 1.15  04-Mar-2007  christos branches: 1.15.40;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.14  11-Dec-2005  christos branches: 1.14.26;
merge ktrace-lwp.
 1.13  15-Jul-2003  lukem branches: 1.13.16;
__KERNEL_RCSID()
 1.12  23-Oct-2002  jdolecek branches: 1.12.6;
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.11  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.10  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.9  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.8  27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.7  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.6  24-Mar-2002  uch branches: 1.6.2; 1.6.6;
Rework interrupt code.
+ Fully utilize SH SR.I[0:3] interrupt level.
+ software interrupt is emulated by TMU1, 2 one shot interrupt.
+ implement generic soft interrupts.
+ implement clockframe correctly.
 1.5  12-Feb-2002  uch ANSIfy KNF.
 1.4  31-Oct-2000  msaitoh branches: 1.4.2; 1.4.4; 1.4.6;
add interrupt mode into wdog

To use:

ioctl(fd, SIOWDOGSETMODE, &val)

val: WDOGM_RESET -> reset when counter expired
WDOGM_INTR -> print PC when counter expired (new!)

This interface is still under experimental.
 1.3  20-Apr-2000  msaitoh remove a debug log
 1.2  24-Feb-2000  msaitoh add RCSID and copyright
 1.1  24-Feb-2000  msaitoh watchdog timer
 1.4.6.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.4.6.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.6.1  16-Mar-2002  jdolecek Catch up with -current.
 1.4.4.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.4.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.4.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.4.2.1  31-Oct-2000  bouyer file wdog.c was added on branch thorpej_scsipi on 2000-11-20 20:24:28 +0000
 1.6.6.4  11-Nov-2002  nathanw Catch up to -current
 1.6.6.3  18-Oct-2002  nathanw Catch up to -current.
 1.6.6.2  17-Sep-2002  nathanw Catch up to -current.
 1.6.6.1  24-Mar-2002  nathanw file wdog.c was added on branch nathanw_sa on 2002-09-17 21:17:24 +0000
 1.6.2.1  17-May-2002  gehenna Add device switch.
 1.12.6.4  24-Jan-2005  skrll Adapt to branch.
 1.12.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1  03-Aug-2004  skrll Sync with HEAD
 1.13.16.2  03-Sep-2007  yamt sync with head.
 1.13.16.1  21-Jun-2006  yamt sync with head.
 1.14.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.15.40.1  03-Apr-2008  mjf Sync with HEAD.
 1.16.54.1  18-May-2014  rmind sync with head
 1.16.48.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.38.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.17.2.1  10-Aug-2014  tls Rebase.
 1.19.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed