Commit Graph

303 Commits

Author SHA1 Message Date
fvdl
e718b57a20 Silence strict-alias warning. 2002-12-10 20:56:30 +00:00
itohy
32c9c7f1cc Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices. 2002-12-10 13:05:09 +00:00
christos
514f7047e4 si_ -> sel_ 2002-11-26 18:49:40 +00:00
fvdl
c858fe312c Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn't
really be needed, but.. (from scw and thorpej).
2002-11-25 20:49:55 +00:00
martin
8c2d46f972 Add a few symbols. 2002-10-25 21:49:41 +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
junyoung
847ebeec25 Add modecookie to struct wsscreen_descr, which is used to point to video
mode specific information.
2002-10-15 17:38:08 +00:00
thorpej
b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej
90c48d2563 Use CFATTACH_DECL(). 2002-10-01 01:25:25 +00:00
thorpej
bf97c13c6c Declare all cfattach structures const. 2002-09-27 20:41:46 +00:00
provos
0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
reinoud
360e94d0c9 Fix some small unclear documentation and cleanup a bit... 2002-09-25 14:21:07 +00:00
simonb
4e3613273b Remove breaks after returns, unreachable returns and returns after
returns(!).
2002-09-23 05:51:10 +00:00
gehenna
77a6b82b27 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.
2002-09-06 13:18:43 +00:00
junyoung
2009b23147 switch/case KNF. 2002-07-09 07:15:21 +00:00
junyoung
c8d459a985 alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 17:58:02 +00:00
junyoung
3d826105dc alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
itojun
5092dd2653 wsdisplay needs wsevent.c. PR 17456 2002-07-02 12:59:39 +00:00
christos
71dcc987cd PR/17402: Add wsmoused support by providing get/set char and events. 2002-06-26 23:05:33 +00:00
drochner
3db12b1095 Don't detach the mouse from the mux just because the mouse device is
opened. Too annoying and unnecessary.
2002-06-06 09:16:12 +00:00
hannken
94a48c8c9f Remove the cyrillic keysyms. This was not done the right way.
Will come back after 1.6 has branched.

Approved by: Matthias Drochner <drochner@netbsd.org>
2002-04-23 13:42:46 +00:00
hannken
ad4a51c35b Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT.
Approved by Matthias Drochner <drochner@netbsd.org>.
2002-04-07 09:25:47 +00:00
uwe
b540b26b5a Sync most Cyrillic names with X11 keysym names. 2002-03-24 05:43:12 +00:00
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
augustss
75419dae29 Add Cyrillic keysyms. From OpenBSD. 2002-03-17 18:15:00 +00:00
augustss
45e00a035a Don't forget the symbolc names for the keymaps. 2002-03-17 18:12:15 +00:00
augustss
ada83730a8 Add more language map definitions. 2002-03-17 18:00:17 +00:00
takemura
29e873a235 Added wsmux_set_display() to fix the problem that wskbd wan't connected
to any display if keyboard was attached before display and both aren't console.
2002-03-02 08:22:26 +00:00
ad
a66008a0b5 Add WSMOUSE_TYPE_MAXINE. 2002-02-24 02:01:40 +00:00
jandberg
2089bcf9c1 added amiga display/mouse/keyboard defines 2002-01-13 18:05:50 +00:00
tsutsui
c12b5c180d Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:41:02 +00:00
gmcgarry
6dbb6e893b Simply entries added in previous. 2001-12-04 04:30:22 +00:00
gmcgarry
adb908503d Add identifiers for HP devices. 2001-12-02 01:17:51 +00:00
ross
43fe22fed0 Revert previous; the _e003U definition is used elsewhere. 2001-12-02 01:04:26 +00:00
bjh21
15d94a4c59 On a VT100, the "scanline 5" character is also used for box drawing, so
represent it as U+2500 (BOX DRAWINGS LIGHT HORIZONTAL).  This makes NetHack
DECgraphics mode work properly on a wscons console using an IBM-encoded font.
2001-12-01 16:07:58 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
augustss
b5e0d97bf7 Add some DIAGNOSTIC tests. 2001-11-22 00:57:14 +00:00
augustss
37f2beed3e Close multiplxees BEFORE removing the event variable they are
using (an interrupt at the wrong point caused disaster).
2001-11-22 00:54:23 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
augustss
dfbba4149c Injecting events into a mux that is not open is not an error. 2001-11-19 00:37:22 +00:00
lukem
2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem
139747fb15 add/cleanup RCSIDs 2001-11-13 06:17:46 +00:00
martin
cd67a5ce17 Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>. 2001-11-11 11:48:56 +00:00
augustss
48ea68d3d9 Make wsdisplay_set_console_kbd() a little less twisted. 2001-11-10 17:14:51 +00:00
augustss
4cfba4290a Ad a debug message. (With { } this time.) 2001-11-07 13:36:43 +00:00
enami
58a47f4ae2 Have necessary braces. 2001-11-07 12:57:33 +00:00
augustss
2158da33e3 Improve diagniostic message. 2001-11-07 03:26:06 +00:00
enami
480bb2c9a8 Fix typo in comment. 2001-11-05 08:22:24 +00:00
augustss
d1ff85c9aa Improve debug messages a little. 2001-11-02 13:02:20 +00:00
augustss
246b858752 Inject events in the right place in the buffer. 2001-10-29 01:02:11 +00:00