Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/x68k/dev/opmbell.c
RevisionDateAuthorComments
 1.28  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.27  22-Aug-2015  christos branches: 1.27.18;
fix include filename.
 1.26  20-Aug-2015  christos include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
 1.25  25-Jul-2014  dholland branches: 1.25.4;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.24  16-Mar-2014  dholland branches: 1.24.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.23  18-Jan-2009  isaki branches: 1.23.14; 1.23.24; 1.23.28;
- malloc() + memset(0) -> malloc(M_ZERO).
- remove temporary variable.
 1.22  18-Jan-2009  isaki Clean up header files.
 1.21  17-Oct-2007  garbled branches: 1.21.20; 1.21.28;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.20  09-Jul-2007  ad branches: 1.20.10;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.19  12-May-2007  isaki Clean up white spaces and tabs.
 1.18  11-Mar-2007  isaki branches: 1.18.2; 1.18.8;
Include appropriate header file.
 1.17  11-Mar-2007  isaki white space, indent and KNF.
 1.16  11-Mar-2007  isaki Remove an extra white space.
 1.15  04-Mar-2007  christos branches: 1.15.2;
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  18-Jan-2005  chs branches: 1.13.8;
de-__P, remove register, ansify.
 1.12  08-May-2004  minoura branches: 1.12.4;
An unexported header file was #included from an exported header file.
Introduce <machine/opmreg.h> and move some definitions useful to
userland progs.
 1.11  15-Jul-2003  lukem rcsid
 1.10  23-Oct-2002  jdolecek branches: 1.10.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.9  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.8  27-Dec-2001  wiz branches: 1.8.8;
bcopy/bcmp/bzero -> memcpy/memcmp/memset
 1.7  23-Mar-2000  thorpej branches: 1.7.6; 1.7.8; 1.7.12;
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.6  24-Mar-1999  minoura branches: 1.6.8;
Shut up gcc -Wall.
 1.5  12-Oct-1997  oki Added prototype.
 1.4  13-Oct-1996  christos branches: 1.4.10;
backout previous kprintf change
 1.3  11-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.2  21-May-1996  oki Some cleanup.
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
 1.1  05-May-1996  oki branches: 1.1.1;
Initial revision
 1.1.1.1  05-May-1996  oki NetBSD/x68k, by Masaru Oki.
 1.4.10.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.6.8.1  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.7.12.3  11-Nov-2002  nathanw Catch up to -current
 1.7.12.2  17-Sep-2002  nathanw Catch up to -current.
 1.7.12.1  08-Jan-2002  nathanw Catch up to -current.
 1.7.8.2  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.8.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.7.6.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.8.8.1  17-May-2002  gehenna Add device switch.
 1.10.6.5  04-Feb-2005  skrll Adapt to branch.
 1.10.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.10.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.6.1  03-Aug-2004  skrll Sync with HEAD
 1.12.4.1  29-Apr-2005  kent sync with -current
 1.13.8.2  03-Sep-2007  yamt sync with head.
 1.13.8.1  21-Jun-2006  yamt sync with head.
 1.14.26.2  17-May-2007  yamt sync with head.
 1.14.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.15.2.3  15-Jul-2007  ad Sync with head.
 1.15.2.2  27-May-2007  ad Sync with head.
 1.15.2.1  13-Mar-2007  ad Sync with head.
 1.18.8.2  03-Oct-2007  garbled Sync with HEAD
 1.18.8.1  22-May-2007  matt Update to HEAD.
 1.18.2.1  11-Jul-2007  mjf Sync with head.
 1.20.10.1  06-Nov-2007  matt sync with HEAD
 1.21.28.1  19-Jan-2009  skrll Sync with HEAD.
 1.21.20.1  04-May-2009  yamt sync with head.
 1.23.28.1  18-May-2014  rmind sync with head
 1.23.24.2  03-Dec-2017  jdolecek update from HEAD
 1.23.24.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.14.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.24.2.1  10-Aug-2014  tls Rebase.
 1.25.4.1  22-Sep-2015  skrll Sync with HEAD
 1.27.18.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed