]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoFree asyreq.
simokawa [Wed, 30 Apr 2003 03:38:07 +0000 (03:38 +0000)]
Free asyreq.

Submitted by: ryuchi@ryuchi.org

21 years agoEliminate an unused parameter from vm_pageout_object_deactivate_pages().
alc [Wed, 30 Apr 2003 03:08:16 +0000 (03:08 +0000)]
Eliminate an unused parameter from vm_pageout_object_deactivate_pages().

21 years agoThis particular debugging statement is very verbose, making the rest
mtm [Wed, 30 Apr 2003 03:03:47 +0000 (03:03 +0000)]
This particular debugging statement is very verbose, making the rest
of the debug output hard to follow. Comment it out. It's commented out
in NetBSD's version as well.

Approved by: markm (mentor)(implicit)

21 years agoo Make the 'Ip-filter module loaded' messages informational
mtm [Wed, 30 Apr 2003 02:54:17 +0000 (02:54 +0000)]
o Make the 'Ip-filter module loaded' messages informational
o Make 'No ipnat rules' a warning
o Remove unecessary ' ..'

Approved by: markm (implicit)

21 years agoRunning the script with restart or manually stopping and starting
mtm [Wed, 30 Apr 2003 02:19:38 +0000 (02:19 +0000)]
Running the script with restart or manually stopping and starting
it doesn't work because the start_cmd doesn't enable ipfilter if
it is currently disabled.

Approved by: markm (mentor) (implicit)
Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
PR: conf/46103

21 years agoGet rid of the redundant 'gone' field, and overload suspend instead.
imp [Wed, 30 Apr 2003 01:54:38 +0000 (01:54 +0000)]
Get rid of the redundant 'gone' field, and overload suspend instead.
Check for suspend before the device polling, rather than after it.
Check to see if the current thread owns the lock in ioctl and return
EBUSY if it does.

