Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/amiga/dev/msc.c
RevisionDateAuthorComments
 1.48  26-Oct-2022  riastradh amiga/msc(4): Convert to ttylock/ttyunlock.
 1.47  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.46  16-Mar-2014  dholland branches: 1.46.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.45  27-Oct-2012  chs branches: 1.45.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.44  03-Jun-2011  matt branches: 1.44.2; 1.44.12;
CFATTACH_DECL_NEW, device_t, cfdata_t
 1.43  24-Apr-2011  rmind branches: 1.43.2;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.42  25-May-2010  jklos branches: 1.42.2;
For some reason the 6502 clock detection routine takes 1553 iterations
of the delay loop to finish on a normally clocked A2232.
 1.41  25-May-2008  ad branches: 1.41.18; 1.41.20;
Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.
 1.40  19-Nov-2007  ad branches: 1.40.14; 1.40.16; 1.40.18; 1.40.20;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.39  07-Nov-2007  ad Merge tty changes from the vmlocking branch.
 1.38  04-Mar-2007  christos branches: 1.38.2; 1.38.18; 1.38.20; 1.38.24; 1.38.26;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.37  22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.36  01-Oct-2006  elad branches: 1.36.4;
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
 1.35  01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.34  23-Jul-2006  ad branches: 1.34.4; 1.34.6;
Use the LWP cached credentials where sane.
 1.33  14-May-2006  elad integrate kauth.
 1.32  26-Mar-2006  thorpej Use device_unit().
 1.31  11-Dec-2005  christos branches: 1.31.4; 1.31.6; 1.31.8; 1.31.10; 1.31.12;
merge ktrace-lwp.
 1.30  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.29  13-Jun-2005  jmc branches: 1.29.2;
Fix a ton of const/volatile issues shown with new warning flags
 1.28  25-Apr-2004  matt Constify the speedtab arrays
 1.27  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.26  23-Oct-2002  jdolecek branches: 1.26.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.25  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.24  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.23  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.22  17-Mar-2002  atatat branches: 1.22.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.21  28-Jan-2002  aymeric add __KERNEL_RCSID as suggested by Luke Mewburn
 1.20  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.19  19-Jun-2001  wiz branches: 1.19.2; 1.19.4; 1.19.8;
`existent', not `existant'
 1.18  02-May-2001  scw 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.17  13-Jan-2001  aymeric branches: 1.17.2;
Make these compile again, plus minor aesthetic changes.
 1.16  02-Nov-2000  eeh Adapt to new line discipline scheme.
 1.15  01-Sep-1998  mhitch branches: 1.15.12;
Quick fix for TS_WOPEN -> t_wopen change. Compiles, but I can't verify
that it actually works again.
 1.14  12-Jan-1998  thorpej Adjust for changes to config.
 1.13  23-Dec-1996  veego Get rid of __BROKEN_INDIRECT_CONFIG.
 1.12  20-Dec-1996  veego Disable CD debug output.
 1.11  09-Dec-1996  is New version by Jukka Marin <jmarin@pyy.jmp.fi>, with rewritten (to fix
problems) carrier detect code. Slightly cleaned up by Bernd Ernesti
<veego@netbsd.org>
 1.10  13-Oct-1996  christos backout previous kprintf change
 1.9  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.8  02-Sep-1996  mycroft tty stop functions really should return void, not int, and certainly not both.
 1.7  06-Jun-1996  mhitch Add tty_attach() calls for pstat -t. Closes PR #2519
 1.6  21-Apr-1996  veego branches: 1.6.4;
- Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
- has now a real console mode
- another bugfix for boards with the new S3 chip
- Ariadne:
- fixed crashes with aeput (mbuf failure)
 1.5  17-Mar-1996  mhitch Clean up typos and other errors from new device attachment changes.
 1.4  17-Mar-1996  thorpej New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
 1.3  02-Feb-1996  mycroft Fix #includes.
 1.2  07-Oct-1995  chopps update to 2232 from Jukka Marin <jmarin@teeri.jmp.fi> and
rhealey@kas.helios.mn.org (Rob Healey)
 1.1  30-Sep-1995  chopps new 2232 multiport serial device from:
