Commit Graph

502 Commits

Author SHA1 Message Date
matt 045e8178c9 Add some missing includes of <sys/device.h> 2011-02-20 08:03:22 +00:00
uebayasi 8184d5dc03 Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
uebayasi 8c8c5ca481 Include uvm/uvm.h to access UVM internal. 2010-11-06 10:58:12 +00:00
skrll 162991256a Spell immediately correctly. 2010-11-02 20:49:47 +00:00
tsutsui a9edf8145e Clear RI_NO_AUTO in actual attach functions during autoconf(9)
for console devices that set the flag during consinit().
2010-05-15 08:53:26 +00:00
tsutsui 83f23f325b Set RI_NO_AUTO in ri_flg if *fb_common_init() is invoked from cnattach.
Untested.
2010-05-15 07:01:37 +00:00
tsutsui ccc34e8d3e u_intNN_t -> uintNN_t 2009-08-22 17:38:06 +00:00
tsutsui 9f1ba3c402 MALLOC() -> malloc() 2009-08-22 17:36:12 +00:00
tsutsui 1a3bfa5100 Use volatile on device register access. 2009-08-20 12:55:26 +00:00
cegger 7cf2991222 struct device * -> device_t, no functional changes intended. 2009-05-12 14:38:26 +00:00
cegger d16a259fe3 struct cfdata * -> cfdata_t, no functional changes intended. 2009-05-12 13:15:24 +00:00
tsutsui d779b85d3e Remove extra whitespace added by a stupid tool.
XXX: more in src/sys/arch
2009-04-18 14:58:02 +00:00
cegger e2cb85904d bcopy -> memcpy 2009-03-18 17:06:41 +00:00
cegger c363a9cb62 bzero -> memset 2009-03-18 16:00:08 +00:00
jnemeth 5d551dd0c7 add a comment explaining how to regenerate tcdevs.h and tcdevs_data.h 2009-01-21 14:34:18 +00:00
he 556cce3113 Follow up on the removal of MALLOC(), use malloc() instead. 2008-12-27 10:23:54 +00:00
cegger 9b87d582bd kill MALLOC and FREE macros. 2008-12-17 20:51:31 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
gmcgarry 0de5da9678 Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
preprocessor macros.
2008-09-08 23:36:53 +00:00
joerg 85d049a760 - device/softc split
- make sfbplus at least compilable
2008-07-09 13:19:33 +00:00
tsutsui d1336c20ea Use device_lookup_private() to get softc.
XXX this driver assumes cf_unit is always zero
2008-06-11 16:46:11 +00:00
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