Commit Graph

552 Commits

Author SHA1 Message Date
drochner bb33f35f20 Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
2008-02-20 21:43:33 +00:00
joerg ed2c6fd85b Register assym.h dependencies. 2008-02-18 13:29:46 +00:00
joerg e69482d49d Introduce device_find_by_xname and device_find_by_driver_unit to replace
alldevs iterations all over src.

Patch discussed with and improved on suggestioned from cube@.
2008-02-12 17:30:57 +00:00
chris 67bda63986 Add an arm/conf/std.arm file which contains common arm options, initially
just options CPU_IN_CKSUM.

Include std.arm in all arm platform std files.

This should reenable the asm in_cksum code for all arm platforms.

Also remove the now unused in_cksum_arm.S.
2008-01-27 12:37:10 +00:00
joerg 3615cf7715 Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.
2008-01-20 18:09:03 +00:00
chris 131e68c2e1 Remove arm support for IPKDB.
It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
2008-01-19 13:11:09 +00:00
matt 6bc0c58216 As of this commit, all arm32 kernel now build. 2008-01-08 02:07:50 +00:00
ad 2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
ad 4b293a84e1 Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
2007-12-03 15:33:00 +00:00
kiyohara a1297d6f3f Add bcsp(4). 2007-12-02 05:19:11 +00:00
peter f27028f22e Call callout_init before callout_stop. 2007-10-26 10:39:40 +00:00
yamt 23005df1e0 defparam PAGER_MAP_SIZE. 2007-10-25 13:03:03 +00:00
garbled d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
kiyohara 7fbebc4263 Add btbc(4). 2007-08-20 00:54:41 +00:00
tsutsui 917f2a088f Fix typo in debug printf. 2007-08-08 10:43:03 +00:00
ad 63811f5275 Generic soft interrupts are mandatory. 2007-07-14 21:48:17 +00:00
he f39d28c4bf Adapt to the new signature of callout_init(). 2007-07-12 22:02:38 +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
toshii df9ef2605f Quick and dirty fix for hpcarm build failure, using hpcarm specific
softintr code for now.
2007-07-01 16:04:57 +00:00
jnemeth 3377bd5221 PR/36234 - Joerg Niendorf -- xi -> xirc 2007-05-07 09:02:05 +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
kiyohara 11c9c998db Add btuart(4). 2007-03-01 14:57:38 +00:00
ad b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
ichiro 966d923382 move devices entry to MD/conf/files.*
catch up to current kernel configuration
2007-01-08 16:21:45 +00:00
yamt 8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
wiz 6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +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
jmmv 7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
bjh21 ed5db5831e boot_file is not used by generic NetBSD/arm code, and its type varies by
MACHINE.  Thus, move it out of <arm/bootconfig.h> and put it into
<machine/bootconfig.h> on those MACHINEs (cats, hpcarm, and shark) where
it's used outside the file in which it's defined.
2006-10-26 23:31:47 +00:00
bjh21 65d685fe36 Use <arm/bootconfig.h>. 2006-10-24 20:39:13 +00:00
peter 4c87aba921 Enable MI todr(9) and timecounter on hpcarm. 2006-10-23 21:12:42 +00:00
peter 677fb8d602 Backout audio changes that crept in (not ready yet). 2006-10-07 14:27:54 +00:00
peter 5231df85b3 Add support for touches on the HP hard icons, mostly copied from hpcsh but
also with support for raw kbd (for X).

No objection on port-hpcarm.
2006-10-07 14:09:07 +00:00
peter 8795f0e08d Remove the config hook for handling the lcd light, this is now handled by
the powerhooks.
2006-10-07 14:04:09 +00:00
peter 58b4265bc6 Listen for "suspend button" events and do a suspend request to hpcapm when
we receive such event.

No objection on port-hpcarm.
2006-10-07 14:02:09 +00:00
peter c0a37e6e11 Some cleanup in the comments, simplify some code. 2006-10-07 13:53:24 +00:00
peter f151a2cf07 Add sleep function holder and call it in machine_sleep (from hpcsh). 2006-10-07 13:50:16 +00:00
peter 46fa45bd12 Remove an unused function. 2006-10-07 13:42:17 +00:00
chs e8295642bd remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
cube 155a80cb76 A local change crept in when it wasn't meant to, I suppose. [hi rjs!] 2006-09-29 16:39:27 +00:00
rjs 0107b5e769 ANSIfy. 2006-09-28 09:06:05 +00:00
rjs f99ba5e550 ANSIfy and fix missed proc -> lwp conversion. 2006-09-28 09:03:46 +00:00
manu f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
rjs 7741a20ae9 Make it compile with gcc4. 2006-09-26 16:35:26 +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
bjh21 e10108c7f2 Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere. 2006-09-03 13:51:23 +00:00
christos e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
drochner 84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
peter a93b4acd14 Nit: The silicon revision level is in bits 7:4, so we must right shift
by 4 bits.  Also removed an unneeded include.
2006-07-09 14:47:30 +00:00
peter 0c9a60ff27 Hide the bit invertion/shifting of values received from and send to the MCU
inside the j720ssp_readwrite function. This simplifies the calls to this
function a little.
2006-06-27 14:36:50 +00:00