This advances the locking to the point that I can eject my fxp card 10
times in a row, but I agree with Jeff Hsu that we need to get the
network layer locking finished before chasing more of the races here
(actually, he doesn't think this set is worth it even).  There's a
number of races between FXP_LOCK in detach and all other users of
FXP_LOCK, and this gets back to the 'device with sleepers being
forcibly detached' problem as well...

21 years agoIncrease some default values.
davidxu [Wed, 30 Apr 2003 01:18:29 +0000 (01:18 +0000)]
Increase some default values.

21 years agoCall kse_wakeup_mutli() after remove current thread from RUNQ to avoid
davidxu [Wed, 30 Apr 2003 01:15:21 +0000 (01:15 +0000)]
Call kse_wakeup_mutli() after remove current thread from RUNQ to avoid
doing unnecessary idle kse wakeup.

21 years agoCall kse_wakeup_multi() to wakeup idle KSEs when there are threads ready
davidxu [Wed, 30 Apr 2003 01:03:58 +0000 (01:03 +0000)]
Call kse_wakeup_multi() to wakeup idle KSEs when there are threads ready
to run.

21 years agoMake sure rhostip is always initialized.
des [Wed, 30 Apr 2003 00:49:42 +0000 (00:49 +0000)]
Make sure rhostip is always initialized.

PR: bin/51508
Submitted by: Peter Grimshaw <peter@tesseract.demon.co.uk>

21 years agoTreat an empty PAM_RHOST the same as a NULL one.
des [Wed, 30 Apr 2003 00:44:05 +0000 (00:44 +0000)]
Treat an empty PAM_RHOST the same as a NULL one.

PR: bin/51508

21 years agoAdd vm_object locking to vmspace_swap_count().
alc [Wed, 30 Apr 2003 00:43:17 +0000 (00:43 +0000)]
Add vm_object locking to vmspace_swap_count().

21 years agoSet $HOME to the correct directory (within the chroot tree).
des [Wed, 30 Apr 2003 00:40:24 +0000 (00:40 +0000)]
Set $HOME to the correct directory (within the chroot tree).

21 years agoAdd support to CAM for devices with more than 2^32 blocks. (2TB if you're
ken [Wed, 30 Apr 2003 00:35:22 +0000 (00:35 +0000)]
Add support to CAM for devices with more than 2^32 blocks.  (2TB if you're
using 512 byte blocks).

cam_ccb.h: Bump up volume_size and cylinders in ccb_calc_geometry to
64 bits and 32 bits respectively, so we can hold larger
device sizes.  cylinders would overflow at about 500GB.
Bump CAM_VERSION for this change.  Note that this will
require a recompile of all applications that talk to the
pass(4) driver.

scsi_all.c: Add descriptions for READ/WRITE(16), update READ/WRITE(12)
descriptions, add descriptions for SERVICE ACTION IN/OUT.
Add a new function, scsi_read_capacity_16(), that issues
the read capacity service action.  (Necessary for arrays
larger than 2^32 sectors.)  Update scsi_read_write() to use
a 64 bit LBA and issue READ(16) or WRITE(16) if necessary.
NOTE the API change.  This should be largely transparnet
to most userland applications at compile time, but will
break binary compatibility.  The CAM_VERSION bump, above,
also serves the purpose of forcing a recompile for any
applications that talk to CAM.

scsi_all.h: Add 16 byte READ/WRITE structures, structures for 16 byte
READ CAPACITY/SERVICE ACTION IN.  Add scsi_u64to8b() and
scsi_8btou64.

scsi_da.c: The da(4) driver probe now has two stages for devices
larger than 2TB.  If a standard READ CAPACITY(10) returns
0xffffffff, we issue the 16 byte version of read capacity
to determine the true array capacity.  We also do the same
thing in daopen() -- use the 16 byte read capacity if the
device is large enough.

The sysctl/loader code has also been updated to accept
16 bytes as a minimum command size.

21 years agoAdd missing crom_next() in the previous revision.
simokawa [Tue, 29 Apr 2003 23:40:04 +0000 (23:40 +0000)]
Add missing crom_next() in the previous revision.

21 years agoAdd definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP.
mdodd [Tue, 29 Apr 2003 22:03:46 +0000 (22:03 +0000)]
Add definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP.

21 years agoIP_RECVTTL socket option.
mdodd [Tue, 29 Apr 2003 21:36:18 +0000 (21:36 +0000)]
IP_RECVTTL socket option.

Reviewed by: Stuart Cheshire <cheshire@apple.com>

21 years agoAllow fast instruction and data access mmu miss traps to be handled by
jake [Tue, 29 Apr 2003 21:30:59 +0000 (21:30 +0000)]
Allow fast instruction and data access mmu miss traps to be handled by
user trap handlers.

21 years ago`Hide' strlcpy and strlcat (using the namespace.h / __weak_reference
nectar [Tue, 29 Apr 2003 21:13:50 +0000 (21:13 +0000)]
`Hide' strlcpy and strlcat (using the namespace.h / __weak_reference
technique) so that we don't wind up calling into an application's
version if the application defines them.

Inspired by: qpopper's interfering and buggy version of strlcpy

21 years agoJump to the correct label upon detecting an error.
deischen [Tue, 29 Apr 2003 21:05:17 +0000 (21:05 +0000)]
Jump to the correct label upon detecting an error.

21 years agoCreate the thread signal lock as a KSE lock (as opposed to
deischen [Tue, 29 Apr 2003 21:03:33 +0000 (21:03 +0000)]
Create the thread signal lock as a KSE lock (as opposed to
a thread lock).

Better protect access to thread state while searching for
threads to handle a signal.

Better protect access to process pending signals while processing
a thread in sigwait().

Submitted by: davidxu

21 years agoUnbreak the build.
hrs [Tue, 29 Apr 2003 20:39:38 +0000 (20:39 +0000)]
Unbreak the build.

21 years agoCall exit(0), not exit.
kan [Tue, 29 Apr 2003 19:53:00 +0000 (19:53 +0000)]
Call exit(0), not exit.

21 years agoFix an obscure fencepost error in GBDE's sector mapping code:
phk [Tue, 29 Apr 2003 19:46:42 +0000 (19:46 +0000)]
Fix an obscure fencepost error in GBDE's sector mapping code:

For certain combinations of sectorsize, mediasize and random numbers
(used to define the mapping), a multisector read or write would ignore
some subset of the sectors past the first sector in the request because
those sectors would be mapped past the end of the parent device, and
normal "end of media" truncation would zap that part of the request.

Rev 1.19+1.20 of g_bde_work.c added the check which should have alerted
me to this happening.  This commit maps the request correctly and
adds KASSERTS to make sure things stay inside the parent device.

This does not change the on-disk layout of GBDE, there is no need to
backup/restore.

21 years agoTypo in last commit: Do not press xZZ to leave vi(1).
phk [Tue, 29 Apr 2003 19:38:55 +0000 (19:38 +0000)]
Typo in last commit:  Do not press xZZ to leave vi(1).

21 years agoWhen a bio comes back from below with a zero error code, check that
phk [Tue, 29 Apr 2003 19:37:36 +0000 (19:37 +0000)]
When a bio comes back from below with a zero error code, check that
it wrote the full length.  The only case where this should be able
to happen is if we try to read/write past the end and the request
is truncated.  We obviously should never try to do that, so this
code should never activate.

21 years agoCatch up with the new acpi files.
njl [Tue, 29 Apr 2003 19:19:47 +0000 (19:19 +0000)]
Catch up with the new acpi files.

21 years agoResolve conflicts.
njl [Tue, 29 Apr 2003 19:11:00 +0000 (19:11 +0000)]
Resolve conflicts.

21 years agoSupport functions for the new ACPI import.
njl [Tue, 29 Apr 2003 18:50:34 +0000 (18:50 +0000)]
Support functions for the new ACPI import.
  * AcpiOsDerivePciId(): finds a bus number, given the slot/func and the
    acpi parse tree.
  * AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to
    override the value for _OS.

Ideas from: takawata, jhb
Reviewed by: takawata, marcel
Tested on: i386, ia64

21 years agoRemove unused declarations and definitions.
alc [Tue, 29 Apr 2003 18:49:25 +0000 (18:49 +0000)]
Remove unused declarations and definitions.

21 years agoUpdated import-preparation script. It now removes vendor paths from header
njl [Tue, 29 Apr 2003 18:48:17 +0000 (18:48 +0000)]
Updated import-preparation script.  It now removes vendor paths from header
info.  With these changes, no manual prep of the dist was necessary.

21 years agoResolve conflicts
njl [Tue, 29 Apr 2003 18:46:31 +0000 (18:46 +0000)]
Resolve conflicts

21 years agoThis commit was generated by cvs2svn to compensate for changes in r114239,
njl [Tue, 29 Apr 2003 18:39:30 +0000 (18:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r114239,
which included commits to RCS files with non-trunk default branches.

21 years agoImport of Intel ACPI 20030228 vendor distribution
njl [Tue, 29 Apr 2003 18:39:30 +0000 (18:39 +0000)]
Import of Intel ACPI 20030228 vendor distribution

21 years agoThis commit was generated by cvs2svn to compensate for changes in r114237,
njl [Tue, 29 Apr 2003 18:39:29 +0000 (18:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r114237,
which included commits to RCS files with non-trunk default branches.

21 years agoImport of Intel ACPI 20030228 vendor distribution
njl [Tue, 29 Apr 2003 18:39:29 +0000 (18:39 +0000)]
Import of Intel ACPI 20030228 vendor distribution

21 years agoUnbreak the build.
hrs [Tue, 29 Apr 2003 18:27:38 +0000 (18:27 +0000)]
Unbreak the build.

21 years agoEnable wchar_t support in libstdc++.
kan [Tue, 29 Apr 2003 18:10:45 +0000 (18:10 +0000)]
Enable wchar_t support in libstdc++.

21 years agoAdd an item about the majordomo to Mailman change.
trhodes [Tue, 29 Apr 2003 17:44:37 +0000 (17:44 +0000)]
Add an item about the majordomo to Mailman change.

Discussed with: bmah

21 years agoAdd media types and options for ATM. While on most ATM cards media cannot
harti [Tue, 29 Apr 2003 17:23:23 +0000 (17:23 +0000)]
Add media types and options for ATM. While on most ATM cards media cannot
be changed, it is very convenient to be able to toggle SDH/Sonet,
idle/unassigned cells and scrambled mode and to see the carrier
state.

Reviewed by: -arch (if_media.h definitions)

21 years agoWhitespace commit.
trhodes [Tue, 29 Apr 2003 17:04:48 +0000 (17:04 +0000)]
Whitespace commit.

21 years agoInitialize tbuf in newstat_copyout() too.
mbr [Tue, 29 Apr 2003 17:03:22 +0000 (17:03 +0000)]
Initialize tbuf in newstat_copyout() too.

Reviewed by: phk

21 years agoUpdate majordomo > mailman at this location also.
trhodes [Tue, 29 Apr 2003 17:02:01 +0000 (17:02 +0000)]
Update majordomo > mailman at this location also.

Requested by: bmah

21 years agoWe need pccard start too.
imp [Tue, 29 Apr 2003 15:32:02 +0000 (15:32 +0000)]
We need pccard start too.

21 years agoSet recv.len to zero if we get no response.
simokawa [Tue, 29 Apr 2003 15:02:34 +0000 (15:02 +0000)]
Set recv.len to zero if we get no response.

21 years agoGet correct firmware/model information for multiple unit directories.
simokawa [Tue, 29 Apr 2003 15:01:01 +0000 (15:01 +0000)]
Get correct firmware/model information for multiple unit directories.

21 years agodebug.acpi.disable="processor" is incorrect. Use debug.acpi.disable="cpu" as
trhodes [Tue, 29 Apr 2003 14:50:34 +0000 (14:50 +0000)]
debug.acpi.disable="processor" is incorrect.  Use debug.acpi.disable="cpu" as
found on line 126 of sys/dev/acpica/acpi_cpu.c.

PR: 51523

21 years agoFix indentation.
simokawa [Tue, 29 Apr 2003 14:05:17 +0000 (14:05 +0000)]
Fix indentation.

21 years agoAdd functions for sending a link-on packet and a RESET_START request.
simokawa [Tue, 29 Apr 2003 13:49:21 +0000 (13:49 +0000)]
Add functions for sending a link-on packet and a RESET_START request.

21 years agoDeprecate machine/limits.h in favor of new sys/limits.h.
kan [Tue, 29 Apr 2003 13:36:06 +0000 (13:36 +0000)]
Deprecate machine/limits.h in favor of new sys/limits.h.
Change all in-tree consumers to include <sys/limits.h>

Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>

21 years agoMove CSR definitions to iec*.h from firewirereg.h.
simokawa [Tue, 29 Apr 2003 13:27:13 +0000 (13:27 +0000)]
Move CSR definitions to iec*.h from firewirereg.h.

21 years agoDo the same thing for stat64_copyout() as we already
mbr [Tue, 29 Apr 2003 12:36:03 +0000 (12:36 +0000)]
Do the same thing for stat64_copyout() as we already
do for newstat_copyout().

Lie about disk drives which are character devices
in FreeBSD but block devices under Linux.

PR: 37227
Submitted by: Vladimir B. Grebenschikov <vova@sw.ru>
Reviewed by: phk
MFC after: 2 weeks

21 years agonew netstart
jwd [Tue, 29 Apr 2003 12:26:37 +0000 (12:26 +0000)]
new netstart
atm should be correct but is commented out pending appropriate testing.

Submitted by: mtm

21 years agoAdd rc.subr (found during new /etc/netstart testing)
jwd [Tue, 29 Apr 2003 12:08:43 +0000 (12:08 +0000)]
Add rc.subr (found during new /etc/netstart testing)

21 years agoAdd NetBSD 1.6.1
wosch [Tue, 29 Apr 2003 12:07:11 +0000 (12:07 +0000)]
Add NetBSD 1.6.1

21 years agoAdd entries for Multicast DNS.
mdodd [Tue, 29 Apr 2003 09:54:06 +0000 (09:54 +0000)]
Add entries for Multicast DNS.

21 years agoRevamp the newbus functions:
marcel [Tue, 29 Apr 2003 09:50:03 +0000 (09:50 +0000)]
Revamp the newbus functions:
o  do not use the in* and out* functions. These functions are used by
   legacy drivers and thus must have ia32 compatible behaviour. Hence,
   they  need to have fences. Using these functions for newbus would
   then pessimize performance.
o  remove the conditional compilation of PIO and/or MEMIO support. It's
   a PITA without having any significant benefit. We always support them
   both. Since there are no I/O ports on ia64 (they are simulated by the
   chipset by translating memory mapped I/O to predefined uncacheable
   memory regions) the only difference between PIO and MEMIO is in the
   address calculation. There should be enough ILP that can be exploited
   here that making these computations compile-time conditional is not
   worth it. We now also don't use the read* and write* functions.
o  Add the missing *_8 variants. They were missing, although not missed.
   It's for completeness.
o  Do not add the fences that were present in the low-level support
   functions here. We're using uncacheable memory, which means that
   accesses are in program order. Change the barrier implementation
   to not only do a memory fence, but also an acceptance fence. This
   should more reliably synchronize drivers with the hardware. The
   memory fence enforces ordering, but does not imply visibility (ie
   the access does not necessarily have happened). This is what the
   acceptance deals with.

cpufunc.h cleanup:
o  Remove the low-level memory mapped I/O support functions. They are
   not used. Keep the low-level I/O port access functions for legacy
   drivers and add fences to ensure ia32 compatibility.
o  Remove the syscons specific functions now that we have moved the
   proper definitions where they belong.
o  Replace the ia64_port_address() and ia64_memory_address() functions
   with macros. There's a bigger change inline functions get inlined
   when there aren't function callsi and the calculations are simply
   enough to do it with macros.

Replace the one reference to ia64_memory address in mp_machdep.c to
use the macro.

21 years agopanic() doesn't need \n
suz [Tue, 29 Apr 2003 08:43:56 +0000 (08:43 +0000)]
panic() doesn't need \n

Obtained from: KAME
MFC after: 2 days

21 years agoDocument the IP_RECVIF socket option.
mdodd [Tue, 29 Apr 2003 08:37:52 +0000 (08:37 +0000)]
Document the IP_RECVIF socket option.

Submitted by:  Bruce M Simpson

21 years agoDocument VM86_INTCALL.
mdodd [Tue, 29 Apr 2003 08:35:28 +0000 (08:35 +0000)]
Document VM86_INTCALL.

Submitted by:  Bruce M Simpson

21 years agoAdd module data and version to the atm_subr and reference this info from the
harti [Tue, 29 Apr 2003 08:07:44 +0000 (08:07 +0000)]
Add module data and version to the atm_subr and reference this info from the
(currently) only consumer (en).

Add a sysctl node hw.atm where the atm drivers will hook on their hardware
sysctl sub-trees.

Make atm_ifattach call if_attach and remove the corresponding call to if_attach
from en. Create atm_ifdetach and use that in en.

While the last change actually changes the interface this is not a problem in
practice because the only other consumer of this API is an older LANAI driver
on the net, that is not ready for current anyway.

Reviewed by: -atm

21 years agoKeep syscons specific I/O functions internal/specific to syscons on
marcel [Tue, 29 Apr 2003 07:06:44 +0000 (07:06 +0000)]
Keep syscons specific I/O functions internal/specific to syscons on
ia64 by defining them in terms of newbus. Add a static inline for
fillw(), which doesn't have anything to do with I/O.
It's still ugly, but now the ugliness can be removed from ia64
specific headers.

21 years agoMove the mktemp invocation inside motd_start to avoid creating temp
dougb [Tue, 29 Apr 2003 06:56:40 +0000 (06:56 +0000)]
Move the mktemp invocation inside motd_start to avoid creating temp
files when uptdate_motd and clear_tmp_enable are both NO.

Submitted by: Alex Deiter <tiamat@komi.mts.ru>

21 years ago - Remove unnecessary useracc() calls from osf1_sigreturn().
alc [Tue, 29 Apr 2003 06:33:03 +0000 (06:33 +0000)]
 - Remove unnecessary useracc() calls from osf1_sigreturn().

21 years agoFix typo on O2Micro devices names.
imp [Tue, 29 Apr 2003 05:59:04 +0000 (05:59 +0000)]
Fix typo on O2Micro devices names.

Submitted by: noda-san

21 years ago(5) from last commit was omitted by mistake:
imp [Tue, 29 Apr 2003 05:47:14 +0000 (05:47 +0000)]
(5) from last commit was omitted by mistake:

(5) Return immediately from fxp_intr() if gone is set.

21 years agoFix 5 bugs:
imp [Tue, 29 Apr 2003 05:45:09 +0000 (05:45 +0000)]
Fix 5 bugs:
1) always call fxp_stop in fxp_detach.  Since we don't read from
   the card, there's no need to carefully look at things with
   bus_child_present.
2) Call FXP_UNLOCK() before calling bus_teardown_intr to avoid
   a possible deadlock reported by jhb.
3) add gone to the softc.  Set it to true in detach.
4) Return immediately if gone is true in fxp_ioctl
5) Return immediately if gone is true in fxp_intr

21 years agoSort lines.
marcel [Tue, 29 Apr 2003 05:38:41 +0000 (05:38 +0000)]
Sort lines.

21 years agoMFi386: revision 1.1086.
nyan [Tue, 29 Apr 2003 03:47:16 +0000 (03:47 +0000)]
MFi386: revision 1.1086.

21 years agoNew release note: tw(4) removal.
bmah [Tue, 29 Apr 2003 03:33:39 +0000 (03:33 +0000)]
New release note:  tw(4) removal.

Also remove from hardware notes.

21 years agoDon't hold a driver lock across bus_teardown_intr. Jhb points out
imp [Tue, 29 Apr 2003 03:22:39 +0000 (03:22 +0000)]
Don't hold a driver lock across bus_teardown_intr.  Jhb points out
that one cannot generally hold a lock and call bus_teardown_intr.
This is race free with wi_intr because bus_teardown_intr won't allow
wi_intr to be called after it returns.

# jeff hsu points out that there might be a race between this unlock
# and wi_start.  While that may be true also, it won't impact this commit.

Submitted by: jhb

21 years agoUse 16 byte alignment for internal labels, 32 bytes is excessive.
jake [Tue, 29 Apr 2003 00:53:13 +0000 (00:53 +0000)]
Use 16 byte alignment for internal labels, 32 bytes is excessive.

21 years ago- Fix placement of cvs ids in previous commit to match .S files in libc.
jake [Tue, 29 Apr 2003 00:37:41 +0000 (00:37 +0000)]
- Fix placement of cvs ids in previous commit to match .S files in libc.
- gcc uses 32 byte alignment for functions regardless of profiling, so
  follow suit.

21 years agoo Don't add a scope system thread's KSE to the list of available
deischen [Mon, 28 Apr 2003 23:56:12 +0000 (23:56 +0000)]
o Don't add a scope system thread's KSE to the list of available
  KSEs when it's thread exits; allow the GC handler to do that.

o Make spinlock/spinlock critical regions.

The following were submitted by davidxu

  o Alow thr_switch() to take a null mailbox argument.

  o Better protect cancellation checks.

  o Don't set KSE specific data when creating new KSEs; rely on the
    first upcall of the KSE to set it.

  o Add the ability to set the maximum concurrency level and do this
    automatically.  We should have a way to enable/disable this with
    some sort of tunable because some applications may not want this
    to be the default.

  o Hold the scheduling lock across thread switch calls.

  o If scheduling of a thread fails, make sure to remove it from the list
    of active threads.

  o Better protect accesses to a joining threads when the target thread is
    exited and detached.

  o Remove some macro definitions that are now provided by <sys/kse.h>.

  o Don't leave the library in threaded mode if creation of the initial
    KSE fails.

  o Wakeup idle KSEs when there are threads ready to run.

  o Maintain the number of threads active in the priority queue.

21 years agoThis file is unused.
jake [Mon, 28 Apr 2003 23:32:55 +0000 (23:32 +0000)]
This file is unused.

21 years agoAdd definitions for WCHAR_MIN and WCHAR_MAX.
kan [Mon, 28 Apr 2003 22:40:05 +0000 (22:40 +0000)]
Add definitions for WCHAR_MIN and WCHAR_MAX.

21 years agoProperly define CHAR_MIN/CHAR_MAX taking into account whether or
kan [Mon, 28 Apr 2003 22:37:40 +0000 (22:37 +0000)]
Properly define CHAR_MIN/CHAR_MAX taking into account whether or
not __CHAR_UNSIGNED__ is defined.

21 years agoRemove unmatched #endif left over incidenntally in last commit.
kan [Mon, 28 Apr 2003 22:35:34 +0000 (22:35 +0000)]
Remove unmatched #endif left over incidenntally in last commit.

21 years ago(forced commit) Previous patch was incorrectly attributed. It was actually:
archie [Mon, 28 Apr 2003 22:07:40 +0000 (22:07 +0000)]
(forced commit) Previous patch was incorrectly attributed. It was actually:

Submitted by: jordbaer@mac.com

21 years agoDefine AFMT_S16_NE for "16-bit signed format in machine's
mbr [Mon, 28 Apr 2003 21:38:38 +0000 (21:38 +0000)]
Define AFMT_S16_NE for "16-bit signed format in machine's
native endian convention. Needed by newer OSS ports.

Reviewed by: orion
PR: 27270
MFC: 2 weeks

21 years agoUse the correct link entry for walking the list of threads.
deischen [Mon, 28 Apr 2003 21:35:06 +0000 (21:35 +0000)]
Use the correct link entry for walking the list of threads.

While I'm here, use the TAILQ_FOREACH macro instead of a more
manual method which was inherited from libc_r (so we could
remove elements from the list which isn't needed for libpthread).

Submitted by: Kazuaki Oda <kaakun@highway.ne.jp>

21 years agoAdd missing braces.
archie [Mon, 28 Apr 2003 20:38:05 +0000 (20:38 +0000)]
Add missing braces.

Submitted by: Andrew Lankford <arlankfo@141.com>

21 years agoUse inlines for loading and storing page table entries. Use cmpxchg8b for
jake [Mon, 28 Apr 2003 20:35:36 +0000 (20:35 +0000)]
Use inlines for loading and storing page table entries.  Use cmpxchg8b for
the PAE case to ensure idempotent 64 bit loads and stores.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoTriggered by obtaining a Rawhide for my machine farm add some more detail to
wilko [Mon, 28 Apr 2003 20:04:31 +0000 (20:04 +0000)]
Triggered by obtaining a Rawhide for my machine farm add some more detail to
it's section. More to come later.

21 years agoArgh! We want to return the old signal set when the error return is zero
jhb [Mon, 28 Apr 2003 19:43:11 +0000 (19:43 +0000)]
Argh!  We want to return the old signal set when the error return is zero
(i.e. success), not non-zero (failure).

Submitted by: tegge
Pointy hat to: jhb

21 years agoMerge from vendor branch:
wollman [Mon, 28 Apr 2003 18:57:25 +0000 (18:57 +0000)]
Merge from vendor branch:
- No more DST in Pakistan
- Update some historical information
- New zone for Rothera station in the Antarctic.

PR: misc/51495

21 years agoThis commit was generated by cvs2svn to compensate for changes in r114170,
wollman [Mon, 28 Apr 2003 18:51:20 +0000 (18:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r114170,
which included commits to RCS files with non-trunk default branches.

21 years agoUpdate to latest drop from Arthur Olson and the gang.
wollman [Mon, 28 Apr 2003 18:51:20 +0000 (18:51 +0000)]
Update to latest drop from Arthur Olson and the gang.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2003

21 years agoMake IRQ shareable for the cardbus case too.
imp [Mon, 28 Apr 2003 18:50:59 +0000 (18:50 +0000)]
Make IRQ shareable for the cardbus case too.

21 years agostyle(9)
mike [Mon, 28 Apr 2003 18:32:19 +0000 (18:32 +0000)]
style(9)

21 years agoI accidentally leaked this debugging tool in with my last commit.
phk [Mon, 28 Apr 2003 17:57:12 +0000 (17:57 +0000)]
I accidentally leaked this debugging tool in with my last commit.

Disable it with a direct warning.

21 years ago - Lock the vm_object when performing swap_pager_isswapped().
alc [Mon, 28 Apr 2003 17:13:53 +0000 (17:13 +0000)]
 - Lock the vm_object when performing swap_pager_isswapped().
 - Assert that the vm_object is locked in swap_pager_isswapped().

21 years agodocument mode directive
sam [Mon, 28 Apr 2003 16:47:40 +0000 (16:47 +0000)]
document mode directive

21 years agoadd a "mode" directive to specify the operating mode for multi-mode devices;
sam [Mon, 28 Apr 2003 16:37:38 +0000 (16:37 +0000)]
add a "mode" directive to specify the operating mode for multi-mode devices;
this is mostly intended for use with multi-mode 802.11 devices that support
some combination of 11a, 11b, and 11g

21 years agoo add support for multi-mode devices like 802.11 wireless cards that support
sam [Mon, 28 Apr 2003 16:35:51 +0000 (16:35 +0000)]
o add support for multi-mode devices like 802.11 wireless cards that support
  11a/b/g by adding an optional 3-bit mode field
o correct the spelling of OFDM (was ODFM)
o add an 802.11 subtype option for turbo mode: the phy is clocked at 2x the
  normal clock rate; note this can be applied to both OFDM in 11a and OFDM
  in 11g mode (and possibly DS11 in 11b for certain phy's)
o add 802.11 CCK aliases for 11b/11g rates--the more common terminology

21 years agoInstall the gstat manual page.
tjr [Mon, 28 Apr 2003 11:54:01 +0000 (11:54 +0000)]
Install the gstat manual page.

21 years agoWhen updating a single entry (i.e. when the `-u' option is given),
nectar [Mon, 28 Apr 2003 11:41:56 +0000 (11:41 +0000)]
When updating a single entry (i.e. when the `-u' option is given),
do not add the "\xFF" "VERSION" key --- it should only be added once
ALL entries have been updated.

While I'm here, correct the logic that detects whether or not the
user-ID has changed so that it works even if all entries have not
yet been updated to the new format.

Users missing-in-action were
Reported by: tjr, Vallo Kallaste <vallo@estcard.ee>,
    leafy <leafy@leafy.idv.tw>

Sponsored by: DARPA, Network Associates Laboratories

21 years agoxten has gone.
maxim [Mon, 28 Apr 2003 08:36:45 +0000 (08:36 +0000)]
xten has gone.

21 years agosync with the latest KAME (just a cosmetic change)
suz [Mon, 28 Apr 2003 08:21:57 +0000 (08:21 +0000)]
sync with the latest KAME (just a cosmetic change)

MFC after: 1 day

21 years agoPull the pst driver out from under GAINT.
sos [Mon, 28 Apr 2003 08:10:27 +0000 (08:10 +0000)]
Pull the pst driver out from under GAINT.