Commit Graph

481 Commits

Author SHA1 Message Date
nisimura 540dfe3a95 - assign 2 clause TNF license to the files cited as my ownership.
- abandon and remove my copyright notice from the three files were
copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
2008-05-26 10:31:22 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui 78a1d236b6 Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
2008-04-13 04:55:52 +00:00
cegger 395c8c3fd3 use aprint_*_dev and device_xname 2008-04-05 16:35:35 +00:00
tsutsui d9941582bf Split device_t/softc for le(4) and variants and misc cosmetic changes. 2008-04-04 12:25:06 +00:00
tsutsui 02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
matt 1a5c171d25 Add the bus devclass to tc 2008-02-27 23:49:11 +00:00
matt 421d92a428 Use the VAX_PHYS_TO_S0 macro from vax/tc_machdep.h 2008-02-20 18:15:12 +00:00
matt e71c736cbb Fix TC on VAX. (missed committing these earlier) 2008-02-19 18:30:33 +00:00
cube 205642797e Remove some whitespace. 2007-11-13 05:31:01 +00:00
ad ca6954d465 Use zs_lock_init() to set up the chanstate's lock. 2007-11-09 00:05:38 +00:00
ad d37935697b Merge tty changes from the vmlocking branch. 2007-11-07 15:56:11 +00:00
ad a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
ad 46ed8f7d77 Use the softint API. 2007-10-08 16:18:02 +00:00
ad 744a92f0f8 Don't depend on uvm_extern.h pulling in proc.h. 2007-07-21 19:06:20 +00:00
ad 88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
matt a2a9594187 Make tc_knowndevs const. 2007-04-12 21:39:24 +00:00
matt 55fa5792a8 Make tc_knowndevs const. 2007-04-12 21:35:08 +00:00
simonb 6e01250597 Fix some caddr_t rototill fallout. 2007-03-06 22:29:29 +00:00
dogcow f18ef70a25 semimechanically convert 'void foo' -> 'void *foo', as part of the continuing
caddr_t fallout.
2007-03-05 21:05:00 +00:00
yamt 348fa25c95 fix fallout from caddr_t changes. 2007-03-04 15:57:25 +00:00
yamt 18e17bd568 fix fallout from caddr_t changes. 2007-03-04 15:46:18 +00:00
yamt dd46610b9b fix fallout from caddr_t changes.
XXX what "volatile caddr_t" in if_le_ioasic.c was for?
2007-03-04 15:17:06 +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
elad d5ebb97b46 Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 18:44:45 +00:00
elad 432c309931 Change kauth(9) KPI for kauth_authorize_device_passthru() to add another
argument, u_long, serving as a bit-mask of generic requests for the
passthru request.

Discussed on tech-security@ and tech-kern@. Okay tls@.
2006-12-02 03:10:42 +00:00
plunky 57c0199dcf Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
dogcow 7a82abd9dc remove extraneous kauth check; since open already does the auth - and
mmap doesn't even get passed the lwp - the check here neither compiles
nor does anything terribly useful.
2006-11-08 02:53:31 +00:00
elad 87d047b739 Replace securelevel checks with kauth(9) calls. 2006-11-08 00:17:09 +00:00
christos f0f1731b24 Acting as Elad's keyboard:
Place the securelevel checks in their logical locations.
This will be clearer in the future when code changes to use kauth(9) calls.

input and okay ad@
2006-08-23 15:44:29 +00:00
bjh21 279e0fb4d4 There seems to be no good reason for sfbp(4) to be commented out here, and its
state is breaking alpha builds.  I'll uncomment it and see what breaks.
2006-08-17 22:19:13 +00:00
ad d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
ad 3029ac48c7 - Use the LWP cached credentials where sane.
- Minor cosmetic changes.
2006-07-21 16:48:45 +00:00
yamt 6623bf87ee - include kauth.h for kauth_authorize_generic.
- wrap a long line.
2006-05-15 09:25:09 +00:00
elad 2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
skrll a9f4c28a3d Fix a bunch of cast lvalues. 2006-05-10 06:24:02 +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
thorpej c8dd740fd0 Use ANSI function decls, apply static. 2006-03-31 17:39:33 +00:00
he 4fd5d495b6 Correct typo. 2006-03-31 07:34:31 +00:00
thorpej 516792c317 Use device_private() more. 2006-03-30 18:16:20 +00:00
thorpej 6ecb4ef75f Liberally apply static. 2006-03-30 18:14:37 +00:00
thorpej 07c30f824f Use device_private(). 2006-03-30 16:09:28 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
yamt 6bba73019a use VM_PAGE_TO_PHYS macro. 2005-12-08 22:41:44 +00:00
kleink 3b3dbbe727 Fix AUDIO_DEBUG printf formatting of size_t; from Pavel Cahyna in
PR kern/32207.
2005-12-02 19:26:14 +00:00
drochner 46ed4b50c4 s/locdesc_t/int/g 2005-08-26 12:42:11 +00:00
drochner 096c3e1d2c kill some more simple submatch() functions, use config_stdsubmatch() 2005-08-26 10:13:05 +00:00
drochner fa3cb84d62 replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
he beb03e4d32 Add __UNVOLATILE() to a cast when calling memset() to appease -Wcast-qual. 2005-06-08 22:33:56 +00:00
drochner c7783422f3 avoid "volatile" cast-aways 2005-06-02 13:11:39 +00:00