atatat
31144d9976
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.
2002-03-17 19:40:26 +00:00
leo
9c4c15292b
Nuke some cf_unit abuses.
2001-07-09 12:06:35 +00:00
scw
2963ff5c58
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.
2001-05-02 10:32:08 +00:00
leo
3d1167e274
Fix fallout from lastest tty changes.
2001-02-01 08:59:45 +00:00
eeh
bc7363329c
Adapt to new line discipline scheme.
2000-11-02 00:26:35 +00:00
leo
670b06c6e0
Move config_console() out of the grf-layer. This allows for more than just
...
grf-type consoles (wscons). Config_console() is now called from consinit(),
just after setting up the kernel msgbuf, so debugging is easy(er).
To further facilitate this move, the pcibus now allows for early-console
attaches by allocating static bus_space_tags (no mallocs possible at this
point).
2000-09-28 07:26:48 +00:00
thorpej
b667a5a357
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
leo
d10190a70c
Move the ite_default_* variables to ite.c. They are generic ite.
2000-02-11 21:42:52 +00:00
leo
7396daca2b
No longer abuse cf_unit. This broke with the latest autoconf changes.
2000-01-19 13:23:14 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
leo
e32073cbb1
Sync with latest tty changes.
1998-03-25 09:46:09 +00:00
thorpej
2d73f5ea18
Update for changes to config.
1998-01-12 18:03:58 +00:00
leo
d4c5e4e6fe
Add code to set pitch and duration of the keyboard bell. (Thomas Gerner).
1997-06-29 20:30:49 +00:00
leo
7a0c8fa119
Handle keyboard modifiers *before* handing the keycodes to either the
...
console driver or the DDB keyboard functions. This prevents annoyances
with out of sync modifier stati.
1997-01-10 21:24:25 +00:00
leo
d1538cb3c0
Don't try to init the keyboard interrupts in cngetc(). This caused the
...
keyboard to hang when booting directly into the debugger.
1997-01-08 11:28:03 +00:00
leo
291ced55a4
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 12:49:35 +00:00
christos
17f5b2a175
backout previous kprintf changes
1996-10-13 04:10:34 +00:00
leo
b88d6013b6
Remove grf_ite_ioctl(). Replace it by 'itexx_ioctl' that is configurable
...
per ite-type.
1996-10-11 20:50:34 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
leo
f97dcb95be
The KDASSERT macro is now defined in libkern
1996-09-25 15:10:15 +00:00
leo
ef074b3031
Prepare for (soon to come) et4000 PCI console.
1996-09-16 06:43:32 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
leo
d84f4c4b18
Add tty_attach() calls.
1996-06-18 05:54:59 +00:00
leo
b3fadef7e0
Yet more prototyping and -Wall fixes.
1996-04-18 08:51:11 +00:00
leo
e0aeb3dc13
Another bit of prototyping...
1996-03-20 12:41:30 +00:00
leo
38432e7448
Debugger() prototype is in systm.h, don't define Debugger() here.
1996-03-19 13:15:34 +00:00
thorpej
82d914d090
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.
1996-03-17 01:26:49 +00:00
leo
c9dfd5cb44
First bunch of changes due to stricter prototype checking.
1996-02-22 10:10:44 +00:00
leo
eee0dbbda7
Allow chars > 0x7f to be displayed on the ite's
1995-09-04 19:39:21 +00:00
leo
052e19d7fd
Change and fix the way of keyboard mapping. Each virtual console has it's
...
own private keymap, initialized on open from the system-keymap. Both
system and private keymaps are settable.
1995-07-24 05:56:06 +00:00
leo
555b2f67be
Minor fixes.
1995-05-21 10:52:18 +00:00
leo
e8312d3ac3
Adapt for new conf.h:
...
- Add xxxtty() functions
- Remove xxx_tty array
1995-04-22 22:06:43 +00:00
mycroft
27d859e141
Add dummy itestop(), and rename a few functions.
1995-04-10 08:53:46 +00:00
leo
36592a50b1
Make ite ioctl work and fixup the colormap stuff.
1995-03-28 06:35:40 +00:00
leo
8b0113cfce
NetBSD/Atari, port by Leo Weppelman.
1995-03-26 07:12:03 +00:00