Commit Graph

147280 Commits

Author SHA1 Message Date
thorpej
eff718846c Move all of the locking compatibility definitions into prop_object_impl.h. 2006-05-18 16:23:55 +00:00
thorpej
1eaa09f21d Minor cleanup. 2006-05-18 16:11:33 +00:00
cube
b44ed53c3a There is a precise syntax for CHANGES entries, and they're added at the
end of the file, not at the top.  [hi elad!]
2006-05-18 15:38:00 +00:00
tsutsui
373ffecde6 Add bus_space_*_stream_N() macros, which are identical with non-stream ops. 2006-05-18 15:37:05 +00:00
christos
ca130c6a90 Explicitly mention that telldir values are only valid for the lifetime of
the DIR pointer. Pointed out by Klaus Klein.
2006-05-18 15:30:36 +00:00
tsutsui
68617d79ff Enable options MIIVERBOSE. 2006-05-18 14:45:28 +00:00
yamt
b861e24c71 - fix some leaks in nfsd, introduced by kauth changes.
- simplify code.
- add some assertions.
- wrap some long lines.
- remove an unnecessary ";".
2006-05-18 12:44:45 +00:00
yamt
b5420599d2 timers_alloc: use PR_WAITOK. 2006-05-18 10:09:12 +00:00
yamt
635dba4477 - nfs_export_unmount: don't forget to free exports.
- rename clear_exports for consistency.
2006-05-18 10:07:34 +00:00
liamjfoy
4876c304b1 Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@
2006-05-18 09:05:49 +00:00
thorpej
3e69f1b2a5 - Add prop_array_equals(), prop_dictionary_equals(), and
prop_dictionary_keysym_equals(), and prop_object_equals() functions.
- Use realloc() where it makes sense.  There will be more changes in this
  area.
- Add a _prop_object_type structure that is used internally to keep
  information about the object types.  Decreases the footprint of the
  objects slightly by replacing several pointers with just one.
2006-05-18 03:05:19 +00:00
rpaulo
25ff2bc882 Replace the way we calculate the standard deviation with the unbiased form
for non-related samples. There are several websites that explain why we
should use this form instead of the normal formula to compute the std. dev.
(Wikipedia is one of them).
Also, ping(8) (where this "new" formula came from) already does it this way
so, I'm trying to score some extra points by making both utilities behave
the same way.

Thanks to wrtstuden@ for the initial clarification.
2006-05-18 02:14:22 +00:00
perseant
758cf626b4 Don't duplicate the LFS_STARVED_FOR_SEGS check (an oversight that came
in with rev 1.210).
2006-05-18 00:57:13 +00:00
rpaulo
83dc99da2a There are no broadcast addresses in IPv6, so, kill a leftover from the
ping(8) man page.
2006-05-18 00:50:08 +00:00
drochner
b5a3ca8ded remove a typecast in a macro which is used on the LHS. gcc4 doesn't like it 2006-05-17 21:35:45 +00:00
drochner
8c3c619453 Define some fixed bus addresses as "Unsigned Long" instead of
"Long Long" -- gcc4 propagates the "long long" along the way and
complains about mismatches to "long".
This is the same on alpha, but the conflict is unnecessary, so avoid it.
2006-05-17 21:32:59 +00:00
christos
441afb8953 Add regression tests from PR/24324 by Arne H Juul 2006-05-17 21:12:23 +00:00
christos
cfd3aebca4 PR/24324: Arne H Juul: Re-implement seekdir/telldir using a pointer of
locations per directory instead of a global hash table to avoid memory
leak issues, and incorrect results.
2006-05-17 20:36:50 +00:00
christos
54595e9946 rename dd_rewind to dd_internal so that it can be re-used to implement
telldir/seekdir/rewinddir differently. While there change the prototype
to telldir to take a non-const DIR, per:
http://www.opengroup.org/onlinepubs/009695399/basedefs/dirent.h.html
2006-05-17 20:32:19 +00:00
perseant
48e300c97f Don't be quite so eager to error out from lfs_putpages() when pages are
busy; if we've sensed a possible 3-way deadlock and are not the pagedaemon,
relock and try again.
2006-05-17 19:47:09 +00:00
riz
737a435e3a Mark specific manpages, catpages, and info files as "gcccmds", so that
a "distribution" build with MKGCCCMDS=no and any of MKCATPAGES, MKMAN, and
MKINFO set to yes can still succeed.

