]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoMarkup nit.
ru [Sun, 16 May 2004 22:11:56 +0000 (22:11 +0000)]
Markup nit.

20 years agoKill the LAZYPMAP ifdefs. While they worked, they didn't do anything
peter [Sun, 16 May 2004 22:11:50 +0000 (22:11 +0000)]
Kill the LAZYPMAP ifdefs.  While they worked, they didn't do anything
to help the AMD cpus (which have a hardware tlb flush filter).  I held
off to see what the 64 bit Intel cpus did, but it doesn't seem to help
much there either.  Oh well, store it in the Attic.

20 years agoThere's no such beast like AF_INET4, even when powered by whiskey.
ru [Sun, 16 May 2004 22:11:40 +0000 (22:11 +0000)]
There's no such beast like AF_INET4, even when powered by whiskey.

20 years agoBump document date for the latest change.
ru [Sun, 16 May 2004 22:11:22 +0000 (22:11 +0000)]
Bump document date for the latest change.
Minor markup tweaks.

20 years agoRemove spurious semicolons. Outside of functions they are actually errors but
stefanf [Sun, 16 May 2004 22:08:17 +0000 (22:08 +0000)]
Remove spurious semicolons.  Outside of functions they are actually errors but
GCC doesn't warn about them without -pedantic.

Approved by: das (mentor)
PR: 56649
Reviewed by: md5

20 years agoRemove myself from da(4). MIHIRA Sanpei Yoshiro will be taking over quirk
njl [Sun, 16 May 2004 22:05:25 +0000 (22:05 +0000)]
Remove myself from da(4).  MIHIRA Sanpei Yoshiro will be taking over quirk
maintenance given his work on USB.  Also, the root cause of spamming da(4)
with NO_6_BYTE quirks was fixed last year and the extraneous quirks have
been removed.  Please coordinate future quirk issues with sanpei@

20 years agoMarkup fixes.
ru [Sun, 16 May 2004 21:52:48 +0000 (21:52 +0000)]
Markup fixes.

20 years agoReally add -l to the usage output.
ru [Sun, 16 May 2004 21:49:23 +0000 (21:49 +0000)]
Really add -l to the usage output.

20 years agoAssorted markup fixes.
ru [Sun, 16 May 2004 21:35:05 +0000 (21:35 +0000)]
Assorted markup fixes.

20 years agoPunctuation.
ru [Sun, 16 May 2004 21:34:49 +0000 (21:34 +0000)]
Punctuation.

20 years agoFixed spelling of the document date.
ru [Sun, 16 May 2004 21:34:31 +0000 (21:34 +0000)]
Fixed spelling of the document date.

20 years agoBump document date for the latest functional change.
ru [Sun, 16 May 2004 21:34:15 +0000 (21:34 +0000)]
Bump document date for the latest functional change.
Minor markup tweaks.

20 years agoDESCRIPTION was not updated for the new SYNOPSIS.
ru [Sun, 16 May 2004 21:33:48 +0000 (21:33 +0000)]
DESCRIPTION was not updated for the new SYNOPSIS.

20 years agoConverge some more with i386.
peter [Sun, 16 May 2004 21:27:29 +0000 (21:27 +0000)]
Converge some more with i386.

20 years agoRemove "register_t eflags; eflags = read_eflags();" because 1) it wasn't
peter [Sun, 16 May 2004 21:22:45 +0000 (21:22 +0000)]
Remove "register_t eflags; eflags = read_eflags();" because 1) it wasn't
subsequently used in the code, and 2) it doesn't compile on !i386.

20 years agoAnother candidate that didn't use copyin/copyout for user<->kernel
joerg [Sun, 16 May 2004 21:19:59 +0000 (21:19 +0000)]
Another candidate that didn't use copyin/copyout for user<->kernel
transfers.

MFC after: 1 month

20 years agoYou wouldn't believe a driver could survive doing userland IO without
joerg [Sun, 16 May 2004 21:18:45 +0000 (21:18 +0000)]
You wouldn't believe a driver could survive doing userland IO without
properly using copyin/copyout for more than 5 years?  This one did. :-)

Properly encapsulate all user<->kernel data transfers using copy{in,out}.

MFC after: 1 month

20 years agoAfter successfully attaching an iicbus instance, instead of using a
joerg [Sun, 16 May 2004 21:11:46 +0000 (21:11 +0000)]
After successfully attaching an iicbus instance, instead of using a
NULL name in device_add_child(), explicitly name all of our known
child drivers in order to give them a chance to attach to us.
Otherwise, only the first one present would be probed and attached.

