Commit Graph

213879 Commits

Author SHA1 Message Date
plunky
048d95d5ff no trailing comma on enum 2012-10-14 08:35:45 +00:00
plunky
c61317e3bf add code to ensure that SO_SNDBUF is large enough on client connections,
as was previously done for server mode
2012-10-14 08:31:35 +00:00
jmmv
aec6efdd3a Add missing ./usr/X11R7/lib/modules/libexa_g.a to fix MKDEBUGLIB=yes build. 2012-10-13 21:21:52 +00:00
dholland
9d2c006837 Improve the diagnostic messages for invalid/non-ELF files. Proposed a
while back; I forget the context. Has been sitting in one of my trees
awaiting a test run since, apparently, August 2011.
2012-10-13 21:13:07 +00:00
dholland
a59cfd489a Pass -Wstrict-overflow 2012-10-13 21:03:09 +00:00
dholland
bf33b97c19 Pass -Wstrict-overflow; while here, use curses TRUE and FALSE only with
curses.
2012-10-13 21:01:13 +00:00
dholland
0d0b06a380 Pass -Wstrict-overflow... mostly. 2012-10-13 20:57:35 +00:00
dholland
211b175c28 Pass -Wstrict-overflow. 2012-10-13 20:42:56 +00:00
dholland
0f960348b2 Pass -Wstrict-overflow, and while here, don't read from index -1 of
an array.
2012-10-13 20:36:06 +00:00
dholland
8bde1deef1 Factor out some common code; pass -Wstrict-overflow. 2012-10-13 20:12:18 +00:00
dholland
e31613d908 Pass -Wstrict-overflow. 2012-10-13 19:58:53 +00:00
dholland
44d9434e65 Move scratch variables of main to main, instead of having them be
file-static.
2012-10-13 19:44:36 +00:00
alnsn
c0135b01f2 Enable sljit in amd64 kernel and modules. 2012-10-13 19:42:02 +00:00
dholland
396c97ad03 Add strategic assertion, now passes -Wstrict-overflow. 2012-10-13 19:39:57 +00:00
alnsn
a573b72a32 Fix compilation. 2012-10-13 19:38:24 +00:00
dholland
bc604cfe52 Remove ifdefs for V7 (as opposed to older) unix. 2012-10-13 19:25:22 +00:00
dholland
4105daf3e6 Pass the move info around instead of using it as a global. 2012-10-13 19:19:38 +00:00
dholland
8733c61f2c Crack down on global variables with single-letter names. 2012-10-13 18:44:14 +00:00
christos
83d4b28a8e PR/47068: unifdef(1) with cpp directive on last line without newline
Remove bogus test; if there is no newline, the state does not change.
2012-10-13 18:26:03 +00:00
jdc
72cae23ccb Add two flags to keyboard/mouse attachment:
PCKBC_CANT_TRANSLATE for keyboards that cannot translate to XT scancodes
  PCKBC_NEED_AUXWRITE for mice that don't probe first time
These flags can be set by the port-specific attachments.
2012-10-13 18:14:09 +00:00
jdc
2b0129b4a9 Add pckbc at ebus. 2012-10-13 18:00:03 +00:00
jdc
4be6ce2eeb Adapt to the changed signature of pckbc_cnattach(). 2012-10-13 17:58:53 +00:00
dholland
9e0e285e59 6.99.13 - namei NDAT() change and pckbc_cnattach() 2012-10-13 17:54:40 +00:00
jdc
343abb5591 Add the extra keys found on the Tadpole SPARCle to the keysym list. 2012-10-13 17:51:51 +00:00
jdc
b0cdfa37f7 Add two flags to keyboard/mouse attachment:
PCKBC_CANT_TRANSLATE for keyboards that cannot translate to XT scancodes
  PCKBC_NEED_AUXWRITE for mice that don't probe first time
These flags can be set by the port-specific attachments.

Add the translation table and function to handle set 2 to set 1 keyboard
translation in software.

