Commit Graph

170222 Commits

Author SHA1 Message Date
christos
3af4b27011 KNF, whitespace, b* -> mem*. No functional change. 2008-05-24 16:28:58 +00:00
christos
be2cd377db Coverity CID 5028: Fix memory leak. 2008-05-24 16:04:15 +00:00
njoly
c188bc4dd4 Fix netbsd32_ipc_perm and netbsd32_shmid_ds structures to use correct
types.
2008-05-24 16:02:44 +00:00
christos
9842feccf0 Coverity CID 5029: Fix memory leak. 2008-05-24 15:59:59 +00:00
christos
2fa9c865b5 Don't code using side-effects (eliminate queue variable). Unconfuses Coverity
CID 5031.
2008-05-24 15:55:13 +00:00
christos
54cf942f77 Coverity CID 5034: Use after free. Restructure the code to simplify it and
print the error.
2008-05-24 15:45:58 +00:00
bouyer
c8e9dd1af4 G/C dead code: remove now-unused softintr-related code. 2008-05-24 15:10:50 +00:00
bouyer
d491d792fd Remork the C implementation of spllower() in evtchn_do_event(), so that
callbacks are always called in decreasing IPL order. Although it's not
strictly a bug, it makes the code easier to read, and avoids processing
the whole IPL range several times.
2008-05-24 15:09:34 +00:00
mlelstv
217da3ad75 don't free input buffer repeatedly during non-whitespace hunt 2008-05-24 14:45:46 +00:00
yamt
75b1a2ec18 fix recursive read-lock bugs found by lockdebug and reported
by Geoff C. Wing and others.  ok'ed by Jason Thorpe.
an earlier version was tested by Sverre Froyen.
PR/38732 from oster@.
2008-05-24 14:32:48 +00:00
tron
97eb62abf7 Make sure that we flush the NFS directory cache in case of an NFS mount
using the translate cookie option during unmount. This fixes PR kern/38100.
Patch suggested by Michael van Elst during Hackathon 11.
2008-05-24 14:29:18 +00:00
yamt
6787eedebd revert the recent "use trylock to hide locking errors" changes
and their associated changes, in particular, the following versions.
	prop_array.c		1.13-1.16
	prop_dictionary.c	1.25-1.28
	prop_object_impl.h	1.21-1.25
ok'ed by core@.
2008-05-24 14:24:04 +00:00
yamt
9b5a328100 use designated initializers for ttydefchars. 2008-05-24 14:06:39 +00:00
ad
25866fbff7 Set cpu_onproc on entry to the idle loop. 2008-05-24 12:59:06 +00:00
ad
be6b674555 These work with SCHED_4BSD now. 2008-05-24 12:57:00 +00:00
martin
c5f18ae1d0 PR install/38604: when chosing "use existing partitions", and the old
label looks like an autogenerated "whole disk" label, make sure that
we adjust the 'a' partition when we create an MBR that does not start
right at the start of the disk. Also when we force this partition to be
mounted, init it's mount point to / and force a newfs.
2008-05-24 11:06:53 +00:00
ginsbach
9a7780f955 Use ${TOOL_SED} instead of sed. 2008-05-24 02:56:55 +00:00
ad
f82d7874c2 A dumb test of how long it takes to send a byte through a pipe, using
timeshared threads and realtime threads.
2008-05-23 22:22:36 +00:00
jnemeth
96f8d450e2 add siisata(4) -- SiI SteelVine SATA2 2008-05-23 21:17:39 +00:00
jnemeth
3f1ee498b5 Import siisata(4) by Jonathan A. Kollasch.
The siisata driver supports the Silicon Image SteelVine family of SATA-II
     controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
     systems.

     The following controllers are supported by the siisata driver:

           Silicon Image SiI3124 4-port PCI/PCI-X
           Silicon Image SiI3132 2-port PCI-Express x1
           Silicon Image SiI3531 1-port PCI-Express x1

     SATA Native Command Queueing is not yet supported.
     Device hot swapping is not yet supported.
     Silicon Image's Software RAID is not yet supported by the
             ataraid(4) driver.