Reviewed by: nsouch
MFC after: 1 month

20 years agoMFi386: add rue and twa
peter [Sun, 16 May 2004 20:57:01 +0000 (20:57 +0000)]
MFi386: add rue and twa

20 years agoMFi386: avoid partial register references, for what its worth.
peter [Sun, 16 May 2004 20:46:13 +0000 (20:46 +0000)]
MFi386: avoid partial register references, for what its worth.

20 years agoFor consistency with i386, have pmap_kenter_temporary() take a vm_paddr_t
peter [Sun, 16 May 2004 20:44:41 +0000 (20:44 +0000)]
For consistency with i386, have pmap_kenter_temporary() take a vm_paddr_t
argument.  It is actually the same type on amd64 (vm_paddr_t = vm_offset_t)
but this reduces the i386<->amd64 diffs a little.

20 years agoAdded -v to usage().
ru [Sun, 16 May 2004 20:41:11 +0000 (20:41 +0000)]
Added -v to usage().

20 years agoMFi386: numerous interrupt and acpi updates
peter [Sun, 16 May 2004 20:30:47 +0000 (20:30 +0000)]
MFi386: numerous interrupt and acpi updates

20 years agoEnable first part of kld's on amd64. This is known to not work right
peter [Sun, 16 May 2004 20:11:38 +0000 (20:11 +0000)]
Enable first part of kld's on amd64.  This is known to not work right
yet, but building kld's is OK now and they can be loaded by kldload(2).
(but the machine will likely crash soon afterwards, a "minor" problem :-)

Brought to you by:  my injured knee (from moving)

20 years agoMake a small revision to the api between the elf linker core and the
peter [Sun, 16 May 2004 20:00:28 +0000 (20:00 +0000)]
Make a small revision to the api between the elf linker core and the
elf_reloc() backends for two reasons.  First, to support the possibility
of there being two elf linkers in the kernel (eg: amd64), and second, to
pass the relocbase explicitly (for relocating .o format kld files).

20 years agoAllow ng_ether "lower" and "orphans" hooks to be connected at the same time.
archie [Sun, 16 May 2004 19:31:35 +0000 (19:31 +0000)]
Allow ng_ether "lower" and "orphans" hooks to be connected at the same time.

Reviewed by: julian
PR: kern/63317

20 years agoAdd two new options to cron(8), -J and -j. They allow to specify
yar [Sun, 16 May 2004 19:29:33 +0000 (19:29 +0000)]
Add two new options to cron(8), -J and -j.  They allow to specify
the maximum amount of time jitter for root and other users, respectively.
Before starting a job, cron(8) will sleep a random number of seconds,
from 0 to the amount specified.  This can help to smooth down load spikes
when a lot of jobs are to start at the beginning of a particular minute
(e.g., the first minute of an hour.)

PR: bin/66474
Submitted by: Dmitry Morozovsky <marck <@> rinet.ru>

20 years agoIf the revision is 0, don't trust the length in the RSDP. Instead assume
njl [Sun, 16 May 2004 18:02:47 +0000 (18:02 +0000)]
If the revision is 0, don't trust the length in the RSDP.  Instead assume
an ACPI version 1.0 length.

20 years agoKill DOS newline breaks.
ru [Sun, 16 May 2004 14:41:20 +0000 (14:41 +0000)]
Kill DOS newline breaks.

20 years ago- Initialize uart_bus_space_io and uart_bus_space_mem.
nyan [Sun, 16 May 2004 14:12:05 +0000 (14:12 +0000)]
- Initialize uart_bus_space_io and uart_bus_space_mem.
- Fix wrong comment.

20 years agoFixed the disordering from rev. 1.371.
ru [Sun, 16 May 2004 13:58:27 +0000 (13:58 +0000)]
Fixed the disordering from rev. 1.371.

20 years agoDon't use the node id as an index into the topology map. This breaks
dfr [Sun, 16 May 2004 11:26:39 +0000 (11:26 +0000)]
Don't use the node id as an index into the topology map. This breaks
if a node on the bus has more than three ports (like my cheapo six
port hub).

20 years agosnafu, exchanged the descriptions of -maxdepth and -mindepth.
eik [Sun, 16 May 2004 10:35:14 +0000 (10:35 +0000)]
snafu, exchanged the descriptions of -maxdepth and -mindepth.

