Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sun2/dev/kd.c
RevisionDateAuthorComments
 1.25  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.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  27-Oct-2012  chs branches: 1.23.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.22  24-Apr-2011  rmind branches: 1.22.4; 1.22.14;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.21  28-Apr-2008  martin branches: 1.21.22; 1.21.28;
Remove clause 3 and 4 from TNF licenses
 1.20  29-Mar-2008  tsutsui branches: 1.20.2; 1.20.4;
Split softc and device_t for zsc(4) and its children.

XXX we should restructure MI APIs and make it really machine independent.
 1.19  19-Nov-2007  ad branches: 1.19.14;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.18  21-Oct-2007  he branches: 1.18.2;
Move declaration of kd_later() up before the first use.
 1.17  18-Oct-2007  joerg 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.16  04-Mar-2007  christos branches: 1.16.2; 1.16.18; 1.16.20; 1.16.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.15  16-Feb-2007  ad branches: 1.15.2;
More spllowersoftclock() fallout.
 1.14  01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.13  23-Jul-2006  ad branches: 1.13.4; 1.13.6;
Use the LWP cached credentials where sane.
 1.12  14-May-2006  elad integrate kauth.
 1.11  11-Dec-2005  christos branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12;
merge ktrace-lwp.
 1.10  06-Sep-2005  kleink 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.9  22-Jan-2005  chs branches: 1.9.8;
de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.8  25-Aug-2003  uwe branches: 1.8.8;
Undo previous as it broke things.

There are some scattered implicit RASTERCONSOLE dependencies,
so there should be a better way.
 1.7  24-Aug-2003  uwe #include "opt_rcons.h"
 1.6  15-Jul-2003  lukem __KERNEL_RCSID()
 1.5  23-Oct-2002  jdolecek branches: 1.5.6;
g/c cons_ocount, it's not used by anything
 1.4  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.3  10-Oct-2002  martin Pass a struct cons_channel * to cc_iclose, not a struct kbd_softc *.
This argument has been previously unused, thus undetected due to void*
typing. Mmm, copy & paste. Note that sparc got it right though.

Many thanks to Valeriy E. Ushakov <uwe@netbsd.org> for debugging support.
 1.2  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.1  22-Mar-2002  fredette branches: 1.1.4; 1.1.6; 1.1.10;
Added bits to complete the sun2 console code. These are
virtually identical copies of files under sys/arch/sparc/dev,
and one day they will be merged under sys/dev/sun.
 1.1.10.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.1.10.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.10.1  22-Mar-2002  jdolecek file kd.c was added on branch kqueue on 2002-06-23 17:42:30 +0000
 1.1.6.2  08-Jun-2002  gehenna remove unused function.
 1.1.6.1  19-May-2002  gehenna Add device switch.
Replace the access to devsw table and the hard-coded majors with devsw API.
 1.1.4.5  11-Nov-2002  nathanw Catch up to -current
 1.1.4.4  18-Oct-2002  nathanw Catch up to -current.
 1.1.4.3  17-Sep-2002  nathanw Catch up to -current.
 1.1.4.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.4.1  22-Mar-2002  nathanw file kd.c was added on branch nathanw_sa on 2002-04-01 07:43:17 +0000
 1.5.6.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.6.5  04-Feb-2005  skrll Adapt to branch.
 1.5.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.5.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1  03-Aug-2004  skrll Sync with HEAD
 1.8.8.1  29-Apr-2005  kent sync with -current
 1.9.8.6  07-Dec-2007  yamt sync with head
 1.9.8.5  27-Oct-2007  yamt sync with head.
 1.9.8.4  03-Sep-2007  yamt sync with head.
 1.9.8.3  26-Feb-2007  yamt sync with head.
 1.9.8.2  30-Dec-2006  yamt sync with head.
 1.9.8.1  21-Jun-2006  yamt sync with head.
 1.11.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.10.3  13-May-2006  elad sprinkle some #include <sys/kauth.h> in files that use kauth kpi but
don't include it yet. hopefully this will prevent some fallout.
 1.11.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.11.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.11.8.2  11-Aug-2006  yamt sync with head
 1.11.8.1  24-May-2006  yamt sync with head.
 1.11.6.1  01-Jun-2006  kardel Sync with head.
 1.11.4.1  09-Sep-2006  rpaulo sync with head
 1.13.6.1  22-Oct-2006  yamt sync with head
 1.13.4.1  18-Nov-2006  ad Sync with head.
 1.15.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.16.24.2  21-Nov-2007  bouyer Sync with HEAD
 1.16.24.1  25-Oct-2007  bouyer Sync with HEAD.
 1.16.20.2  09-Jan-2008  matt sync with HEAD
 1.16.20.1  06-Nov-2007  matt sync with HEAD
 1.16.18.2  21-Nov-2007  joerg Sync with HEAD.
 1.16.18.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.16.2.3  03-Dec-2007  ad Sync with HEAD.
 1.16.2.2  03-Dec-2007  ad Sync with HEAD.
 1.16.2.1  23-Oct-2007  ad Sync with head.
 1.18.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.19.14.2  02-Jun-2008  mjf Sync with HEAD.
 1.19.14.1  03-Apr-2008  mjf Sync with HEAD.
 1.20.4.1  16-May-2008  yamt sync with head.
 1.20.2.1  18-May-2008  yamt sync with head.
 1.21.28.1  06-Jun-2011  jruoho Sync with HEAD.
 1.21.22.1  31-May-2011  rmind sync with head
 1.22.14.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.14.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.4.2  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.22.4.1  30-Oct-2012  yamt sync with head
 1.23.2.1  18-May-2014  rmind sync with head
 1.24.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed