Commit Graph

196275 Commits

Author SHA1 Message Date
matt 833bb81cc5 add support for autostarting watchdogs (wdog was started by firmware
and can't be disabled).  Add critical pool hooks for kernel tickled
watchdogs.
2011-01-04 01:51:06 +00:00
matt 1cf358c3b4 When determining max/min sym value, ignore ABS symbols which don't
have a type.  This stops ksym thinking that the _KERNEL_OPT symbols
could actually be useful.
2011-01-04 01:40:19 +00:00
matt 9d740604de Switch back to malloc since kmem isn't softintr safe. 2011-01-04 01:37:55 +00:00
matt 1bab34e59d Use LIST_FOREACH when possible. 2011-01-04 01:29:01 +00:00
matt 3bedd50982 Make this support the DS1553 as well. Add support for the centry reg which
newer RTCs seem to have.
2011-01-04 01:28:15 +00:00
matt dfbd1e0d55 Add the new mpc85xx/booke device names. 2011-01-04 01:26:22 +00:00
matt d4c26fdc30 Add a generic Motorola/Freescale i2c driver. This was taken from sandpoint
and heavily modified.  It works on most Freescale PowerPC and ARM SoCs.
2011-01-04 01:24:56 +00:00
pooka 41cdab1b22 Don't try to change the size of non-reg nodes or when vattr doesn't
contain a new size.

from njoly
2011-01-04 00:09:43 +00:00
pgoyette e81a7ec5fd Don't run FP Exception tests under qemu - they don't work.
While here, properly skip certain tests on vax architecture.  (It is
not legal to have a test-program with zero test cases, so each test
case needs to check-and-skip.)
2011-01-03 20:51:26 +00:00
pgoyette 39d0f69cf4 Ooopppsss - locale/ tests are not yet ready - don't SUBIDR yet 2011-01-03 19:25:48 +00:00
skrll 9ed174ca8e Reformat comment. 2011-01-03 19:20:11 +00:00
pgoyette 758e17089c Atf-ify the atexit test 2011-01-03 19:01:47 +00:00
stacktic 5df88f3e65 Fixed strvisx usage 2011-01-03 18:55:41 +00:00
pooka 7766a79555 kqueue signal filters are not supported, so be explicit about it. 2011-01-03 14:57:06 +00:00
pgoyette c29feb97f6 Apparently, the ad.{MACHINE_ARCH} files are not processed when
${MACHINE} == ${MACHINE_ARCH}

So rename the files for affected ports accordingly.

This is confirmed to fix build breakage on port-i386 reported by
gson@ gson.org in private Email thread.
2011-01-03 14:07:10 +00:00
pooka a27f30410a update comment 2011-01-03 13:22:32 +00:00
drochner bccb285ad5 destroy mutex/cv before freeing the struct holding them, fixes
LOCKDEBUG panic
2011-01-03 13:12:40 +00:00
wiz 23e235307b Fix usage (8th bit begone!) 2011-01-03 12:18:25 +00:00
roy dc958ff77d Document import of dhcpcd-5.2.10 2011-01-03 11:35:04 +00:00
roy 160a96b3e7 Don't build the getline shim anymore as the NetBSD libc getline(3) has
proven itself now.
2011-01-03 11:33:44 +00:00
roy 0524c4d0bb Import dhcpcd-5.2.10 with the following change:
* -r, --request <address> now works again
2011-01-03 11:28:23 +00:00
pooka 6fd00c3f62 Add -c to control the number of CPUs configured in the kernel. 2011-01-03 10:44:40 +00:00
pooka a5f859dbc3 use rawpart 2011-01-03 09:39:46 +00:00
pooka f0b543beba make this work when rawpart != d 2011-01-03 09:37:42 +00:00
pooka 3f6d82acd0 Give this a chance of working on non-4kB pagesize.
from martin's sparc64 test run
2011-01-03 09:35:33 +00:00
dholland 41d09f7800 remove another extraneous static 2011-01-03 09:14:21 +00:00
dholland 9b8984c0e1 fix this properly. 2011-01-03 09:10:54 +00:00
jruoho 6a3b9e2cde Scan for devices that are "hot-pluggable". 2011-01-03 08:50:23 +00:00
tsutsui ee16ecf67d Add (commented out) options MODULAR. Confirmed working on XM6i. 2011-01-03 06:15:16 +00:00
tsutsui a9ce633ac2 Xref module(7) in comments. 2011-01-03 06:07:42 +00:00
agc 70fd33655d avoid a double free - from Anthony Bentley. 2011-01-03 05:34:53 +00:00
tsutsui 7790fd94ea Enable options DDB. Ok from isaki@ 2011-01-03 03:43:22 +00:00
christos 00a6054507 PR/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int 2011-01-03 02:53:15 +00:00
pgoyette 2b4410ab94 The servent test has been atf-ified 2011-01-03 00:55:18 +00:00
pgoyette 83238dfab4 Remove atf-ified tests: servent protoent md5sha 2011-01-02 22:10:23 +00:00
pgoyette b159198e21 Sets list magic for the servent/protoent/hash tests 2011-01-02 22:06:40 +00:00
pgoyette 728b11b751 Add the new directory for hash test data 2011-01-02 22:04:45 +00:00
pgoyette 6c188c10e6 Atf-ify servent and protoent tests, and the remaining hash test. 2011-01-02 22:03:25 +00:00
wiz 7487051d3d Prefix section headers for 1 to 9 with "NetBSD " to match output
for non-HTML pages (i.e. groff ones). Noted by njoly.
2011-01-02 22:03:24 +00:00
pgoyette ddf58095f4 If we survive the check for wrong signal code, reset our expectation to
"pass" before checking the signal errno.
2011-01-02 21:39:24 +00:00
jakllsch 71481e188f Zero the in-memory super block after allocation. It contains a pointer
that, if not properly initialized, could be improperly deallocated.
2011-01-02 21:37:01 +00:00
pgoyette 895e2a77b2 Fix $NetBSD$ keyword 2011-01-02 21:34:00 +00:00
christos a8ca318180 avoid cloberring warning. 2011-01-02 21:17:19 +00:00
christos d232460a0a kern/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int 2011-01-02 21:03:45 +00:00
christos 7e1e338bd2 Simplify and avoid kernel segv when the list is NULL. 2011-01-02 20:50:55 +00:00
matt d24d5902b3 Kernels modules are c99 (gnu99) just like the kernel.
Add(move) -std=gnu99 to CPPFLAGS (from COPTS).
2011-01-02 19:24:47 +00:00
tsutsui 6542895ee1 Tidy up common comments. (Yes, too many dup code...) 2011-01-02 18:48:04 +00:00
tsutsui ba49f620d3 Pull code that maps the kernel segment table cache invalidated for 040/060,
to reduce diffs from other m68k ports.

Compile test only. (any working machine for these port?)
2011-01-02 18:39:11 +00:00
pgoyette 16618584e1 One more reference to HAVE_SIGINFO bites the dust 2011-01-02 18:28:36 +00:00
tsutsui d0f75d9074 Pull code that maps the kernel segment table cache invalidated for 040/060,
to reduce diffs from other m68k ports.

Tested on LC630 (with 68LC040) upto single user.
2011-01-02 18:16:59 +00:00