Home | History | Annotate | Download | only in hpc
History log of /src/sys/dev/hpc/biconsdev.c
RevisionDateAuthorComments
 1.23  20-Aug-2015  christos include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.
 1.22  25-Jul-2014  dholland branches: 1.22.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.21  16-Mar-2014  dholland branches: 1.21.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.20  19-Nov-2007  ad branches: 1.20.52; 1.20.62; 1.20.68;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.19  18-Oct-2007  joerg branches: 1.19.2;
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
 1.18  04-Mar-2007  christos branches: 1.18.2; 1.18.14; 1.18.16; 1.18.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.17  01-Oct-2006  elad branches: 1.17.4;
Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!

Also, add forgotten splx() calls in some places.
 1.16  21-Jul-2006  ad branches: 1.16.4; 1.16.6;
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.
 1.15  15-May-2006  yamt - include kauth.h for kauth_authorize_generic.
- whitespace.
 1.14  14-May-2006  elad integrate kauth.
 1.13  11-Dec-2005  christos branches: 1.13.4; 1.13.6; 1.13.8; 1.13.10; 1.13.12;
merge ktrace-lwp.
 1.12  27-Nov-2005  thorpej Overhaul how TTY line disciplines are handled:
- Replace references to linesw[0] with a ttyldisc_default() function
that returns the default ("termios") line discipline.
- The linesw[] array is gone, replaced by a linked list.
- ttyldisc_add() and ttyldisc_remove() have been replaced by
ttyldisc_attach() and ttyldisc_detach().
- Things that provide line disciplines are now responsible for
registering those disciplines with the system. The linesw
structures are no longer declared in tty_conf.c
- Line disciplines are now refcounted; a lookup causes a reference to
be held. ttyldisc_release() releases the reference. Attempts to
detach an in-use line discipline result in EBUSY.
- Fix function signature lossage in if_sl.c, if_strip.c, and tty_tb.c
that was masked by the old tty_conf.c
- tty_init() is no longer necessary; delete it and its call from main().
 1.11  06-Sep-2005  kleink branches: 1.11.6;
Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
 1.10  07-Aug-2003  agc branches: 1.10.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.9  29-Jun-2003  fvdl branches: 1.9.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.8  29-Jun-2003  ichiro struct proc * -> struct lwp *
 1.7  23-Oct-2002  jdolecek 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.6  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.5  17-Mar-2002  atatat branches: 1.5.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.4  02-Jan-2002  uch when bootinfo has no framebuffer information, don't attach bicons.
 1.3  13-Nov-2001  lukem add RCSID
 1.2  02-May-2001  scw branches: 1.2.2; 1.2.4;
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
 1.1  09-Feb-2001  uch branches: 1.1.2; 1.1.4;
add hpcmips/hpcsh common device directory
put bicons. (builtin console driver that don't require actual device driver)
 1.1.4.7  11-Nov-2002  nathanw Catch up to -current
 1.1.4.6  17-Sep-2002  nathanw Catch up to -current.
 1.1.4.5  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.4  28-Feb-2002  nathanw Catch up to -current.
 1.1.4.3  11-Jan-2002  nathanw More catchup.
 1.1.4.2  14-Nov-2001  nathanw Catch up to -current.
 1.1.4.1  21-Jun-2001  nathanw Catch up to -current.
 1.1.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.1.2.1  09-Feb-2001  bouyer file biconsdev.c was added on branch thorpej_scsipi on 2001-02-11 19:15:21 +0000
 1.2.4.2  13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.2.4.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.2.2.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.2.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.4.1  16-May-2002  gehenna Add the character device switch.
Replace the direct-access to devsw table with calling devsw API.
 1.9.2.6  11-Dec-2005  christos Sync with head.
 1.9.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.2.4  24-Jan-2005  skrll Adapt to branch.
 1.9.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.2.1  03-Aug-2004  skrll Sync with HEAD
 1.10.16.5  07-Dec-2007  yamt sync with head
 1.10.16.4  27-Oct-2007  yamt sync with head.
 1.10.16.3  03-Sep-2007  yamt sync with head.
 1.10.16.2  30-Dec-2006  yamt sync with head.
 1.10.16.1  21-Jun-2006  yamt sync with head.
 1.11.6.1  29-Nov-2005  yamt sync with head.
 1.13.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.13.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.13.8.2  11-Aug-2006  yamt sync with head
 1.13.8.1  24-May-2006  yamt sync with head.
 1.13.6.1  01-Jun-2006  kardel Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.16.6.1  22-Oct-2006  yamt sync with head
 1.16.4.1  18-Nov-2006  ad Sync with head.
 1.17.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.18.20.2  21-Nov-2007  bouyer Sync with HEAD
 1.18.20.1  25-Oct-2007  bouyer Sync with HEAD.
 1.18.16.2  09-Jan-2008  matt sync with HEAD
 1.18.16.1  06-Nov-2007  matt sync with HEAD
 1.18.14.2  21-Nov-2007  joerg Sync with HEAD.
 1.18.14.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.18.2.1  23-Oct-2007  ad Sync with head.
 1.19.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.20.68.1  18-May-2014  rmind sync with head
 1.20.62.2  03-Dec-2017  jdolecek update from HEAD
 1.20.62.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.52.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.21.2.1  10-Aug-2014  tls Rebase.
 1.22.4.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed