Commit Graph

175306 Commits

Author SHA1 Message Date
pooka
b5321c4efc document modular. no functional change. 2008-11-21 07:34:46 +00:00
he
b8ed284744 Only include opt_* headers under _KERNEL_OPT. 2008-11-21 06:57:35 +00:00
he
c132c098c7 Don't define struct grf_softc unless _KERNEL is defined, because it
depends on struct device which is also not defined unless _KERNEL is
defined.  Fixes usr.sbin/videomode build.
2008-11-21 06:11:11 +00:00
pooka
945e7d735e rump_vfs_load -> rump_module_load 2008-11-21 06:10:15 +00:00
pooka
bedcc68e65 rump_vfs_load() is really rump_module_load(), so call it that and
move it from rumpvfs to rumpkern.
2008-11-21 06:09:51 +00:00
pooka
9c035d43d1 dlerror() resets the error message, so save it since we want to
access it twice.
2008-11-21 06:07:23 +00:00
jnemeth
e971cab0ab fix build in _STANDALONE case 2008-11-21 03:23:43 +00:00
matt
4de7478cea Make lint happy (stupid lint). 2008-11-21 01:58:41 +00:00
he
4b10ac9fb3 Rename sendsig() to sendsig_siginfo(), so that we don't conflict
with the newly added sendsig() in kern_sig.c.
2008-11-21 01:57:33 +00:00
matt
c98b2a2f4e Add a commented out option of PROCESS_ID_IS_CURCPU 2008-11-21 00:18:57 +00:00
matt
0ad7281825 Add new ptree (Patricia / RADIX tree) implementation to NetBSD. 2008-11-20 23:50:08 +00:00
cliff
e3d7c50f06 add gpio driver 2008-11-20 23:31:35 +00:00
cliff
063fc09eca evaluate RMCR correctly for single proc gemini 2008-11-20 23:27:10 +00:00
phx
1872c0f94c Applied a patch from Roman Zippel to fix jump table addressing in the M68k
codegen.

Taken from the gcc mailing list January 2007:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg02476.html

2007-01-30  Roman Zippel <zippel@linux-m68k.org>

        * config/m68k/m68k.c (output_move_himode)
	config/m68k/m68k.md: remove jump table recognition
	* config/m68k/m68k.c (ASM_OUTPUT_CASE_FETCH): use simple pc
	relative addressing

Approved by Christos Zoulas, Alistair Crooks and Matthew Green.
2008-11-20 22:53:17 +00:00
martin
53e6514de6 remove duplicate prototype (sys/signalvar.h is authoritive) 2008-11-20 22:50:52 +00:00
cliff
5aec566f7e add GPIO driver for Gemini 2008-11-20 22:36:36 +00:00
dyoung
a38f380ef4 Update comment for last. 2008-11-20 21:55:15 +00:00
dyoung
67852fcbc2 In the new ifioctl order, tun_ioctl() can call itself through
ifioctl_common().  Since the first tun_ioctl() call already holds
the simplelock, the second tun_ioctl() call will wait forever to
acquire it: deadlock.