Noticed by: ru

20 years agoRead in the entire RSDP but only run the standard checksum over the
njl [Sun, 16 May 2004 05:31:40 +0000 (05:31 +0000)]
Read in the entire RSDP but only run the standard checksum over the
version 1 header.  Add comments to explain what we're doing here better.

Reported by: Alex Vasylenko <lxv@omut.org>

20 years agoTry harder not to compile anything in sys/boot for arm.
cognet [Sun, 16 May 2004 00:19:12 +0000 (00:19 +0000)]
Try harder not to compile anything in sys/boot for arm.
I wonder how buildworld ever worked for me...

20 years agoRemove dead code. (This loop counted the number of rules, but the count
cperciva [Sat, 15 May 2004 20:55:19 +0000 (20:55 +0000)]
Remove dead code.  (This loop counted the number of rules, but the count
was never used.)

Reported by: pjd
Approved by: rwatson

20 years agoCorrect a typo in column header.
mdodd [Sat, 15 May 2004 16:06:59 +0000 (16:06 +0000)]
Correct a typo in column header.

Submitted by:  phk
Obtained from:  BSDCan

20 years agoRemove twa_intrhook prototype.
scottl [Sat, 15 May 2004 15:41:59 +0000 (15:41 +0000)]
Remove twa_intrhook prototype.

Submitted by: cperciva

20 years agoSet the cpi.hba_inquiry field to something useful.
scottl [Sat, 15 May 2004 05:18:05 +0000 (05:18 +0000)]
Set the cpi.hba_inquiry field to something useful.

20 years agoRemove the config_intrhook as it is not needed.
scottl [Sat, 15 May 2004 05:17:42 +0000 (05:17 +0000)]
Remove the config_intrhook as it is not needed.

20 years agoHook sysinstall to the build for powerpc.
grehan [Sat, 15 May 2004 05:07:14 +0000 (05:07 +0000)]
Hook sysinstall to the build for powerpc.

20 years agoMods for powerpc.
grehan [Sat, 15 May 2004 05:06:19 +0000 (05:06 +0000)]
Mods for powerpc.

Submitted by:  Suleiman Souhlal <refugee@segfaulted.com>

20 years agoWork around a problem somewhere with binutils (?) on arm, hopefully without
cognet [Sat, 15 May 2004 00:13:14 +0000 (00:13 +0000)]
Work around a problem somewhere with binutils (?) on arm, hopefully without
breaking any other arch this time.

20 years agoIf asked to build a kernel without first building world, build the
des [Sat, 15 May 2004 00:08:44 +0000 (00:08 +0000)]
If asked to build a kernel without first building world, build the
kernel toolchain first.

20 years agoRemove some debugging printf()s and a pointless device_set_desc() call.
des [Sat, 15 May 2004 00:07:23 +0000 (00:07 +0000)]
Remove some debugging printf()s and a pointless device_set_desc() call.

20 years agoRemove libkern/mem*
cognet [Fri, 14 May 2004 23:42:54 +0000 (23:42 +0000)]
Remove libkern/mem*

20 years agoImplement bcopy, memcpy and memcmp in support.S.
cognet [Fri, 14 May 2004 23:42:30 +0000 (23:42 +0000)]
Implement bcopy, memcpy and memcmp in support.S.

20 years agoRemove libkern/bzero.S and libkern/memset.S.
cognet [Fri, 14 May 2004 23:31:36 +0000 (23:31 +0000)]
Remove libkern/bzero.S and libkern/memset.S.

20 years agoImplement bzero et memset in support.S
cognet [Fri, 14 May 2004 23:31:10 +0000 (23:31 +0000)]
Implement bzero et memset in support.S

20 years agoInsert "arm" between "amd64" and "powerpc"
cognet [Fri, 14 May 2004 23:08:52 +0000 (23:08 +0000)]
Insert "arm" between "amd64" and "powerpc"

Requested by: bde

20 years agoChange ffs_realloccg() to set the valid bits for the extended part of the
kensmith [Fri, 14 May 2004 22:00:08 +0000 (22:00 +0000)]
Change ffs_realloccg() to set the valid bits for the extended part of the
fragment to zero the valid parts of a VM_IO buffer.

RE would like this to be part of 4.10-RC3 so this will be MFC-ed immediately.

Reviewed by: alc, tegge

20 years agoFixed total disorder of MD includes.
bde [Fri, 14 May 2004 21:05:35 +0000 (21:05 +0000)]
Fixed total disorder of MD includes.

Disorder buffer overflowed by: arm commit

20 years agoFix breakage caused by alphabetically sorting SRCS: rtld_start.S must come first!
se [Fri, 14 May 2004 21:01:52 +0000 (21:01 +0000)]
Fix breakage caused by alphabetically sorting SRCS: rtld_start.S must come first!
The previous version made all shared binaries dump core.

20 years agoFixed some common printf format errors. Don't assume that "struct foo *"
bde [Fri, 14 May 2004 20:51:42 +0000 (20:51 +0000)]
Fixed some common printf format errors.  Don't assume that "struct foo *"
is "void *" (it isn't) or that the default promotion of pid_t is int.
Instead, assume that casting "struct foo *" to "void *" and printing the
result with %p is useful, and that all pid_t's are representable as longs.

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

20 years agoBack out last revision that unnecessarily changed valid assembler
ru [Fri, 14 May 2004 20:29:30 +0000 (20:29 +0000)]
Back out last revision that unnecessarily changed valid assembler
line comments and damaged the CVS history.

Prompted by: bde, jhb

20 years agoPartly back out last revision that unnecessarily changed valid
ru [Fri, 14 May 2004 20:28:31 +0000 (20:28 +0000)]
Partly back out last revision that unnecessarily changed valid
assembler line comments and damaged the CVS history.

Prompted by: bde, jhb

20 years agoCorrect the misuse of \- (mdoc(7) mathematical minus) when - (mdoc(7)
simon [Fri, 14 May 2004 20:07:49 +0000 (20:07 +0000)]
Correct the misuse of \- (mdoc(7) mathematical minus) when - (mdoc(7)
hyphen) is meant.

Mdoc(7) clue by: ru
Reviewed by: ru

20 years agoStyle fixes:
bde [Fri, 14 May 2004 19:52:35 +0000 (19:52 +0000)]
Style fixes:
Main ones: mostly use conditional expressions in ifdefs instead of a
mixture of conditional expressions and nested ifdefs.
Nearby ones:
- don't do less than echo the code in the comment about libc_r
- fixed some internal insertion sort errors and indentation errors.

20 years agoFixed some insertion sort errors (external ones only).
bde [Fri, 14 May 2004 19:31:20 +0000 (19:31 +0000)]
Fixed some insertion sort errors (external ones only).

20 years agoBump the .Dd value.
joerg [Fri, 14 May 2004 19:29:39 +0000 (19:29 +0000)]
Bump the .Dd value.

Update xrefs to more contemporary items.

Requested by: ru, green
MFC after: 1 week

20 years agoWhen I wrote this man page more than 5 years ago, I simply didn't
joerg [Fri, 14 May 2004 18:46:16 +0000 (18:46 +0000)]
When I wrote this man page more than 5 years ago, I simply didn't
understand the true symmetric nature of Enigma, so my description of
``automatically detects that the input is encrypted'' was simply
wrong.  Replace that by a more accurate description of why feeding the
ciphertext again into the engine will decrypt it.

MFC after: 1 week

20 years agomdoc(7) police:
hmp [Fri, 14 May 2004 16:57:27 +0000 (16:57 +0000)]
mdoc(7) police:

* remove an extra comma at the end of the .Nm list

20 years agoInstead of scanning the entire lower 1 MB of RAM, only scan locations
njl [Fri, 14 May 2004 16:52:39 +0000 (16:52 +0000)]
Instead of scanning the entire lower 1 MB of RAM, only scan locations
where the RSD PTR can actually occur.  According to section 5.2.2
of the ACPI spec, we only consider two regions for the base address:

    1. EBDA (0x0 - 0x3FF)
    2. High memory (0xE0000 - 0xFFFFF)

I don't know whether this fixes any actual problems but is more correct.

20 years agoUse a simpler, faster buffering scheme for partial characters in mbrtowc().
tjr [Fri, 14 May 2004 15:40:47 +0000 (15:40 +0000)]
Use a simpler, faster buffering scheme for partial characters in mbrtowc().

20 years agoMFNetBSD (umodem.c 1.46):
sanpei [Fri, 14 May 2004 15:16:09 +0000 (15:16 +0000)]
MFNetBSD (umodem.c 1.46):
URL updates

20 years agoThis is FreeBSD/arm, not FreeBSD/i386
cognet [Fri, 14 May 2004 14:52:32 +0000 (14:52 +0000)]
This is FreeBSD/arm, not FreeBSD/i386

Submitted by: ru

20 years agoUse four spaces instead of tab for second level indentation.
cognet [Fri, 14 May 2004 14:50:55 +0000 (14:50 +0000)]
Use four spaces instead of tab for second level indentation.

Requested by: ru

20 years agoDo not attempt to build libdisk, libthr and libc_r for arm.
cognet [Fri, 14 May 2004 13:45:56 +0000 (13:45 +0000)]
Do not attempt to build libdisk, libthr and libc_r for arm.

20 years agoDo not build sysintall for arm.
cognet [Fri, 14 May 2004 13:44:55 +0000 (13:44 +0000)]
Do not build sysintall for arm.

20 years agoDefine PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for arm.
cognet [Fri, 14 May 2004 13:44:36 +0000 (13:44 +0000)]
Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for arm.

20 years agoSome arm bits for gprof.
cognet [Fri, 14 May 2004 13:44:04 +0000 (13:44 +0000)]
Some arm bits for gprof.

20 years agoDo not build truss on arm.
cognet [Fri, 14 May 2004 13:43:18 +0000 (13:43 +0000)]
Do not build truss on arm.

20 years agoDefine uart_sa1110_ops and uart_sa1110_classe in .c files instead of spamming
cognet [Fri, 14 May 2004 13:42:50 +0000 (13:42 +0000)]
Define uart_sa1110_ops and uart_sa1110_classe in .c files instead of spamming
uart_cpu.h

20 years agoDefine INLINE_LIMIT for arm.
cognet [Fri, 14 May 2004 13:35:46 +0000 (13:35 +0000)]
Define INLINE_LIMIT for arm.

20 years agoDo not attempt to build anything in sys/boot for arm.
cognet [Fri, 14 May 2004 13:34:53 +0000 (13:34 +0000)]
Do not attempt to build anything in sys/boot for arm.

20 years agoDefine MACHINE_CPU for arm.
cognet [Fri, 14 May 2004 13:34:15 +0000 (13:34 +0000)]
Define MACHINE_CPU for arm.

20 years agoDefine iaddr_t and saddr_t for arm.
cognet [Fri, 14 May 2004 13:32:13 +0000 (13:32 +0000)]
Define iaddr_t and saddr_t for arm.

20 years agoUse WARNS?=3 for these in the arm case for now, due to toolchain issues.
cognet [Fri, 14 May 2004 13:31:21 +0000 (13:31 +0000)]
Use WARNS?=3 for these in the arm case for now, due to toolchain issues.

20 years agoAdd a list of all local changed files. All these files have been taken
mbr [Fri, 14 May 2004 13:29:48 +0000 (13:29 +0000)]
Add a list of all local changed files. All these files have been taken
of the vendor tree.

20 years agoWe don't need these files. Add the to the x-list.
mbr [Fri, 14 May 2004 13:28:37 +0000 (13:28 +0000)]
We don't need these files. Add the to the x-list.

20 years agoImplement enough of an uart driver to get serial console working.
cognet [Fri, 14 May 2004 13:26:52 +0000 (13:26 +0000)]
Implement enough of an uart driver to get serial console working.

20 years ago-maxdepth and -mindepth are global variables
eik [Fri, 14 May 2004 12:58:13 +0000 (12:58 +0000)]
-maxdepth and -mindepth are global variables

PR: 66613
Approved by: ru
MFC after: 3 days

20 years agoImport libkern arm specific bits.
cognet [Fri, 14 May 2004 12:28:31 +0000 (12:28 +0000)]
Import libkern arm specific bits.

20 years agoImport the openssl conf for arm.
cognet [Fri, 14 May 2004 12:26:51 +0000 (12:26 +0000)]
Import the openssl conf for arm.

20 years agoImport _setjmp.S for arm in libstand.
cognet [Fri, 14 May 2004 12:24:51 +0000 (12:24 +0000)]
Import _setjmp.S for arm in libstand.

20 years agoImport libkvm MD file for arm.
cognet [Fri, 14 May 2004 12:24:03 +0000 (12:24 +0000)]
Import libkvm MD file for arm.

20 years agoArm bits for libpthread. It has no chances to work and should be considered
cognet [Fri, 14 May 2004 12:21:29 +0000 (12:21 +0000)]
Arm bits for libpthread. It has no chances to work and should be considered
as stubs.

20 years agoC runtime support for FreeBSD/arm.
cognet [Fri, 14 May 2004 12:19:04 +0000 (12:19 +0000)]
C runtime support for FreeBSD/arm.

20 years agoImport arm bits for rtld-elf.
cognet [Fri, 14 May 2004 12:15:51 +0000 (12:15 +0000)]
Import arm bits for rtld-elf.

Obtained from: NetBSD

20 years agoImport the softfloat emulation library, needed for FreeBSD/arm right now.
cognet [Fri, 14 May 2004 12:13:06 +0000 (12:13 +0000)]
Import the softfloat emulation library, needed for FreeBSD/arm right now.
It should become useless when gcc 3.4 will be imported, as libgcc from
gcc 3.4 contains this bits for arm.

20 years agoImport the FreeBSD/arm libc bits.
cognet [Fri, 14 May 2004 12:04:31 +0000 (12:04 +0000)]
Import the FreeBSD/arm libc bits.

Obtained from: NetBSD

20 years agoWe use __arm__, not __arm32__.
cognet [Fri, 14 May 2004 11:51:22 +0000 (11:51 +0000)]
We use __arm__, not __arm32__.

20 years agoDefine malloc_pageshift and malloc_minsize for arm.
cognet [Fri, 14 May 2004 11:50:51 +0000 (11:50 +0000)]
Define malloc_pageshift and malloc_minsize for arm.

20 years agoAdd config magic for arm.
cognet [Fri, 14 May 2004 11:49:40 +0000 (11:49 +0000)]
Add config magic for arm.

20 years agoImport FreeBSD/arm kernel bits.
cognet [Fri, 14 May 2004 11:46:45 +0000 (11:46 +0000)]
Import FreeBSD/arm kernel bits.
It only supports sa1110 (on simics) right now, but xscale support should come
soon.
Some of the initial work has been provided by :
Stephane Potvin <sepotvin at videotron.ca>
Most of this comes from NetBSD.

20 years agoAdd support for GPE being a package of { reference, gpe bit }.
njl [Fri, 14 May 2004 04:17:56 +0000 (04:17 +0000)]
Add support for GPE being a package of { reference, gpe bit }.
Rework the ECDT probe to pass all the parameters in a temporary struct.
Note why we are mostly ok evaluating _GLK so early.

20 years agoFix a bug which I discovered recently while doing IPv6 testing at
wpaul [Fri, 14 May 2004 03:57:17 +0000 (03:57 +0000)]
Fix a bug which I discovered recently while doing IPv6 testing at
Wind River. In the IPv4 output path, one of the tests in ip_output()
checks how many slots are actually available in the interface output
queue before attempting to send a packet. If, for example, we need
to transmit a packet of 32K bytes over an interface with an MTU of
1500, we know it's going to take about 21 fragments to do it. If
there's less than 21 slots left in the output queue, there's no point
in transmitting anything at all: IP does not do retransmission, so
sending only some of the fragments would just be a waste of bandwidth.
(In an extreme case, if you're sending a heavy stream of fragmented
packets, you might find yourself sending nothing by the first fragment
of all your packets.) So if ip_output() notices there's not enough
room in the output queue to send the frame, it just dumps the packet
and returns ENOBUFS to the app.

It turns out ip6_output() lacks this code. Consequently, this caused
the netperf UDPIPV6_STREAM test to produce very poor results with large
write sizes. This commit adds code to check the remaining space in the
output queue and junk fragmented packets if they're too big to be
sent, just like with IPv4. (I can't imagine anyone's running an NFS
server using UDP over IPv6, but if they are, this will likely make them
a lot happier. :)

20 years agoFix a potential stack buffer overflow on systems whose ACPI OEMID
jdp [Fri, 14 May 2004 01:29:21 +0000 (01:29 +0000)]
Fix a potential stack buffer overflow on systems whose ACPI OEMID
fills its field (6 characters).  In that case the OEMID is not
null-terminated, and the sprintf that was used would copy up to the
next null byte, which could be pretty far away.

20 years agoDocument the "files" directive.
cognet [Thu, 13 May 2004 21:55:53 +0000 (21:55 +0000)]
Document the "files" directive.

Reminded by: jmg

20 years agoAdd some verbage over the difference between BUS_ADD_CHILD and
imp [Thu, 13 May 2004 20:54:49 +0000 (20:54 +0000)]
Add some verbage over the difference between BUS_ADD_CHILD and
device_add_child.  The former calls the latter.

Pointed out by: jhb