Rob Healey <rhealey@kas.helios.mn.org>, Jukka Marin <jmarin@teeri.jmp.fi>,
Timo Rossi <trossi@jyu.fi> and Zik
 1.6.4.2  26-Jan-1997  rat Pullup new version of msc* driver per Ignatios Souvatzis. Fixes lockups
associated with this card.
 1.6.4.1  06-Jun-1996  mhitch Pull up from trunk:
> Add tty_attach() calls for pstat -t. Closes PR #2519
 1.15.12.2  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.15.12.1  22-Nov-2000  bouyer Sync with HEAD.
 1.17.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.19.8.6  11-Nov-2002  nathanw Catch up to -current
 1.19.8.5  18-Oct-2002  nathanw Catch up to -current.
 1.19.8.4  17-Sep-2002  nathanw Catch up to -current.
 1.19.8.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.19.8.2  28-Feb-2002  nathanw Catch up to -current.
 1.19.8.1  19-Jun-2001  nathanw file msc.c was added on branch nathanw_sa on 2002-02-28 04:06:53 +0000
 1.19.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.19.4.1  10-Oct-2001  fvdl Convert all remaining devices.
 1.19.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.19.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.19.2.1  11-Feb-2002  jdolecek Sync w/ -current.
 1.22.4.1  16-May-2002  gehenna Add the character device switch.
 1.26.6.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.26.6.4  21-Nov-2004  skrll Adapt to branch.
 1.26.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.26.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.26.6.1  03-Aug-2004  skrll Sync with HEAD
 1.29.2.6  07-Dec-2007  yamt sync with head
 1.29.2.5  15-Nov-2007  yamt sync with head.
 1.29.2.4  03-Sep-2007  yamt sync with head.
 1.29.2.3  26-Feb-2007  yamt sync with head.
 1.29.2.2  30-Dec-2006  yamt sync with head.
 1.29.2.1  21-Jun-2006  yamt sync with head.
 1.31.12.2  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.31.12.1  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.31.10.4  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.31.10.3  19-Apr-2006  elad sync with head - hopefully this will work
 1.31.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.31.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.31.8.3  11-Aug-2006  yamt sync with head
 1.31.8.2  24-May-2006  yamt sync with head.
 1.31.8.1  01-Apr-2006  yamt sync with head.
 1.31.6.2  01-Jun-2006  kardel Sync with head.
 1.31.6.1  22-Apr-2006  simonb Sync with head.
 1.31.4.1  09-Sep-2006  rpaulo sync with head
 1.34.6.1  22-Oct-2006  yamt sync with head
 1.34.4.1  18-Nov-2006  ad Sync with head.
 1.36.4.2  12-Mar-2007  rmind Sync with HEAD.
 1.36.4.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.38.26.2  08-Dec-2007  mjf Sync with HEAD.
 1.38.26.1  19-Nov-2007  mjf Sync with HEAD.
 1.38.24.2  21-Nov-2007  bouyer Sync with HEAD
 1.38.24.1  13-Nov-2007  bouyer Sync with HEAD
 1.38.20.2  09-Jan-2008  matt sync with HEAD
 1.38.20.1  08-Nov-2007  matt sync with -HEAD
 1.38.18.2  21-Nov-2007  joerg Sync with HEAD.
 1.38.18.1  11-Nov-2007  joerg Sync with HEAD.
 1.38.2.1  03-Dec-2007  ad Sync with HEAD.
 1.40.20.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.40.18.2  11-Aug-2010  yamt sync with head.
 1.40.18.1  04-May-2009  yamt sync with head.
 1.40.16.1  04-Jun-2008  yamt sync with head
 1.40.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.41.20.3  12-Jun-2011  rmind sync with head
 1.41.20.2  31-May-2011  rmind sync with head
 1.41.20.1  30-May-2010  rmind sync with head
 1.41.18.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.42.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.43.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.44.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.44.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.44.2.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.44.2.1  30-Oct-2012  yamt sync with head
 1.45.2.1  18-May-2014  rmind sync with head
 1.46.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed