]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agofix include path
sam [Tue, 13 Dec 2005 22:15:09 +0000 (22:15 +0000)]
fix include path

18 years agoupdate
sam [Tue, 13 Dec 2005 22:13:41 +0000 (22:13 +0000)]
update

18 years agofix include pathnames
sam [Tue, 13 Dec 2005 22:12:16 +0000 (22:12 +0000)]
fix include pathnames

18 years agoAdd a script that converts K&R-style function definitions to ANSI style.
des [Tue, 13 Dec 2005 22:09:50 +0000 (22:09 +0000)]
Add a script that converts K&R-style function definitions to ANSI style.

18 years agoOptimize by not doing excessive conversions for handling the sign bit.
bde [Tue, 13 Dec 2005 20:17:23 +0000 (20:17 +0000)]
Optimize by not doing excessive conversions for handling the sign bit.
This gives an optimization of between 9 and 22% on Athlons (largest
for cbrt() on amd64 -- from 205 to 159 cycles).

We extracted the sign bit and worked with |x|, and restored the sign
bit as the last step.  We avoided branches to a fault by using accesses
to FP values as bits to clear and restore the sign bit.  Avoiding
branches is usually good, but the bit access macros are not so good
(especially for setting FP values), and here they always caused pipeline
stalls on Athlons.  Even using branches would be faster except on args
that give perfect branch misprediction, since only mispredicted branches
cause stalls, but it possible to avoid touching the sign bit in FP
values at all (except to preserve it in conversions from bits to FP
not related to the sign bit).  Do this.  The results are identical
except in 2 of the 3 unsupported rounding modes, since all the
approximations use odd rational functions so they work right on strictly
negative values, and the special case of -0 doesn't use an approximation.

18 years agoAssert that the page that is given to vm_page_free_toq() does not have any
alc [Tue, 13 Dec 2005 19:59:09 +0000 (19:59 +0000)]
Assert that the page that is given to vm_page_free_toq() does not have any
managed mappings.

18 years agoMFamd64 rev 1.223: Use the TSC to implement DELAY() if not marked broken
peter [Tue, 13 Dec 2005 19:08:55 +0000 (19:08 +0000)]
MFamd64 rev 1.223: Use the TSC to implement DELAY() if not marked broken
and it has been calibrated.

18 years agoRevert previous commit. The BIOS braindamage is even worse than I
jhb [Tue, 13 Dec 2005 18:29:10 +0000 (18:29 +0000)]
Revert previous commit.  The BIOS braindamage is even worse than I
originally thought.  The BIOS that cleared CPUID_APIC actually managed
to disable the local APIC entirely and even Windows 64 doesn't boot on
it.

Reported by: bz

