History log of /src/sys/dev/qbus/dhu.c |
Revision | | Date | Author | Comments |
1.58 |
| 26-Oct-2022 |
riastradh | vax/dhu(4): Convert to ttylock/ttyunlock.
|
1.57 |
| 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.56 |
| 24-Apr-2011 |
rmind | branches: 1.56.14; 1.56.28; Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
|
1.55 |
| 11-Jun-2008 |
drochner | branches: 1.55.18; 1.55.24; fix some missing pieces of device/softc split
|
1.54 |
| 27-May-2008 |
ad | branches: 1.54.2; PR kern/38763 "hanging in tty" bugfix breaks the build for vax (and probably others)
|
1.53 |
| 25-May-2008 |
ad | Properly fix the "hanging in tty" bug that was worked around with cv_wakeup() some time again.
|
1.52 |
| 11-Mar-2008 |
matt | branches: 1.52.2; 1.52.4; 1.52.6; 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.51 |
| 03-Dec-2007 |
ad | branches: 1.51.10; 1.51.14; Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts.
|
1.50 |
| 19-Nov-2007 |
ad | - Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
|
1.49 |
| 07-Nov-2007 |
ad | Merge tty changes from the vmlocking branch.
|
1.48 |
| 19-Oct-2007 |
ad | branches: 1.48.2; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.47 |
| 04-Mar-2007 |
christos | branches: 1.47.2; 1.47.14; 1.47.16; 1.47.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.46 |
| 01-Oct-2006 |
elad | branches: 1.46.4; Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!
Also, add forgotten splx() calls in some places.
|
1.45 |
| 21-Jul-2006 |
ad | branches: 1.45.4; 1.45.6; - Use the LWP cached credentials where sane. - Minor cosmetic changes.
|
1.44 |
| 15-May-2006 |
yamt | - include kauth.h for kauth_authorize_generic. - wrap a long line.
|
1.43 |
| 14-May-2006 |
elad | integrate kauth.
|
1.42 |
| 29-Mar-2006 |
thorpej | Use device_private().
|
1.41 |
| 11-Dec-2005 |
christos | branches: 1.41.4; 1.41.6; 1.41.8; 1.41.10; 1.41.12; make this compile again (from Johnny Billquist)
|
1.40 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.39 |
| 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.
Also change this to use the proc argument instead of curproc.
|
1.38 |
| 26-Feb-2005 |
simonb | branches: 1.38.4; White space nits.
|
1.37 |
| 04-Feb-2005 |
perry | de-__P
|
1.36 |
| 12-May-2004 |
wiz | branches: 1.36.4; 1.36.6; Remove UCB ad clause in Hugh Graham's license. Ok'd by Hugh Graham and board.
|
1.35 |
| 25-Apr-2004 |
matt | Constify the speedtab arrays
|
1.34 |
| 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.33 |
| 06-Apr-2003 |
ragge | branches: 1.33.2; A bunch of fixes to make the DHU driver much more efficient, from Hugh Graham (hugh@openbsd.org).
|
1.32 |
| 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.31 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.30 |
| 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.29 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.28 |
| 25-Sep-2002 |
thorpej | Don't include <sys/map.h>.
|
1.27 |
| 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.26 |
| 17-Mar-2002 |
atatat | branches: 1.26.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.25 |
| 13-Nov-2001 |
lukem | add RCSIDs
|
1.24 |
| 26-May-2001 |
ragge | branches: 1.24.2; 1.24.4; Use cdev_decl() instead of local prototyping.
|
1.23 |
| 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.22 |
| 31-Mar-2001 |
enami | Remove unnecessary test of tp->t_linesw against NULL; they are results of confusion while correcting compilation error after t_line is replaced with t_linesw.
|
1.21 |
| 02-Nov-2000 |
eeh | branches: 1.21.2; Adapt to the new line discipline scheme.
|
1.20 |
| 05-Jun-2000 |
matt | Adjust to new evcnt stuff.
|
1.19 |
| 04-Jun-2000 |
matt | More event counter stuff. Plus a little cruft cleanup while doing it.
|
1.18 |
| 30-Mar-2000 |
augustss | branches: 1.18.2; Remove register declarations.
|
1.17 |
| 24-Jan-2000 |
matt | Revamp the VAX interrupt handling code. Make it compatible with all the other ports. Clean up some things.
|
1.16 |
| 06-Jun-1999 |
ragge | branches: 1.16.2; 1.16.4; Fix map register/DMA wait queues. Still to do: BDP handling. Currently missing. Ubareset's won't work at all.
|
1.15 |
| 28-May-1999 |
ragge | The DHU code changed to use bus_space. XXX - still need to use bus_dma.
|
1.14 |
| 28-May-1999 |
ragge | Copied from ../../arch/vax/uba/dhu.c,v
|
1.13 |
| 19-Jan-1999 |
ragge | Allocate (almost) all interrupt vectors dynamically. Simplifies much work when adding support for new machines and devices.
|
1.12 |
| 13-Apr-1998 |
ragge | t_wopen fixes.
|
1.11 |
| 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
1.10 |
| 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.9 |
| 11-Jan-1997 |
ragge | Update due to changes to uba/mscp functions.
|
1.8 |
| 13-Oct-1996 |
christos | backout previous kprintf change
|
1.7 |
| 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.6 |
| 02-Sep-1996 |
mycroft | tty stop functions really should return void, not int, and certainly not both.
|
1.5 |
| 19-May-1996 |
ragge | Update from Ken Wellsch.
|
1.4 |
| 08-Apr-1996 |
ragge | Added prototypes to everything. Made all files compile with -Wall.
|
1.3 |
| 18-Mar-1996 |
ragge | Ubareset are now possible, devices that wants it now set it up during autoconfig. ifubareset (if_reset) no longer used, actually it's just a normal ubareset and is now handled like that.
|
1.2 |
| 17-Mar-1996 |
ragge | Update from Ken Wellsch: The DHU driver can now handle DMA transfers.
|
1.1 |
| 02-Mar-1996 |
ragge | Unibus/Q22 bus device driver for DHU-11 serial card. Written by Ken Wellsch. (kcwellsc@math.uwaterloo.ca)
|
1.16.4.3 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.16.4.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.16.4.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.16.2.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.18.2.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.21.2.11 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.21.2.10 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.21.2.9 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.21.2.8 |
| 12-Jul-2002 |
nathanw | No longer need to pull in lwp.h; proc.h pulls it in for us.
|
1.21.2.7 |
| 10-Jul-2002 |
nathanw | Whitespace.
|
1.21.2.6 |
| 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
1.21.2.5 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.21.2.4 |
| 28-Mar-2002 |
ragge | curproc-> => curproc->l_proc->
|
1.21.2.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.21.2.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.21.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.24.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.24.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.24.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.24.2.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.24.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.26.4.1 |
| 16-May-2002 |
gehenna | Add the character device switch. Fix type of arguments.
|
1.33.2.7 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.33.2.6 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.33.2.5 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.33.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.33.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.33.2.2 |
| 12-Aug-2004 |
skrll | Adapt to new world order.
Vax GENERIC compiles.
|
1.33.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.36.6.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.36.6.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.36.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.38.4.7 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.38.4.6 |
| 07-Dec-2007 |
yamt | sync with head
|
1.38.4.5 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.38.4.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.38.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.38.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.38.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.41.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.41.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.41.10.3 |
| 19-Apr-2006 |
elad | sync with head.
|
1.41.10.2 |
| 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
1.41.10.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
1.41.8.3 |
| 11-Aug-2006 |
yamt | sync with head
|
1.41.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.41.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.41.6.2 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.41.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.41.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.45.6.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.45.4.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.46.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.47.20.3 |
| 21-Nov-2007 |
bouyer | Sync with HEAD
|
1.47.20.2 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.47.20.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.47.16.4 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.47.16.3 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.47.16.2 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.47.16.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.47.14.4 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.47.14.3 |
| 21-Nov-2007 |
joerg | Sync with HEAD.
|
1.47.14.2 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.47.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.47.2.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.48.2.2 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.48.2.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.51.14.3 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.51.14.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.51.14.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.51.10.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.52.6.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.52.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.52.2.2 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.52.2.1 |
| 04-Jun-2008 |
yamt | sync with head
|
1.54.2.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.55.24.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.55.18.1 |
| 31-May-2011 |
rmind | sync with head
|
1.56.28.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.56.14.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|