Based on OpenBSD sys/dev/ic/pckbc.c revisions 1.10, 1.16, 1.17, and
sys/dev/pckbc/pckbd.c revision 1.15, and 8042 scan code information at:

  http://www.computer-engineering.org/ps2keyboard/

Note, that this changes the signature of pckbc_cnattach(), so ride the
kernel version bump for namei.
2012-10-13 17:51:28 +00:00
dholland
2bcf8ce0cf regen 2012-10-13 17:47:11 +00:00
dholland
ebc30f9e8b Replace hack implementation of NDAT() for "nameiat" with a proper one.
(This change requires a kernel bump.)
2012-10-13 17:46:50 +00:00
christos
c6f0835de6 add KERN_USRSTACK (this is not dynamically defined for FreeBSD compatibility) 2012-10-13 15:35:55 +00:00
njoly
b6d38f1490 Remove some more unneeded Pp macros. 2012-10-13 15:28:33 +00:00
skrll
699dbe7b38 Remove some unused includes 2012-10-13 14:22:12 +00:00
njoly
bee4003ac7 Remove a few unneeded Pp macros. 2012-10-13 14:18:16 +00:00
skrll
c3f690b91c Change the mailbox handling so that the data value top 28 bits are used. 2012-10-13 08:42:50 +00:00
skrll
7f9014885c Unwrap short line. Other whitespace. 2012-10-13 07:57:50 +00:00
kiyohara
8966ac16da Fix variable name for message of printf. 2012-10-13 07:31:25 +00:00
tsutsui
5dc1a67d08 struct device * -> device_t, use device_xname() (from chs@) 2012-10-13 06:51:22 +00:00
tsutsui
c43740f59e Fix botch on device_t/softc split in debug printf macro. from chs@ 2012-10-13 06:49:26 +00:00
tsutsui
7ca725dd2f struct device * -> device_t (from chs@) 2012-10-13 06:44:24 +00:00
tsutsui
0c3cdf0030 Normalize autoconf(9) function arg names (parent, self, and aux)
for clarification.  from chs@.
2012-10-13 06:43:00 +00:00
tsutsui
522687ebbb use device_xname() (from chs@) 2012-10-13 06:38:08 +00:00
tsutsui
b5d71af96b struct device * -> device_t, struct cfdata * -> cfdata_t
use device_xname()  (from chs@)
2012-10-13 06:37:16 +00:00
tsutsui
542df6ece6 Add a cast to print dev_t. (broken since 64bit dev_t change?) from chs@
XXX: probably no one will use this...
2012-10-13 06:35:54 +00:00
tsutsui
74d1c7d9ea Fix botch on device_t/softc split in #if 0'ed debug printf. from chs@ 2012-10-13 06:32:11 +00:00
tsutsui
2d0592c2ec struct device * -> device_t, struct cfdata * -> cfdata_t (from chs@) 2012-10-13 06:28:54 +00:00
tsutsui
f89783d4ed Remove unused struct device menber from softc. from chs@ 2012-10-13 06:27:51 +00:00
tsutsui
04a6971266 struct device * -> device_t, use device_xname() (from chs@) 2012-10-13 06:25:20 +00:00
tsutsui
2cd71cc097 Fix botch on device_t/softc split inside #ifdef SNDEBUG part. from chs@ 2012-10-13 06:24:15 +00:00
tsutsui
3c2eb5037c use device_xname() (from chs@) 2012-10-13 06:18:44 +00:00
tsutsui
9df3c44752 struct device * -> device_t, use device_xname() (from chs@) 2012-10-13 06:16:18 +00:00
tsutsui
21f100dd36 struct device * -> device_t, struct cfdata * -> cfdata_t
use device_xname()  (from chs@)
2012-10-13 06:12:23 +00:00
tsutsui
71d85cc144 struct device * -> device_t, struct cfdata * -> cfdata_t (from chs@) 2012-10-13 06:08:30 +00:00