ad
b07ec3fc38
Merge newlock2 to head.
2007-02-09 21:55:00 +00:00
jdc
517cd3237d
Allow this to compile with -DDEBUG: convert proc to lwp->l_proc.
2007-01-07 12:54:57 +00:00
jdc
9b64ec0143
Allow this to compile with -DDEBUG: convert proc to lwp->l_proc.
2007-01-07 12:32:29 +00:00
jdc
7bf256869d
Add an explicit NULL for the card_detect function (that we don't have/need)
...
in struct pcmcia_chip_functions {}.
This now compiles again (adding -Wextra exposed this).
OK martin@.
2006-12-11 11:42:48 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
martin
381d97cf19
Snapshot of work in progress gem @ sbus attachement. Don't use at home
...
yet!
Thanks to Steve Rikli for providing hardware and test equipement,
and to uwe for a lot help understanding the hardware.
2006-11-24 13:23:32 +00:00
martin
c8982ceb2a
Missing initializers
2006-10-15 20:50:29 +00:00
martin
c335701fe5
Add missing initializer
2006-10-15 19:43:45 +00:00
martin
61baadbc7f
Add missing initializer
2006-10-15 19:29:10 +00:00
elad
65792a0340
More from Matt Fleming:
...
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
2006-10-01 20:31:49 +00:00
elad
bdc51baebb
Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!
...
Also, add forgotten splx() calls in some places.
2006-10-01 19:28:43 +00:00
jmcneill
f135e0d607
Add "name" parameter to powerhook_establish, to aid debugging. No objections
...
on tech-kern@
2006-09-24 03:53:07 +00:00
jmcneill
5b8b677431
PR# 29516: magma.c comments are wrong, also splhigh is excessive
2006-09-23 04:45:49 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +00:00
ad
3029ac48c7
- Use the LWP cached credentials where sane.
...
- Minor cosmetic changes.
2006-07-21 16:48:45 +00:00
blymn
3a0170518a
Clean up bogus whitespace
2006-05-28 13:12:42 +00:00
yamt
441bc06826
include kauth.h for kauth_authorize_generic.
2006-05-15 11:17:55 +00:00
elad
2867b68bc3
integrate kauth.
2006-05-14 21:42:26 +00:00
jmmv
aec18036fd
Remove the getwschar and putwschar accessops from wsdisplay drivers as
...
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.
As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.
Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
jmmv
7a51d4dddc
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
...
to the screen on which they are being called. The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place. There are no functional changes
yet.
Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
drochner
41a5bdfbb9
kill NULL initialisation of get/setborder
2006-04-06 12:22:05 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +00:00
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
thorpej
dbf31290b3
Use device_parent().
2006-03-25 23:25:24 +00:00
macallan
b4978607ac
keep the chip powered down when not in use on machines that support it
...
( like SPARCbooks ) - needs testing on other machines
tested on my SPARCbook 3GX
2006-03-09 20:44:18 +00:00
macallan
4e4b29e7e3
this should have been committed with p9100.*
...
add the vcons attribute to pnozz
2006-03-09 05:42:35 +00:00
macallan
a12ced4fd9
sprinkle #if NWSDISPLAY > 0 to make this compile cleanly without wscons again
2006-03-08 20:09:01 +00:00
macallan
8700623aff
- use vcons
...
- enable the external VGA port when tctrl detects a monitor
2006-03-06 21:53:17 +00:00
kleink
1c977dd5bd
Fix inverted device_is_a() logic in previous conversion.
2006-02-28 23:10:49 +00:00
thorpej
d1f18238ca
Use device_is_a().
2006-02-27 02:59:24 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
perry
3d4ed1fbc7
__inline__ -> inline
2005-12-24 23:41:33 +00:00
perry
93124077ae
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:27:29 +00:00
christos
9f7f6692b9
proc -> lwp
2005-12-14 00:35:31 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
macallan
0ea32fbae1
Add hardware cursor support, needs testing.
2005-11-12 23:25:46 +00:00
martin
a332f6615a
Use mstohz() for timeout calculations.
...
Avoid local stack addresses as tsleep identifiers.
2005-11-10 21:25:35 +00:00
bouyer
dfbaaaef48
ETHERCAP_VLAN_MTU is a flag for ec_capabilities, the size of the 802.1q
...
encaptulation header is ETHER_VLAN_ENCAP_LEN. Pointed out by der Mouse on
tech-kern.
2005-11-05 16:01:52 +00:00
martin
4daa98c618
Rename the wait channels (one was a copy&pasto, the other much too long)
2005-11-05 13:59:02 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
macallan
5d5d363c01
Updated license
2005-07-28 21:36:48 +00:00
macallan
71b0921a17
driver for the audio part of SUNW,DBRI ISDN/audio controllers
2005-07-16 18:58:49 +00:00
tsutsui
5304f91e7a
Add const.
2005-06-04 04:40:57 +00:00
tsutsui
435d547a7c
Add const.
2005-06-04 04:37:21 +00:00
tsutsui
b22c03af41
Fix a shadowing variable.
2005-06-04 04:35:27 +00:00
tsutsui
296114a214
Add const.
2005-06-03 22:06:24 +00:00
jdc
d71f5da715
Add const (catching up with additions to MI ddb code).
2005-06-01 21:24:05 +00:00
jdc
4612fcc60c
Rename "delay" variable to avoid shadowing the "delay" from param.h.
2005-06-01 21:17:28 +00:00
christos
ed88e61d2f
avoid shadow variables.
2005-05-30 22:17:47 +00:00
macallan
8f8a7a4e38
forgot to include rasops_glue.h
2005-05-16 15:16:43 +00:00