18 years agoFixed some especially horrible style bugs (indentation that is neither
bde [Tue, 13 Dec 2005 18:22:00 +0000 (18:22 +0000)]
Fixed some especially horrible style bugs (indentation that is neither
KNF nor fdlibmNF combined with multiple statements per line).

18 years agoPrint user, system and real time upon exit.
des [Tue, 13 Dec 2005 17:51:56 +0000 (17:51 +0000)]
Print user, system and real time upon exit.

18 years ago[mdoc] add missing space before a punctuation type argument.
ru [Tue, 13 Dec 2005 17:07:52 +0000 (17:07 +0000)]
[mdoc] add missing space before a punctuation type argument.

18 years agoIn Linux, kernel parameters passed to ioctl are by value, while in FreeBSD
delphij [Tue, 13 Dec 2005 15:32:52 +0000 (15:32 +0000)]
In Linux, kernel parameters passed to ioctl are by value, while in FreeBSD
they are passed by reference.  Handle the difference within the
linux_ioctl_termio on the LINUX_TCFLSH path.

Submitted by: Jaroslav Drzik <jaro_AT_coop-voz_dot_sk>

18 years agoDon't check the CPUID_APIC bit in the cpu_features flags field to determine
jhb [Tue, 13 Dec 2005 15:09:40 +0000 (15:09 +0000)]
Don't check the CPUID_APIC bit in the cpu_features flags field to determine
if the boot CPU has a local APIC because some BIOS vendors are not
competent enough to set this bit.  Instead, just assume that we always have
a local APIC on amd64.  For i386 the check is a bit more subtle.  FreeBSD
requires either an MP Table or an ACPI MADT table to enumerate APICs.  The
only systems that have one of those tables that don't have local APICs are
some presumably rare (and old) SMP 486 systems using external APICs.  Thus,
instead of checking the CPUID_APIC flag, check the CPU class and abort if
we are running on a 486.

MFC after: 1 week
Reported by: bz

18 years agoSort .Xr by section number.
davidxu [Tue, 13 Dec 2005 13:43:35 +0000 (13:43 +0000)]
Sort .Xr by section number.

Submitted by: ru

18 years ago/* You're not supposed to hit this problem */
phk [Tue, 13 Dec 2005 13:23:27 +0000 (13:23 +0000)]
/* You're not supposed to hit this problem */

For some denormalized long double values, a bug in __hldtoa() (called
from *printf()'s %A format) results in a base 16 digit being rounded
up from 0xf to 0x10.

When this digit is subsequently converted to string format, an index
of 10 reaches past the end of the uppper-case hex/char array, picking
up whatever the code segment happen to contain at that address.

This mostly seem to be some character from the upper half of the
byte range.

When using the %a format instead of %A, the first character past
the end of the lowercase hex/char table happens to be index 0 in
the uppercase hex/char table hextable and therefore the string
representation features a '0', which is supposedly correct.

This leads me to belive that the proper fix _may_ be as simple as
masking all but the lower four bits off after incrementing a hex-digit
in libc/gdtoa/_hdtoa.c:roundup().  I worry however that the upper
bit in 0x10 indicates a carry not carried.

Until das@ or bde@ finds time to visit this issue, extend the
hexdigit arrays with a 17th index containing '?' so that we get a
invalid but consistent and printable output in both %a and %A formats
whenever this bug strikes.

This unmasks the bug in the %a format therefore solving the real
issue may both become easier and more urgent.

Possibly related to: PR 85080
With help by: bde@

18 years agoAdd a new feature for optimizining ipfw rulesets - substitution of the
glebius [Tue, 13 Dec 2005 12:16:03 +0000 (12:16 +0000)]
Add a new feature for optimizining ipfw rulesets - substitution of the
action argument with the value obtained from table lookup. The feature
is now applicable only to "pipe", "queue", "divert", "tee", "netgraph"
and "ngtee" rules.

An example usage:

  ipfw pipe 1000 config bw 1000Kbyte/s
  ipfw pipe 4000 config bw 4000Kbyte/s
  ipfw table 1 add x.x.x.x 1000
  ipfw table 1 add x.x.x.y 4000
  ipfw pipe tablearg ip from table(1) to any

In the example above the rule will throw different packets to different pipes.

TODO:
  - Support "skipto" action, but without searching all rules.
  - Improve parser, so that it warns about bad rules. These are:
    - "tablearg" argument to action, but no "table" in the rule. All
      traffic will be blocked.
    - "tablearg" argument to action, but "table" searches for entry with
      a specific value. All traffic will be blocked.
    - "tablearg" argument to action, and two "table" looks - for src and
      for dst. The last lookup will match.

18 years agoIn bge_link_upd(), rewrite the logic so that status is assigned
marcel [Tue, 13 Dec 2005 06:14:14 +0000 (06:14 +0000)]
In bge_link_upd(), rewrite the logic so that status is assigned
on the code path it is used in a way that GCC understands. This
avoids breakage due to higher optimization levels.

18 years agoAdd cross references to siginfo.3.
davidxu [Tue, 13 Dec 2005 03:05:58 +0000 (03:05 +0000)]
Add cross references to siginfo.3.

18 years agoInherit system-wide BLKDEV_IOSIZE definition.
rodrigc [Tue, 13 Dec 2005 02:32:30 +0000 (02:32 +0000)]
Inherit system-wide BLKDEV_IOSIZE definition.

Submitted by: kan

18 years agoAdd siginfo.
davidxu [Tue, 13 Dec 2005 00:28:09 +0000 (00:28 +0000)]
Add siginfo.

18 years agoImprove upon rev 1.133 where NFS/TCP would not reconnect.
ps [Mon, 12 Dec 2005 23:18:05 +0000 (23:18 +0000)]
Improve upon rev 1.133 where NFS/TCP would not reconnect.

Submitted by: Mohan Srinivasan

18 years agoFor the amd64 platform, we can depend on the TSC being present. This patch
peter [Mon, 12 Dec 2005 22:27:07 +0000 (22:27 +0000)]
For the amd64 platform, we can depend on the TSC being present.  This patch
changes DELAY to use the TSC once it has been calibrated.  This does NOT
use the TSC for long-term timekeeping.   It only uses it to bound the
DELAY() spinloop.  This should not be affected by the Athlon64 X2 TSC
quirks because the cpu is not halted while we use DELAY().

18 years agoMake uart_getenv() not be ns8250 dependent. This will allow, in the future,
imp [Mon, 12 Dec 2005 21:00:58 +0000 (21:00 +0000)]
Make uart_getenv() not be ns8250 dependent.  This will allow, in the future,
compilation of kernels without ns8250 support but using the uart framework.
These kernels will be for machines where size matters more, so including code
that can never be executed is undesriable...

18 years agoFor reiserfs, pass mount parameters directly to nmount() instead
rodrigc [Mon, 12 Dec 2005 19:51:37 +0000 (19:51 +0000)]
For reiserfs, pass mount parameters directly to nmount() instead
of forking an external mount_reiserfs program.

Reviewed by: dumbbell

18 years ago- Polling can be used on SMP.
glebius [Mon, 12 Dec 2005 19:29:30 +0000 (19:29 +0000)]
- Polling can be used on SMP.
- A kernel module can support polling.

18 years agoadd mcastrate support
sam [Mon, 12 Dec 2005 19:23:55 +0000 (19:23 +0000)]
add mcastrate support

MFC after: 1 week

18 years agodisallow module unload when there are dynamic references
sam [Mon, 12 Dec 2005 19:07:48 +0000 (19:07 +0000)]
disallow module unload when there are dynamic references

MFC after: 1 week

18 years agopropagate current bss state on sta join so, in particular, authmode
sam [Mon, 12 Dec 2005 18:44:27 +0000 (18:44 +0000)]
propagate current bss state on sta join so, in particular, authmode
is set properly in the new bss node

MFC after: 2 weeks

18 years agoBandaid ieee80211_set_chan to handle a channel parameter of "any";
sam [Mon, 12 Dec 2005 18:42:20 +0000 (18:42 +0000)]
Bandaid ieee80211_set_chan to handle a channel parameter of "any";
this can happen under certain conditions when scanning.  This logic
will eventually go away with the new scanning code.

While here de-inline the routine.

MFC after: 1 week

18 years agoo correct auto mode logic for avoiding turbo channels
sam [Mon, 12 Dec 2005 18:38:20 +0000 (18:38 +0000)]
o correct auto mode logic for avoiding turbo channels
o correct assumption that a static turbo channel is also
  usable in 11a; the opposite is true

MFC after: 1 week

18 years agoAdd ieee80211_beacon_miss for processing sta mode beacon miss events
sam [Mon, 12 Dec 2005 18:04:44 +0000 (18:04 +0000)]
Add ieee80211_beacon_miss for processing sta mode beacon miss events
in the 802.11 layer: we send a directed probe request frame to the
current ap bmiss_max times (w/o answer) before scanning for a new ap.

MFC after: 2 weeks

18 years agoadd some useful definitions that'll be used soon
sam [Mon, 12 Dec 2005 17:57:00 +0000 (17:57 +0000)]
add some useful definitions that'll be used soon

18 years agoadd fixed rate for sending multicast frames
sam [Mon, 12 Dec 2005 17:54:39 +0000 (17:54 +0000)]
add fixed rate for sending multicast frames

Obtained from: atheros
MFC after: 1 week

18 years agochange malloc when setting an optional ie to use M_NOWAIT
sam [Mon, 12 Dec 2005 17:40:49 +0000 (17:40 +0000)]
change malloc when setting an optional ie to use M_NOWAIT

MFC after: 3 days

18 years agocorrect parameter check when retrieving the current channel list
sam [Mon, 12 Dec 2005 17:38:53 +0000 (17:38 +0000)]
correct parameter check when retrieving the current channel list

MFC after: 3 days

18 years agoMention SiS write support and add a missing parenthesis.
brueffer [Mon, 12 Dec 2005 16:46:19 +0000 (16:46 +0000)]
Mention SiS write support and add a missing parenthesis.

18 years agoFix a bug introduced in rev. 1.5; for retrieving the device_t of the
marius [Mon, 12 Dec 2005 16:07:11 +0000 (16:07 +0000)]
Fix a bug introduced in rev. 1.5; for retrieving the device_t of the
parent bridge of a PCI-PCI bridge we need two device_get_parent().

18 years agoAdd missing John Gilmore quote.
dds [Mon, 12 Dec 2005 15:47:33 +0000 (15:47 +0000)]
Add missing John Gilmore quote.

18 years ago- Add a note about latest changes to the iwi(4) driver. A message is printed
flz [Mon, 12 Dec 2005 15:00:45 +0000 (15:00 +0000)]
- Add a note about latest changes to the iwi(4) driver. A message is printed
if the firmware can't be found in /boot/firmware.

Approved by: brueffer

18 years agoAdd the device ID of fxp(4) NICs found in Sony Vaio VGN-TX1XP laptops.
mux [Mon, 12 Dec 2005 14:30:13 +0000 (14:30 +0000)]
Add the device ID of fxp(4) NICs found in Sony Vaio VGN-TX1XP laptops.

PR: kern/90024
Submitted by: Thomas Hurst <tom@hur.st>
MFC after: 3 days

18 years agoAdd support for writing SiS metadata.
sos [Mon, 12 Dec 2005 14:13:55 +0000 (14:13 +0000)]
Add support for writing SiS metadata.

18 years agoDon't flood kernel logs with "invalid _PSS package" messages.
bruno [Mon, 12 Dec 2005 11:15:20 +0000 (11:15 +0000)]
Don't flood kernel logs with "invalid _PSS package" messages.

Approved by: njl, imp (mentor)

18 years agoRemove all redundant option file names that don't hurt readability.
ru [Mon, 12 Dec 2005 10:15:11 +0000 (10:15 +0000)]
Remove all redundant option file names that don't hurt readability.

18 years agoRemove unused _get_curthread() call.
davidxu [Mon, 12 Dec 2005 07:14:57 +0000 (07:14 +0000)]
Remove unused _get_curthread() call.

18 years agoMake nve(4) work for people with nf3/nf4 who never got it
bz [Mon, 12 Dec 2005 06:23:43 +0000 (06:23 +0000)]
Make nve(4) work for people with nf3/nf4 who never got it
working at all and only saw "nve0: device timeout (N)" messages.

- Setup PHY before handing control to NVidia API setting
  speed, duplex, enabling interrupts, etc.
- Add restriction of MAXADDR_32BIT for high address to contigmalloc
  to make the driver work on machines with 4+GB of memory.

PR:        kern/85583, kern/88045
Tested by: scottl, others earlier version
MFC after: 10 days

18 years agoStop fiddling thread priority with msleep, eliminating unnecessary
davidxu [Mon, 12 Dec 2005 05:04:56 +0000 (05:04 +0000)]
Stop fiddling thread priority with msleep, eliminating unnecessary
context switching. This improves performance about 30% on UP machine.

18 years agoFix typo in rfcomm_pppd(8) man page.
emax [Mon, 12 Dec 2005 04:19:36 +0000 (04:19 +0000)]
Fix typo in rfcomm_pppd(8) man page.

Noticed by: Ronald Klop
MFC after: 1 day

18 years ago#define __user to nothing
rodrigc [Mon, 12 Dec 2005 03:21:37 +0000 (03:21 +0000)]
#define __user to nothing

18 years agoAdd read-only XFS to LINT.
rodrigc [Mon, 12 Dec 2005 02:01:51 +0000 (02:01 +0000)]
Add read-only XFS to LINT.

18 years agoBuild xfs before xl.
rodrigc [Mon, 12 Dec 2005 01:37:57 +0000 (01:37 +0000)]
Build xfs before xl.

Noticed by: pjd

18 years agoAdd xfs to list of modules which are built.
rodrigc [Mon, 12 Dec 2005 01:29:57 +0000 (01:29 +0000)]
Add xfs to list of modules which are built.

18 years agoRemove extra geom_zero.
rodrigc [Mon, 12 Dec 2005 01:28:19 +0000 (01:28 +0000)]
Remove extra geom_zero.

Noticed by: pjd

18 years agoHook XFS into kernel build.
rodrigc [Mon, 12 Dec 2005 01:14:59 +0000 (01:14 +0000)]
Hook XFS into kernel build.

18 years agoAdd Makefile for compiling XFS as a kernel module.
rodrigc [Mon, 12 Dec 2005 01:11:08 +0000 (01:11 +0000)]
Add Makefile for compiling XFS as a kernel module.

18 years agoInitial import of read-only support for SGI's XFS filesystem.
rodrigc [Mon, 12 Dec 2005 01:04:32 +0000 (01:04 +0000)]
Initial import of read-only support for SGI's XFS filesystem.

Contributed by: XFS for FreeBSD project

18 years agoRequest pre-commit review for XFS.
rodrigc [Mon, 12 Dec 2005 00:54:22 +0000 (00:54 +0000)]
Request pre-commit review for XFS.

18 years agoContributions from XFS for FreeBSD project:
rodrigc [Mon, 12 Dec 2005 00:02:22 +0000 (00:02 +0000)]
Contributions from XFS for FreeBSD project:
- Implement cv_wait_unlock() method which has semantics compatible
  with the sv_wait() method in IRIX.  For cv_wait_unlock(), the lock
  must be held before entering the function, but is not held when the
  function is exited.

- Implement the existing cv_wait() function in terms of cv_wait_unlock().

Submitted by: kan
Feedback from: jhb, trhodes, Christoph Hellwig <hch at infradead dot org>

18 years agonote shuffle of commonly used programs in tools/tools/ath
sam [Sun, 11 Dec 2005 23:18:58 +0000 (23:18 +0000)]
note shuffle of commonly used programs in tools/tools/ath

18 years agothis didn't make it in the last commit
sam [Sun, 11 Dec 2005 23:15:24 +0000 (23:15 +0000)]
this didn't make it in the last commit

18 years agoo move programs to separate directories and use stock Makefiles;
sam [Sun, 11 Dec 2005 23:13:54 +0000 (23:13 +0000)]
o move programs to separate directories and use stock Makefiles;
  this simplifies including them in crunchgen images
o rename 80211* programs to wlan* as was originally intended

18 years agoremove cts burst extension stats
sam [Sun, 11 Dec 2005 22:46:41 +0000 (22:46 +0000)]
remove cts burst extension stats

18 years agoRemove unneeded calls to pmap_remove_all(). The given page is not mapped.
alc [Sun, 11 Dec 2005 22:06:57 +0000 (22:06 +0000)]
Remove unneeded calls to pmap_remove_all().  The given page is not mapped.

Reviewed by: tegge

18 years agoFix calculation of meminfo's swaptotal and swapfree on at least amd64.
mlaier [Sun, 11 Dec 2005 21:37:42 +0000 (21:37 +0000)]
Fix calculation of meminfo's swaptotal and swapfree on at least amd64.

MFC after: 3 days

18 years ago- Rename UQ_BROKEN_IPOD to UQ_NO_OPEN_CLEARSTALL since it's likely to be used
flz [Sun, 11 Dec 2005 20:14:38 +0000 (20:14 +0000)]
- Rename UQ_BROKEN_IPOD to UQ_NO_OPEN_CLEARSTALL since it's likely to be used
by more devices than iPods.

Proposed by: iedowse
Approved by: ssouhlal
MFC after: 3 days

18 years agoAdded comments about the magic behind
bde [Sun, 11 Dec 2005 19:51:30 +0000 (19:51 +0000)]
Added comments about the magic behind
    <cbrt(x) in bits> ~= <x in bits>/3 + BIAS.
Keep the large comments only in the double version as usual.

Fixed some style bugs (mainly grammar and spelling errors in comments).

18 years agoFixed the unexpectedly large maximum error after the previous commit.
bde [Sun, 11 Dec 2005 17:58:14 +0000 (17:58 +0000)]
Fixed the unexpectedly large maximum error after the previous commit.
It was because I forgot to translate the part of the double precision
algorithm that chops t so that t*t is exact.  Now the maximum error
is the same as for double precision (almost exactly 2.0/3 ulps).

18 years agoAdd /boot/firmware as iwi(4) now reads its firmware there.
delphij [Sun, 11 Dec 2005 15:21:18 +0000 (15:21 +0000)]
Add /boot/firmware as iwi(4) now reads its firmware there.

Reminded by: flz

18 years agoFixed all 502518670 errors of more than 1 ulp for cbrtf() on amd64.
bde [Sun, 11 Dec 2005 13:22:01 +0000 (13:22 +0000)]
Fixed all 502518670 errors of more than 1 ulp for cbrtf() on amd64.
The maximum error was 3.56 ulps.

The bug was another translation error.  The double precision version
has a comment saying "new cbrt to 23 bits, may be implemented in
precision".  This means exactly what it says -- that the 23 bit second
approximation for the double precision cbrt() may be implemented in
single (i.e., float) precision.  It doesn't mean what the translation
assumed -- that this approximation, when implemented in float precision,
is good enough for the the final approximation in float precision.
First, float precision needs a 24 bit approximation.  The "23 bit"
approximation is actually good to 24 bits on float precision args, but
only if it is evaluated in double precision.  Second, the algorithm
requires a cleanup step to ensure its error bound.

In float precision, any reasonable algorithm works for the cleanup
step.  Use the same algorithm as for double precision, although this
is much more than enough and is a significant pessimization, and don't
optimize or simplify anything using double precision to implement the
float case, so that the whole double precision algorithm can be verified
in float precision.  A maximum error of 0.667 ulps is claimed for cbrt()
and the max for cbrtf() using the same algorithm shouldn't be different,
but the actual max for cbrtf() on amd64 is now 0.9834 ulps.  (On i386
-O1 the max is 0.5006 (down from < 0.7) due to extra precision.)

18 years agoFixed some magic numbers.
bde [Sun, 11 Dec 2005 11:40:55 +0000 (11:40 +0000)]
Fixed some magic numbers.

The threshold for not being tiny was too small.  Use the usual 2**-12
threshold.  As for sinhf, use a different method (now the same as for
sinhf) to set the inexact flag for tiny nonzero x so that the larger
threshold works, although this method is imperfect.  As for sinhf,
this change is not just an optimization, since the general code that
we fell into has accuracy problems even for tiny x.  On amd64, avoiding
it fixes tanhf on 2*13495596 args with errors of between 1 and 1.3
ulps and thus reduces the total number of args with errors of >= 1 ulp
from 37533748 to 5271278; the maximum error is unchanged at 2.2 ulps.

The magic number 22 is log(DBL_MAX)/2 plus slop.  This is bogus for
float precision.  Use 9 (log(FLT_MAX)/2 plus less slop than for
double precision).  Unlike for coshf and tanhf, this is just an
optimization, and MAX isn't misspelled EPSILON in the commit log.

I started testing with nonstandard rounding modes, and verified that
the chosen thresholds work for all modes modulo problems not related
to thresholds.  The best thresholds are not very dependent on the mode,
at least for tanhf.

18 years agoMove the remaining entries from usbd.conf to devd.conf. This now
iedowse [Sun, 11 Dec 2005 00:18:28 +0000 (00:18 +0000)]
Move the remaining entries from usbd.conf to devd.conf. This now
makes usbd redundant.

PR: conf/73799
Submitted by: Anish Mistry

18 years agoDrop rcconf.sh now that it has been removed
dougb [Sat, 10 Dec 2005 23:23:09 +0000 (23:23 +0000)]
Drop rcconf.sh now that it has been removed

18 years agoRemove rcconf.sh from /etc/rc.d, and instead load the configuration
dougb [Sat, 10 Dec 2005 20:21:46 +0000 (20:21 +0000)]
Remove rcconf.sh from /etc/rc.d, and instead load the configuration
as part of rc. Doing this, and the sourcing of rc.subr after we have
determined if we are booting diskless (and correspondingly run
rc.initdiskless if necessary) are safe, and actually allow fewer files
to be needed on the diskless box. This also allows variables from
the configuration to be available to rc itself, such as ...

Add a variable to rc.conf, early_late_divider, which designates the
script which separates the early and late stages of the boot process.
Default this to mountcritlocal, and add text to etc/defaults/rc.conf,
rc.conf(5) and diskless(8) which describes how and why one might want
to change this.

Reviewed by: brooks

18 years agoSilence a warning about empty directories in all the places it might
dougb [Sat, 10 Dec 2005 20:19:08 +0000 (20:19 +0000)]
Silence a warning about empty directories in all the places it might
occur.

Reminded by: yar

18 years agoUse of REQUIRE is better than BEFORE for most scripts, and very
dougb [Sat, 10 Dec 2005 19:49:03 +0000 (19:49 +0000)]
Use of REQUIRE is better than BEFORE for most scripts, and very
few scripts should have no REQUIRE at all.

18 years agoHide the 4k mbuf clusters if the normal clusters are defined to be
andre [Sat, 10 Dec 2005 15:21:04 +0000 (15:21 +0000)]
Hide the 4k mbuf clusters if the normal clusters are defined to be
4k already.

This unbreaks tinderbox.

Submitted by: ru

18 years agoAdopt for modern FreeBSD.
ru [Sat, 10 Dec 2005 12:09:54 +0000 (12:09 +0000)]
Adopt for modern FreeBSD.

Requested by: az

18 years agoXref padlock(4), also fast_ipsec(4) and geli(8) as consumers of this device.
brueffer [Sat, 10 Dec 2005 10:51:55 +0000 (10:51 +0000)]
Xref padlock(4), also fast_ipsec(4) and geli(8) as consumers of this device.

MFC after: 3 days

18 years agoManpage for the padlock driver (VIA C3/Eden AES support and RNG).
brueffer [Sat, 10 Dec 2005 10:44:44 +0000 (10:44 +0000)]
Manpage for the padlock driver (VIA C3/Eden AES support and RNG).

MFC after: 3 days

18 years agoAllocate the jumbo rx frame buffer with busdma.
scottl [Sat, 10 Dec 2005 08:58:48 +0000 (08:58 +0000)]
Allocate the jumbo rx frame buffer with busdma.

18 years agoWhen we get a bogus hostname in an option, drop the option rather than
brooks [Sat, 10 Dec 2005 03:46:14 +0000 (03:46 +0000)]
When we get a bogus hostname in an option, drop the option rather than
refusing the lease.  This allow obtaining leases on misadministered
networks that use host names with underscores in them.

MFC After: 3 days

18 years agoif_ti has been operating with locks for a while, so remove the GIANT markers.
scottl [Sat, 10 Dec 2005 01:25:46 +0000 (01:25 +0000)]
if_ti has been operating with locks for a while, so remove the GIANT markers.
Also fix man potential locking problems in the cdev ioctl handler.

18 years agoThe if_ti Tigon I/II driver has moved to /sys/dev/ti
scottl [Sat, 10 Dec 2005 00:38:33 +0000 (00:38 +0000)]
The if_ti Tigon I/II driver has moved to /sys/dev/ti

18 years ago- Better use of the busdma API.
cognet [Fri, 9 Dec 2005 23:55:41 +0000 (23:55 +0000)]
- Better use of the busdma API.
- Use spin locks instead of sleep locks.

18 years agoFix a harmless bug in the way we allocate the early PTEs.
cognet [Fri, 9 Dec 2005 23:54:50 +0000 (23:54 +0000)]
Fix a harmless bug in the way we allocate the early PTEs.

18 years agoThe IQ80321 clock is 200MHz, but the IQ80321 is 198MHz, so add a kernel option
cognet [Fri, 9 Dec 2005 23:52:51 +0000 (23:52 +0000)]
The IQ80321 clock is 200MHz, but the IQ80321 is 198MHz, so add a kernel option
to override the frequency

18 years agoA #define is not enough, we need to cast from u_long * to uint32_t *.
cognet [Fri, 9 Dec 2005 22:58:07 +0000 (22:58 +0000)]
A #define is not enough, we need to cast from u_long * to uint32_t *.

18 years agoDefine atomic_whatever_long
cognet [Fri, 9 Dec 2005 22:33:20 +0000 (22:33 +0000)]
Define atomic_whatever_long

18 years agoIn copyout(), quad-align the source buffer, and use ldrd if possible.
cognet [Fri, 9 Dec 2005 15:31:02 +0000 (15:31 +0000)]
In copyout(), quad-align the source buffer, and use ldrd if possible.

18 years agoFiles are installed with mode 444 by default.
ru [Fri, 9 Dec 2005 15:19:31 +0000 (15:19 +0000)]
Files are installed with mode 444 by default.

18 years agoReally fix the relative timestamp bug. It was only incorrect for the ALQ
njl [Fri, 9 Dec 2005 14:27:03 +0000 (14:27 +0000)]
Really fix the relative timestamp bug.  It was only incorrect for the ALQ
case.  It seems entries are in reverse order when read from the kernel
memory but in the right order when read from a file (i.e. ALQ).  Handle
both cases.

MFC after: 1 day

18 years agoUnbreak hotplug support on the ICH6 and ICH7 chipsets.
sos [Fri, 9 Dec 2005 14:23:24 +0000 (14:23 +0000)]
Unbreak hotplug support on the ICH6 and ICH7 chipsets.

18 years agoSync with i386, fix compiling for non-SMP.
davidxu [Fri, 9 Dec 2005 13:30:34 +0000 (13:30 +0000)]
Sync with i386, fix compiling for non-SMP.

18 years agoFix compiling warning on 64 bits system.
davidxu [Fri, 9 Dec 2005 13:16:48 +0000 (13:16 +0000)]
Fix compiling warning on 64 bits system.

18 years agoCleanup _FreeBSD_version.
glebius [Fri, 9 Dec 2005 13:03:30 +0000 (13:03 +0000)]
Cleanup _FreeBSD_version.

18 years agoFix build breakage by fixing typo.
pjd [Fri, 9 Dec 2005 11:38:02 +0000 (11:38 +0000)]
Fix build breakage by fixing typo.

Reported by: glebius

18 years agoAdd a sysctl to force a process to sigexit if a trap signal is
davidxu [Fri, 9 Dec 2005 08:29:29 +0000 (08:29 +0000)]
Add a sysctl to force a process to sigexit if a trap signal is
being hold by current thread or ignored by current process,
otherwise, it is very possible the thread will enter an infinite loop
and lead to an administrator's nightmare.

18 years agoRemove itimers_event_hook, now it is a private function in kern_time.c.
davidxu [Fri, 9 Dec 2005 08:19:31 +0000 (08:19 +0000)]
Remove itimers_event_hook, now it is a private function in kern_time.c.

18 years agoFix memory leak.
ru [Fri, 9 Dec 2005 07:09:44 +0000 (07:09 +0000)]
Fix memory leak.

PR: kern/90113
Submitted by: Antoine Brodin

18 years agoconfig.5 was repocopied from share/man/man5/ to usr.sbin/config/.
ru [Fri, 9 Dec 2005 06:46:41 +0000 (06:46 +0000)]
config.5 was repocopied from share/man/man5/ to usr.sbin/config/.

Repocopied by: peter

18 years agoRegister itimers_event_hook as a kernel event handler, so I don't
davidxu [Fri, 9 Dec 2005 05:43:26 +0000 (05:43 +0000)]
Register itimers_event_hook as a kernel event handler, so I don't
have to duplicate code to call it in exec() and exit1().