Approved by: core (christos), releng (bouyer)
2008-05-23 21:11:40 +00:00
tsutsui
31d6cdf996 Add simple help messages for MD machine commands on ddb(4).
PR port-mips/38306
2008-05-23 17:01:32 +00:00
spz
2c2348b398 add a syntax hint for the recently added tftp capability in ofwboot.net 2008-05-23 15:25:25 +00:00
he
a1991936ab Also delete a now-unused local variable. 2008-05-23 14:10:50 +00:00
isaki
5fc34baa9d Catch up with device_t/device_xname changes on MI USB part. 2008-05-23 13:27:40 +00:00
isaki
aedad66a44 Initialize IPL_SERIAL. Analysed by tsutsui@.
Fixed kern/38684 (and other many panics).
2008-05-23 13:07:44 +00:00
wiz
d07f1e1727 Sort variables. 2008-05-23 13:06:40 +00:00
wiz
643fc5bd81 Improve markup, remove trailing whitespace and empty section. 2008-05-23 13:05:09 +00:00
hauke
215d0dd444 Fix NetBSD version tag. 2008-05-23 10:46:10 +00:00
lukem
d7f96a288b Add entries for cpi(4).
(Hi hauke@ !)
2008-05-23 00:20:37 +00:00
he
3b5e9e1519 When MAKEVERBOSE >= 2 (or if unset, by default), let list_set_files()
echo all the set list component file names to stderr, so they end
up in the build log.  This is to make it slightly easier to find
a suitable file to fix when the set lists need fixing.

Discussed with lukem.
2008-05-22 22:56:40 +00:00
martin
eaf850b754 Better support for "strangely" formatted 3 clause UCB licenses 2008-05-22 22:28:08 +00:00
dyoung
132e9baecf Cosmetic: join lines. 2008-05-22 22:25:05 +00:00
rjs
299a890abf Add call to pic_init(). Spotted by garbled. 2008-05-22 20:56:24 +00:00
hauke
b4529683e5 Install Hurdler CPI man page. 2008-05-22 19:51:48 +00:00
hauke
f5ede5dc2e Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.
2008-05-22 19:49:43 +00:00
martin
1f2b983e85 Reorder postporcessing: move the more intelligent transformations first,
then the dumb replaces.
Special case the openssl mkerr.pl script which has code that prints a
license.
2008-05-22 17:05:49 +00:00
he
6ac0267475 Export NETBSDSRCDIR from make, and use it to point at
sys/conf/osrelease.sh, so that the script is found when building
with -O is given to build.sh.

Discussed with lukem.
2008-05-22 14:48:42 +00:00
lukem
6258c039ac Compile in LDAP if ${USE_LDAP} != "no".
XXX: untested.
2008-05-22 14:45:42 +00:00
lukem
3ece9bfe0a OpenLDAP client libraries, utilities, and relevant manual pages. 2008-05-22 14:24:42 +00:00
lukem
d974160208 Add missing prototypes.
(I don't know why am-utils doesn't use header files for public prototypes)
2008-05-22 14:22:28 +00:00
lukem
2de962bd80 OpenLDAP 2.4.9 2008-05-22 14:20:36 +00:00
lukem
fe8ce90e3d Add entry for OpenLDAP. 2008-05-22 14:19:25 +00:00
lukem
8f975a405a Tie in ../external/lib after the "2nd" dependency barrier.
Move libpam to after a "3rd" dependency barrier, since PAM modules
may depend upon external/lib libraries such as libldap.
2008-05-22 14:16:11 +00:00
lukem
1a34d8be07 Descend into external.
Add 'do-external-lib' target to build external/lib "early"
2008-05-22 14:13:58 +00:00
lukem
c24fbc8d24 Descend into lib & bsd 2008-05-22 14:12:32 +00:00
lukem
20758608e1 Makefile to build various external/*/*/lib "early" in the build. 2008-05-22 14:12:21 +00:00
lukem
1b6b1060cc MKLDAP, USE_LDAP 2008-05-22 14:09:27 +00:00
he
4ff90c621b Add support for optionally setting some environment variables before
starting ${command}, via ${name}_env.

Discussed with lukem.
2008-05-22 14:03:26 +00:00
lukem
7eccc37b28 Descend into openldap 2008-05-22 14:02:24 +00:00
lukem
e77448e07b NetBSD reachover build framework for OpenLDAP.
Inspired by framework kindly donated by Wasabi Systems.
2008-05-22 13:57:46 +00:00