To fix this, wait to acquire the lock until tuninit().
2008-11-20 21:54:42 +00:00
jdc
7892af0d0c Read the chip revision from the Sbus register. 2008-11-20 20:56:56 +00:00
jdc
7c6c93a6fb Note root partition size limitations on certain sparc and sparc64 models
(taken from the boot(8) manual pages).
2008-11-20 20:52:17 +00:00
cliff
c20cc9bcb9 use CFATTACH_DECL_NEW, make device in softc type device_t, etc. 2008-11-20 20:23:04 +00:00
hans
6e50d3937a Fix unibus interrupts on SBI machines. OK by matt. 2008-11-20 17:08:03 +00:00
tsutsui
0fe756618b It looks the ARC BIOS has another limit which prevents loading
a kernel larger than 8MB (it is not emulated by gxemul BTW),
so disable several devices in GENERIC and shrink RAMDISK kernel again
by sprinkled "no" keywords etc.
2008-11-20 13:57:09 +00:00
tsutsui
d02a8caa63 Use vt100 rather than wsvt25 for TERM since the latter makes
both FG/BG colors white during sysinst on Express5800/230 with tga(4).
2008-11-20 13:43:28 +00:00
njoly
f924710dd2 Fix mdoc warning: Empty input line. 2008-11-20 13:31:11 +00:00
tron
709a35c482 Make it possible to compile a kernel with COMPAT_NETBSD32 but without
COMPAT_40. This fixes PR port-amd64/39967.
2008-11-20 11:56:40 +00:00
ad
5b4bafc85a typo 2008-11-20 11:01:54 +00:00
ad
96c1610fd0 exec_aout module:
- compat_exec.c belongs here, not in compat.
- Make COMPAT_NOMID work in here.
2008-11-20 10:54:38 +00:00
ad
8551373dea Put the COMPAT_NOMID stuff into its own file. 2008-11-20 10:53:08 +00:00
jnemeth
4e826d168f regen for Corega CG-USBRS232R 2008-11-20 10:51:51 +00:00
jnemeth
55a2353845 PR/39971 - SHIMAOKA Shunsuke -- Recognize Corega CG-USBRS232R as a
serial device.
2008-11-20 10:50:42 +00:00
wiz
d01551648e End sentence with a dot. 2008-11-20 10:33:24 +00:00
ad
56e065b970 Oops, make these build. 2008-11-20 10:22:11 +00:00
jnemeth
8a3145769f PR/39958 - Joerg Niendorf -- grammar and Xref fixes 2008-11-20 10:09:06 +00:00
ad
8cd20f56b2 Autoload accept filter modules. 2008-11-20 10:00:54 +00:00
ad
226bc85b61 Rename the accept filter modules to make module name match filter name. 2008-11-20 09:58:45 +00:00
ad
5c14324942 port-amd64/39963 modules/compat_netbsd32: missing symbols on amd64 2008-11-20 09:30:32 +00:00
ad
1ab7ca8fdc PR port-amd64/39964 modules/compat_linux: missing symbols on amd64 2008-11-20 09:26:06 +00:00
ad
11c98a4abf PR port-amd64 modules/compat missing symbols on amd64
Also, test for compat_??_machdep.c so we don't have to grow more ifdefs
in the makefile.
2008-11-20 09:22:57 +00:00
wiz
b2cdc6d356 New sentence, new line; add commas; use Aq; only use Xr for existing man pages. 2008-11-20 09:07:09 +00:00
wiz
68df25679c Ox only takes one argument, break line after version number. 2008-11-20 09:06:44 +00:00
cliff
c55c9be57e add driver for low level inter-processor-interrupt
provides functions for establish/disestablish IPI ISR,
and function to signal IPI to the other CPU.
2008-11-20 08:02:48 +00:00
cliff
dda2ff2367 add bootstrap ttbl and devmap entries for DRAM Controller
and sanity check memory remap reg to catch possible
mismatch between boot firmware remapping and kernel MEMSIZE, etc.
2008-11-20 07:49:54 +00:00
cliff
b3224e5f51 add memory remap and inter-processor-interrupt register defines 2008-11-20 07:47:06 +00:00
cliff
16cd61f5e8 use __HAVE_FAST_SOFTINTS now 2008-11-20 07:45:37 +00:00
yamt
bd2755f5a1 pollcommon: use a more appropriate type than char[]. 2008-11-20 01:25:28 +00:00
cegger
f20e076be5 take ecoff header for ecoff code. 2008-11-20 00:28:07 +00:00
joerg
27024ae7a6 Push functionality to deal with existing inode records into a separate
function.
2008-11-20 00:17:08 +00:00
cegger
89ba8d828a make this compile (for next68k) 2008-11-19 23:31:13 +00:00
cegger
3db4119e84 build fix: include <sys/buf.h> 2008-11-19 23:04:34 +00:00