Commit Graph

15 Commits

Author SHA1 Message Date
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
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
3f7694f804 Adapt these for use on the Milan. 2001-04-11 14:45:07 +00:00
eeh
bc7363329c Adapt to new line discipline scheme. 2000-11-02 00:26:35 +00:00
leo
27d334cf76 Nuke a bunch of cf_unit abuses. 2000-03-29 14:19:22 +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
54f2532106 Change the way that bit's are cleared in the InterruptPending register of
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.
1999-08-06 08:27:30 +00:00
pk
0e39bfc32c remove duplicate line in copyright. 1999-04-06 19:28:41 +00:00
pk
5a47d424ae Fix garbled word in copyright statement. 1999-04-06 19:27:48 +00:00
leo
d833f66c0c Copyright stuff. 1998-10-07 07:22:32 +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
c9f11609e3 According to Andre Lange, the Hades has the DTR/RTS lines exchanged on
the 68901 UART-port due to a PCB error. Take care of this.
1997-08-27 06:59:19 +00:00
leo
c803f7baa9 Add serial driver for 68901 UART (modem1 port). 1997-05-25 12:41:27 +00:00