History log of /src/sys/dev/dec/dz.c |
Revision | | Date | Author | Comments |
1.44 |
| 02-Feb-2024 |
tsutsui | Use aprint_normal(9) for attach messages.
|
1.43 |
| 26-Oct-2022 |
riastradh | vax/dz(4): Convert to ttylock/ttyunlock.
|
1.42 |
| 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.41 |
| 16-Mar-2014 |
dholland | branches: 1.41.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.40 |
| 24-Apr-2011 |
rmind | branches: 1.40.4; 1.40.14; 1.40.18; Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
1.39 |
| 09-May-2010 |
hans | branches: 1.39.2; The interrupt handler uses the softc, so it's probably a good idea to initialize it before causing interrupts. Prevents a panic on VAXstation 4000/9x with SPX console.
|
1.38 |
| 08-Sep-2008 |
gmcgarry | branches: 1.38.4; 1.38.14; 1.38.16; Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h preprocessor macros.
|
1.37 |
| 27-May-2008 |
ad | branches: 1.37.4; PR kern/38763 "hanging in tty" bugfix breaks the build for vax (and probably others)
|
1.36 |
| 25-May-2008 |
ad | Properly fix the "hanging in tty" bug that was worked around with cv_wakeup() some time again.
|
1.35 |
| 15-Mar-2008 |
matt | branches: 1.35.2; 1.35.4; 1.35.6; Switch dz driver to PRIVALLOC and device_* accessors.
|
1.34 |
| 11-Mar-2008 |
matt | Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
1.33 |
| 20-Nov-2007 |
yamt | branches: 1.33.10; 1.33.14; dzstart: remove a variable which is no longer used after the previous change.
|
1.32 |
| 19-Nov-2007 |
ad | - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.31 |
| 07-Nov-2007 |
ad | Merge tty changes from the vmlocking branch.
|
1.30 |
| 19-Oct-2007 |
ad | branches: 1.30.2; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.29 |
| 08-Oct-2007 |
ad | branches: 1.29.2; Merge from vmlocking: fix many timing problems on mips.
|
1.28 |
| 14-Jul-2007 |
ad | branches: 1.28.6; 1.28.8; 1.28.10; - Wait for output to drain before bashing the chip again to change line parameters. This isn't really correct, but it does stop the system hanging in ttyout. - Sprinkle a couple more delays and barriers.
|
1.27 |
| 14-Jul-2007 |
ad | Delay after bashing the chip at boot, otherwise output gets screwed up and the console doesn't work properly.
|
1.26 |
| 09-Jul-2007 |
ad | Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.25 |
| 04-Mar-2007 |
christos | branches: 1.25.2; 1.25.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.24 |
| 03-Oct-2006 |
he | branches: 1.24.4; Restore inadvertently deleted close-brace by previous change.
|
1.23 |
| 01-Oct-2006 |
elad | Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!
Also, add forgotten splx() calls in some places.
|
1.22 |
| 29-Jul-2006 |
ad | branches: 1.22.4; 1.22.6; Remove unused variable.
|
1.21 |
| 21-Jul-2006 |
ad | - Use the LWP cached credentials where sane. - Minor cosmetic changes.
|
1.20 |
| 15-May-2006 |
yamt | - include kauth.h for kauth_authorize_generic. - wrap a long line.
|
1.19 |
| 14-May-2006 |
elad | integrate kauth.
|
1.18 |
| 11-Dec-2005 |
christos | branches: 1.18.4; 1.18.6; 1.18.8; 1.18.10; 1.18.12; merge ktrace-lwp.
|
1.17 |
| 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.16 |
| 27-Feb-2005 |
perry | branches: 1.16.4; nuke trailing whitespace
|
1.15 |
| 25-Apr-2004 |
matt | branches: 1.15.4; 1.15.6; Constify the speedtab arrays
|
1.14 |
| 14-Dec-2003 |
ad | Missing splx() calls.
|
1.13 |
| 13-Dec-2003 |
ad | Add write barriers (a no-op on vax).
|
1.12 |
| 09-Dec-2003 |
ad | Catch break for cn_check_magic() and remove the pmax-specific hack.
|
1.11 |
| 18-Oct-2003 |
ragge | Add cnmagic support to the DZ driver. Pmax should also use cnmagic instead of it's homwgrown tests.
|
1.10 |
| 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.9 |
| 23-Oct-2002 |
jdolecek | branches: 1.9.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.8 |
| 25-Sep-2002 |
thorpej | Don't include <sys/map.h>.
|
1.7 |
| 24-Sep-2002 |
ad | On pmax, drop into DDB on break.
|
1.6 |
| 19-Sep-2002 |
ad | Also initalize dz_sc for each line.
|
1.5 |
| 18-Sep-2002 |
ad | Remove some duplicate/confusing lines.
|
1.4 |
| 18-Sep-2002 |
ad | Initalize sc_dz[*].dz_line for the benefit of the bus front-end.
|
1.3 |
| 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.2 |
| 17-Mar-2002 |
atatat | branches: 1.2.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.1 |
| 25-Feb-2002 |
ad | branches: 1.1.2; 1.1.8; Move the dz driver to dev/dec, since it can be shared with pmax.
|
1.1.8.4 |
| 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.8.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.1.8.2 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.1.8.1 |
| 25-Feb-2002 |
jdolecek | file dz.c was added on branch kqueue on 2002-03-16 16:00:50 +0000
|
1.1.2.6 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.1.2.5 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.2.4 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.1.2.3 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.1.2.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.1.2.1 |
| 25-Feb-2002 |
nathanw | file dz.c was added on branch nathanw_sa on 2002-02-28 04:13:14 +0000
|
1.2.4.1 |
| 16-May-2002 |
gehenna | Add the character device switch.
|
1.9.6.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.9.6.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.9.6.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.9.6.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.9.6.2 |
| 12-Aug-2004 |
skrll | Adapt to new world order.
Vax GENERIC compiles.
|
1.9.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.15.6.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.15.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.16.4.7 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.16.4.6 |
| 07-Dec-2007 |
yamt | sync with head
|
1.16.4.5 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.16.4.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.16.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.16.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.16.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.18.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.18.10.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.18.10.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
1.18.8.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.18.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.18.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.18.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.22.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.22.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.24.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.25.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.25.2.5 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.25.2.4 |
| 19-Oct-2007 |
ad | Replace the tty locks with a global tty_lock.
|
1.25.2.3 |
| 15-Jul-2007 |
ad | On mips, add a bunch more delays. Behaves a lot better now.
|
1.25.2.2 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.25.2.1 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.28.10.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.28.8.4 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.28.8.3 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.28.8.2 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.28.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.28.6.3 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.28.6.2 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.28.6.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.29.2.3 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.29.2.2 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.29.2.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.30.2.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.30.2.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.33.14.3 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.33.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.33.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.33.10.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.35.6.2 |
| 24-Sep-2008 |
wrstuden | Merge in changes between wrstuden-revivesa-base-2 and wrstuden-revivesa-base-3.
|
1.35.6.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.35.4.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.35.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.35.2.1 |
| 04-Jun-2008 |
yamt | sync with head
|
1.37.4.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.38.16.2 |
| 31-May-2011 |
rmind | sync with head
|
1.38.16.1 |
| 30-May-2010 |
rmind | sync with head
|
1.38.14.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.38.4.1 |
| 21-Nov-2010 |
riz | Pull up following revision(s) (requested by hans in ticket #1459): sys/arch/vax/vsa/dz_vsbus.c: revision 1.41 sys/dev/dec/dz.c: revision 1.39 sys/arch/vax/vsa/spx.c: revision 1.3 Make SPX work as console device on VAXstation 4000/9x. Make console keyboard work on VAXstation 4000/9x. Seems not to break anything on other VAXstations (tested on 4000 VLC). The interrupt handler uses the softc, so it's probably a good idea to initialize it before causing interrupts. Prevents a panic on VAXstation 4000/9x with SPX console.
|
1.39.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.40.18.1 |
| 18-May-2014 |
rmind | sync with head
|
1.40.14.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.40.4.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.41.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|