Commit Graph

25 Commits

Author SHA1 Message Date
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
ad a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
kiyohara 57062aa01b We call to config_hook_call() with always 'on'.
It doesn't suspend it for NULL.
2007-09-23 12:21:47 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
hubertf eda05c6413 Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
2007-01-29 01:52:43 +00:00
christos 168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
uwe 44b3507820 -Wextra fixes 2006-10-12 21:19:13 +00:00
peter d04123ca73 Run the "power button event" hooks when the special button OFF is pressed.
Change the keycodes in the keymaps that are currently using the OFF button
to -1 so that they will still operate the same way (i.e. do nothing).

No objection on port-hpcsh & port-hpcmips.
2006-09-24 18:34:41 +00:00
thorpej 92c7bba3df Use device_private(). 2006-03-29 06:28:38 +00:00
uwe 50ea998c78 Move assignment out of conditional expression. 2006-02-13 16:35:57 +00:00
peter 57be7a5a81 Fix a typo, use uintN_t, use assigned variables, add newline to a printf. 2006-02-12 23:19:14 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
he 3ffd57432b Add an __UNCONST() to appease -Wcast-qual.
XXX The way this is done is really wrong, as this function ends up
modifying read-only data marked with 'const'.
The reason we can get away with this is that apparently all the
ports using this code maps text and read-only data read-write.

Reviewed by christos, who suggested "a big XXX comment".
2005-06-08 07:49:45 +00:00
perry f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
bjh21 dff5222d3a Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it.  This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111.  The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers.  To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned.  Thy just use rather more function pointers than before.  Tested
on i386 and (with a new host driver) acorn32.  Compiled on several other
affected architectures.
2004-03-13 17:31:33 +00:00
thorpej c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej 9d4a640785 Use CFATTACH_DECL(). 2002-09-30 21:04:24 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +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
lukem b84f53efc5 add RCSID 2001-11-13 12:47:33 +00:00
uch 859a6a49b2 ANSI KNF. 2001-06-04 18:59:31 +00:00
uch ecdf760718 fix locking problem of event queue access. 2001-05-08 17:23:09 +00:00
thorpej 669641cb9d splimp -> splvm (it's questionable whether or not this is really
the right level at all -- maybe splhigh?  Anyway, XXX comment added
as well).
2001-04-12 19:45:25 +00:00
uch 2485a882f2 if catch unknown scancode, print its row and column. 2001-03-01 16:41:36 +00:00
uch 659f65e0ee hpc common files are moved to dev/hpc. 2001-02-22 18:37:54 +00:00