Tested with two distribution builds of i386; one with MKGCCCMDS=no and
one without.
2006-05-17 19:41:34 +00:00
drochner
65f32e5703 Make the optimizer use unsigned numbers as the kernel does.
While it is not agreed on that purely unsigned arithmetics is nice,
different behaviour of optimized and unoptimized code is less desirable.
2006-05-17 17:48:36 +00:00
drochner
9b1794e109 libpcap is at 0.9.4, and so are we
tcpdump ts at 3.9.4 (we are behind here)
2006-05-17 17:36:32 +00:00
tsutsui
d6eeae4a4e Add definitions for the PCI timeout and retry register. 2006-05-17 17:31:55 +00:00
christos
2f5d3a02e9 Remove csu hack. It was not a gcc issue. 2006-05-17 17:09:43 +00:00
christos
065d43d6c4 Revert previous changes which are unnecessary now the _DYNAMIC is marked
weak.
2006-05-17 17:08:54 +00:00
christos
e08e654f06 Mark _DYNAMIC to have attribute __weakref__, so that gcc-4 does not optimize
&_DYNAMIC == NULL away. From Matt Thomas.
2006-05-17 17:08:07 +00:00
christos
f32828209d Back out accidental commit that changed -I- 2006-05-17 17:02:16 +00:00
christos
6f1784f6d3 Fool gcc to compare against a null variable instead of the NULL constant
so that it does not optimize the &_DYNAMIC == NULL away. Idea from Matt.
2006-05-17 17:01:12 +00:00
christos
86c6d5fcc9 mention i386 csu issue. 2006-05-17 16:42:59 +00:00
christos
94b00d6e09 Avoid weak symbol related bug with _DYNAMIC not being referenced in the
code at all for gcc-4. Fixes statically linked binaries, but the fix is
bogus.
2006-05-17 16:39:25 +00:00
tron
6f601486c0 Put "mm_malloc.h" into GCC 4.x specific set. 2006-05-17 15:07:05 +00:00
christos
2854829efb Remove dup Hitler fortune. One of the two fortunes I moved yesterday, was
already in the offensive set. From a NetBSD fan who prefers to be anonymous.
2006-05-17 14:47:58 +00:00
tron
b1a151a8e4 Add lmtemp(4) manual page. 2006-05-17 14:05:52 +00:00
gdamore
4ce6c587eb Move comment with caveats about this driver, and make it more prominent, as
requested by simon@.
2006-05-17 07:11:48 +00:00
gdamore
2dc15aaa84 Initial swag at flash device support. Only read/write supported, and only
read is tested now.  (I don't have a recovery option if I clobber flash on
write, so I'm loathe to test write access right now.)
2006-05-17 06:42:06 +00:00
mrg
93f5fae775 generate arm (little endian) mknative files. "evbarm" release builds,
but this is 100% untested yet.
2006-05-17 05:52:38 +00:00
mrg
e172949eb7 regenerate 2006-05-17 05:33:36 +00:00
mrg
2a25c77f5b turn on -Wno-pointer-sign for label.c. 2006-05-17 05:24:25 +00:00
mrg
c1c5286e41 make xscale_pmnc_write() return void, rather than returning an
uninitialised value that is not used by any caller.
2006-05-17 05:16:09 +00:00
mrg
663096a642 remove 'inline' from the xxx_do_pending() function that is called from
external sources, and conflicts with it's prototype.
2006-05-17 05:15:26 +00:00
mrg
b6779d7cc2 in initarm(), initialise kernel_l1pt.pv_va as well as kernel_l1pt.pv_pa. 2006-05-17 04:22:46 +00:00
mrg
d7a5ec3490 install new header mm_malloc.h that the mmx/sse headers use now.
fixes 3rd party app build problems reported by dogcow@.
2006-05-17 03:29:45 +00:00
mrg
4e2cace64a quote variables in the gmake version of getvars() so that stuff that
looks like (FOO|BAR) works.
2006-05-17 03:27:19 +00:00
mrg
5d136667c4 configure-libiberty is only good for GCC4.
move a comment next to it's code.
2006-05-17 03:26:37 +00:00
kiyohara
005a7b1437 Add man page for lmtemp(4). 2006-05-17 00:28:02 +00:00
kiyohara
43911ef4e2 Support LM77 Temperature. 2006-05-17 00:10:54 +00:00
pavel
dbbc553deb Disable hw VLAN tagging, in a similar way that it was done in OpenBSD
(src/sys/dev/ic/re.c rev. 1.15). The disabled VLAN stripping is mine.
(The OpenBSD driver forgot to do this.)

The reason is that untagged packets get sometimes tagged incorrectly.
PR 32643.

Approved by martin@.
2006-05-16 22:39:24 +00:00
dogcow
0cbf19486a obsoletes should have obsolete, not .cat or .man 2006-05-16 21:51:34 +00:00
mrg
fc6ae28683 redo the previous. GCC4 wants both pv_pa and pv_va initialised. 2006-05-16 21:39:26 +00:00