Commit Graph

209 Commits

Author SHA1 Message Date
gmcgarry
0de5da9678 Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
2008-09-08 23:36:53 +00:00
cegger
332bec333d use device_lookup_private to get softc
XXX this driver assumes unit of zero
2008-06-12 21:51:12 +00:00
ad
b18c28f549 PR kern/38763 "hanging in tty" bugfix breaks the build for vax (and
probably others)
2008-05-27 14:13:41 +00:00
nisimura
540dfe3a95 - assign 2 clause TNF license to the files cited as my ownership.
- abandon and remove my copyright notice from the three files were
copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
2008-05-26 10:31:22 +00:00
ad
5e4b324300 Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.
2008-05-25 19:22:21 +00:00
cegger
1b044f414a use aprint_*_dev and device_xname 2008-04-08 07:35:35 +00:00
tsutsui
d9941582bf Split device_t/softc for le(4) and variants and misc cosmetic changes. 2008-04-04 12:25:06 +00:00
tsutsui
9dd0b2634a Remove an extra newline added in rev 1.18.
It will be put in the following clockattach().
2008-03-29 15:59:03 +00:00
matt
9e8ca25d60 Switch dz driver to PRIVALLOC and device_* accessors. 2008-03-15 00:57:15 +00:00
matt
dfba816635 Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code.  Move to prototype definitions.  staticfy, constify, avoid casting.
Use device_* accessors.
2008-03-11 05:34:01 +00:00
simonb
0bab12ba30 Make this compile with DEBUG enabled (fix a printf format, convert to
timecounters).
2008-01-04 01:00:43 +00:00
joerg
28b31e738f Timecounter and generic todr support for pmax. From Garret D'Amore. 2008-01-03 23:02:24 +00:00
ad
4b293a84e1 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.
2007-12-03 15:33:00 +00:00
yamt
0ae55456d7 dzstart: remove a variable which is no longer used after the previous change. 2007-11-20 09:16:53 +00:00
ad
dc26833bb6 - Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
2007-11-19 18:51:36 +00:00
ad
d37935697b Merge tty changes from the vmlocking branch. 2007-11-07 15:56:11 +00:00
ad
a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
ad
1d7050e5e2 Merge from vmlocking: fix many timing problems on mips. 2007-10-08 16:52:49 +00:00
ad
a25cf8a944 - 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.
2007-07-14 19:20:20 +00:00
ad
fc047e36ed Delay after bashing the chip at boot, otherwise output gets screwed up
and the console doesn't work properly.
2007-07-14 17:23:21 +00:00
ad
88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
plunky
57c0199dcf Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
he
adb2b00a4a Restore inadvertently deleted close-brace by previous change. 2006-10-03 12:50:12 +00:00
elad
bdc51baebb Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!
Also, add forgotten splx() calls in some places.
2006-10-01 19:28:43 +00:00
ad
d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
ad
a08a363b0d Remove unused variable. 2006-07-29 18:48:14 +00:00
ad
3029ac48c7 - Use the LWP cached credentials where sane.
- Minor cosmetic changes.
2006-07-21 16:48:45 +00:00
yamt
608bce94cf - include kauth.h for kauth_authorize_generic.
- wrap a long line.
2006-05-15 20:48:19 +00:00
elad
2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
thorpej
92c7bba3df Use device_private(). 2006-03-29 06:28:38 +00:00
perry
93124077ae Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
kleink
aece7a90fd 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.
2005-09-06 21:40:37 +00:00
perry
f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
perry
18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
matt
22120ad628 Constify the speedtab arrays 2004-04-25 06:23:40 +00:00
drochner
ef369e0ed6 remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:26:53 +00:00
wiz
d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
ad
188f029f3f Missing splx() calls. 2003-12-14 01:18:36 +00:00
ad
3234027240 Add write barriers (a no-op on vax). 2003-12-13 23:02:33 +00:00
ad
e296f9bf6e Catch break for cn_check_magic() and remove the pmax-specific hack. 2003-12-09 14:30:55 +00:00
ragge
895d584f93 Add cnmagic support to the DZ driver. Pmax should also use cnmagic instead
of it's homwgrown tests.
2003-10-18 12:10:53 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
matt
5d09a84558 Add multiple inclusion protection. 2003-01-06 21:02:18 +00:00
ad
91d54c750b In dzkbd_attach(): set dzi_ls for the console keyboard, too. 2002-12-29 19:30:57 +00:00
jdolecek
e0cc03a09b 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
2002-10-23 09:10:23 +00:00
thorpej
c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej
bacf3a10fa Use CFATTACH_DECL(). 2002-09-30 20:43:55 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00