Commit Graph

17 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
jdolecek ff8305bbac Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +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
enami 2ceebb6c0e 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.
2001-03-31 00:35:21 +00:00
nisimura dfb8c2a44f Fix a minor typo in the previous change of tp->t_linesw introduction. 2000-11-07 09:23:21 +00:00
eeh 8c3f6a0d10 Adapt to new line discipline scheme. 2000-11-02 00:37:56 +00:00
nisimura 1b3cb15ca9 Fix errors in mouse event handling;
- convert LMR bit pattern into RML since wsevent counts 0 for the leftmost
  mouse button.
- found hardware reports mouse button state in negated.
2000-10-19 10:35:34 +00:00
mrg 28d898391b remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:10:45 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thorpej a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
nisimura 034d6278cf Fix an argument error of wsmouse_input() call. 2000-01-14 03:28:13 +00:00
nisimura 237f63f2d2 Put a comment about BREAK detection; DDB fails to resume. Need to clear
the condition before resume?
2000-01-12 01:59:45 +00:00
nisimura acf3c1e59a - Fix an error in clearing entire screen.
- Add 3 byte long mouse event parsing.
- Fix errors in comments.
2000-01-12 01:57:22 +00:00
nisimura e9c36a5c33 Kludge to avoid a panic in badaddr() when no framebuffer is installed. 2000-01-08 04:40:25 +00:00
nisimura f28fd51814 - Make SCSI work; by kludges of machine/bus.h. TEAC streamer tape drive
found to be tweaked.  Need extensive verifications.
- Add wsmouse node under ws; not useful this moment.
2000-01-07 05:13:08 +00:00
nisimura 3bec20781c Fix a typo of screen size; pointed by tsubai. 2000-01-06 00:19:10 +00:00
nisimura 95d00ea75d Introduce NetBSD/luna68k port into CVS repository. 2000-01-05 08:48:53 +00:00