]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoRemove _ARCH_INDIRECT, it was the glue to enable having both hardware
peter [Wed, 23 Jul 2003 04:28:51 +0000 (04:28 +0000)]
Remove _ARCH_INDIRECT, it was the glue to enable having both hardware
and software versions of the floating point code in libm.  The runtime
selection was done by reading the hw.floatingpoint sysctl via
__get_hw_float().

21 years agoNo longer need the internal __get_hw_float() function.
peter [Wed, 23 Jul 2003 04:25:04 +0000 (04:25 +0000)]
No longer need the internal __get_hw_float() function.

21 years agoNow that we do not need to do runtime detection for the broken default
peter [Wed, 23 Jul 2003 04:23:36 +0000 (04:23 +0000)]
Now that we do not need to do runtime detection for the broken default
fp emulator, stop doing the runtime selection of hardware or emulated
floating point operations on i386.  Note that I have not suppressed the
duplicate compiles yet.

While here, fix the alpha.  It has provided specific copysign/copysignf
functions since the beginning of time, but they have never been used.

21 years agoWe sloppily created an array for the high FP registers (f32-f127),
marcel [Wed, 23 Jul 2003 03:08:34 +0000 (03:08 +0000)]
We sloppily created an array for the high FP registers (f32-f127),
but this just created a weird inconsistency when porting gdb(1).
Instead, we name each high FP register seperately, like we do for
all the other registers.

21 years agoMove idle kse wakeup to outside of regions where locks are held.
deischen [Wed, 23 Jul 2003 02:11:07 +0000 (02:11 +0000)]
Move idle kse wakeup to outside of regions where locks are held.
This eliminates ping-ponging of locks, where the idle KSE wakes
up only to find the lock it needs is being held.  This gives
little or no gain to M:N mode but greatly speeds up 1:1 mode.

Reviewed & Tested by: davidxu

21 years agoAttempt to preempt any new gcc-ism references to
peter [Tue, 22 Jul 2003 23:50:32 +0000 (23:50 +0000)]
Attempt to preempt any new gcc-ism references to
__attribute__((__always_inline__)) by adding an __always_inline macro
(used like __dead2 etc).  __inline_damnit has also been suggested but we
have a precedent of keeping the names similar so they are easier to find.

21 years agoThere is strong reason to believe that gcc 4 will also support
imp [Tue, 22 Jul 2003 23:14:32 +0000 (23:14 +0000)]
There is strong reason to believe that gcc 4 will also support
__attribute__((__nonnull__(x)), assume it so.

21 years agoAdded entry for Billionton LM5LT-10N
dds [Tue, 22 Jul 2003 21:23:01 +0000 (21:23 +0000)]
Added entry for Billionton LM5LT-10N
Fixed small typo

Reviewed by: imp
Approved by: imp

21 years agoRemove all but one of the inlines here, this reduces the code size by
phk [Tue, 22 Jul 2003 20:54:26 +0000 (20:54 +0000)]
Remove all but one of the inlines here, this reduces the code size by
2032 bytes and has no measurable impact on performance.

21 years agoFixed .Nm element, updated HISTORY section, added AUTHORS section.
dds [Tue, 22 Jul 2003 19:23:45 +0000 (19:23 +0000)]
Fixed .Nm element, updated HISTORY section, added AUTHORS section.

Reviewed by: schweikh (mentor)
MFC after: 2 weeks

21 years agoTest 8.16 in sed.test tests the ability of a sed to handle an empty
dds [Tue, 22 Jul 2003 19:22:08 +0000 (19:22 +0000)]
Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.

The specific test was also not being executed for the BSD sed.

Both problems are now fixed.

PR: misc/25585
Submitted by: Walter Briscoe <w.briscoe@ponl.com>
Approved by: schweikh (mentor)
MFC after: 2 weeks

21 years agocorrect device table a la ath(4)
sam [Tue, 22 Jul 2003 19:08:46 +0000 (19:08 +0000)]
correct device table a la ath(4)

21 years agoadd IPSEC_FILTERGIF suport for FAST_IPSEC
sam [Tue, 22 Jul 2003 18:58:34 +0000 (18:58 +0000)]
add IPSEC_FILTERGIF suport for FAST_IPSEC

PR: kern/51922
Submitted by: Eric Masson <e-masson@kisoft-services.com>
MFC after: 1 week

21 years agoDe-inline some functions. It doesn't gain us anything and bloats
mux [Tue, 22 Jul 2003 15:50:54 +0000 (15:50 +0000)]
De-inline some functions.  It doesn't gain us anything and bloats
code size by 3616 bytes.  Furthemore, it was previously ignored by GCC.

While I'm at it, fix some bogus comments.

21 years agoAllocate network interfaces from malloc() instead of using a zone.
harti [Tue, 22 Jul 2003 15:11:08 +0000 (15:11 +0000)]
Allocate network interfaces from malloc() instead of using a zone.
Usually one needs only a couple of them so using a zone is waste
of memory (esp. on multi-cpu systems).

21 years agoMake sure the crypto versions of libfetch and fetch(1) appear in
ru [Tue, 22 Jul 2003 13:54:31 +0000 (13:54 +0000)]
Make sure the crypto versions of libfetch and fetch(1) appear in
the "crypto" distribution.

Approved by: des

21 years agoRemove the zone limits for all the zones used in the ATM code.
harti [Tue, 22 Jul 2003 12:46:30 +0000 (12:46 +0000)]
Remove the zone limits for all the zones used in the ATM code.
These were a left over from when the private memory pools were
converted to use uma zones. The limit of UMA zones, however,
works differently. When a zone is limited to only one or two pages
than, on multi-cpu systems, processes can get stuck on the zonelimit,
because all remaining free items are in caches of other CPUs.

Also add rudimentary error handling in some places (panic) when a zone
cannot be created.

21 years agoEISA_SLOTS is mandantory to get opt_eisa.h
ticso [Tue, 22 Jul 2003 11:42:45 +0000 (11:42 +0000)]
EISA_SLOTS is mandantory to get opt_eisa.h
Put it into MI files.

21 years agorelocate eisa into MI files.
ticso [Tue, 22 Jul 2003 11:41:15 +0000 (11:41 +0000)]
relocate eisa into MI files.

Suggested by: jhb

21 years agonote rescue issues and fpu emulation removal
imp [Tue, 22 Jul 2003 11:08:41 +0000 (11:08 +0000)]
note rescue issues and fpu emulation removal

21 years agoRevert stuff which accidentally ended up in the previous commit.
phk [Tue, 22 Jul 2003 10:36:36 +0000 (10:36 +0000)]
Revert stuff which accidentally ended up in the previous commit.

21 years agoDon't attempt to inline large functions mb_alloc() and mb_free(),
phk [Tue, 22 Jul 2003 10:24:41 +0000 (10:24 +0000)]
Don't attempt to inline large functions mb_alloc() and mb_free(),
it more than doubles the text size of this file.

GCC has wisely ignored us on this previously

21 years agoMove inlined function ie_ack() up to before first use.
phk [Tue, 22 Jul 2003 09:35:45 +0000 (09:35 +0000)]
Move inlined function ie_ack() up to before first use.

21 years agoDon't inline very large functions.
phk [Tue, 22 Jul 2003 09:27:58 +0000 (09:27 +0000)]
Don't inline very large functions.

Gcc has silently not been doing this for a long time.

21 years agoDon't inline ridiculously very large functions.
phk [Tue, 22 Jul 2003 09:22:00 +0000 (09:22 +0000)]
Don't inline ridiculously very large functions.

Compared to the contents of these functions, an extra function call
is nano-peanuts.

21 years ago/floppies/boot.flp is no longer necessary on bootable i386 CD-ROMs.
ru [Tue, 22 Jul 2003 09:04:09 +0000 (09:04 +0000)]
/floppies/boot.flp is no longer necessary on bootable i386 CD-ROMs.

Forgotten by: jhb

21 years agoDon't complain about inlines for genassym
phk [Tue, 22 Jul 2003 09:02:21 +0000 (09:02 +0000)]
Don't complain about inlines for genassym

21 years agoWhen padding an mbuf chain to have a length that is a multiple
harti [Tue, 22 Jul 2003 08:20:09 +0000 (08:20 +0000)]
When padding an mbuf chain to have a length that is a multiple
of 48 bytes for AAL0, we also need to update the packet header.

Spotted by: Anil Madhavapeddy <anil@recoil.org>

21 years agoUpdate npx status.
peter [Tue, 22 Jul 2003 08:15:29 +0000 (08:15 +0000)]
Update npx status.

Reminded by:  tjr

21 years agoInitiate de-orbit burn for fpu-less operation. 386+387 is still
peter [Tue, 22 Jul 2003 08:11:17 +0000 (08:11 +0000)]
Initiate de-orbit burn for fpu-less operation.  386+387 is still
theoretically supportable, but you'd really be happier with FreeBSD 2.1.8
on it.

21 years agoAdd a note that net.inet.ip.fw.autoinc_step is ipfw2-specific
luigi [Tue, 22 Jul 2003 07:41:24 +0000 (07:41 +0000)]
Add a note that net.inet.ip.fw.autoinc_step is ipfw2-specific

21 years agoFix a 64 bit bug lost in the inline warning noise. sizeof is not always
peter [Tue, 22 Jul 2003 06:58:04 +0000 (06:58 +0000)]
Fix a 64 bit bug lost in the inline warning noise.  sizeof is not always
an int.  Do not printf() it as though it were.

21 years agoswp_pager_hash() was called before it was instantiated inline. This made
peter [Tue, 22 Jul 2003 06:55:48 +0000 (06:55 +0000)]
swp_pager_hash() was called before it was instantiated inline.  This made
gcc (quite rightly) unhappy.  Move it earlier.

21 years agoGo back to 64 bit precision for fadd/fsub/fsqrt etc. This is because on
peter [Tue, 22 Jul 2003 06:50:34 +0000 (06:50 +0000)]
Go back to 64 bit precision for fadd/fsub/fsqrt etc.  This is because on
AMD64, gcc (and the ABI) expects the x87 unit to be running in 80/64
mode (not 64/53) so that it can use it for 'long double' operations.  It
takes the expected precision differences into account when generating
code.

21 years agoInstantiate explicit callable versions of the machine/ieeefp.h inlines
peter [Tue, 22 Jul 2003 06:46:17 +0000 (06:46 +0000)]
Instantiate explicit callable versions of the machine/ieeefp.h inlines
for the use of non-GCC compilers and C++ code.

21 years agoExtend the machine/ieeefp.h that was inherited from i386 to support
peter [Tue, 22 Jul 2003 06:44:54 +0000 (06:44 +0000)]
Extend the machine/ieeefp.h that was inherited from i386 to support
the SSE mxcsr register as well.  Since gcc will intermix SSE2 and x87
FP code, the fpsetround() etc mode had better be the same.

There are hooks to enable these inlines to be instantiated inside libc
for non-gcc or C++ callers. (g++ doesn't like the inlines that tried
to extract an integer and convert it to an enum).

21 years agoTurn off the libc/quad functions since they are not needed for amd64
peter [Tue, 22 Jul 2003 06:34:57 +0000 (06:34 +0000)]
Turn off the libc/quad functions since they are not needed for amd64
and just cause lots of warnings.

21 years agoAdd several vendor, API and media definitions. This has been
harti [Tue, 22 Jul 2003 06:31:13 +0000 (06:31 +0000)]
Add several vendor, API and media definitions. This has been
forgotten in the previous commit to harp and should unbreak world.

21 years agoRemove __nonnull() on the second argument of strto[u]l() which I used
phk [Tue, 22 Jul 2003 06:01:11 +0000 (06:01 +0000)]
Remove __nonnull() on the second argument of strto[u]l() which I used
to test that the warning actually was emitted.

Spotted by: scottl

21 years agoErm, my previous commit was wrong and sis_tick() was only called each time
cognet [Tue, 22 Jul 2003 01:35:09 +0000 (01:35 +0000)]
Erm, my previous commit was wrong and sis_tick() was only called each time
sis_ioctl() was called, so one had to use ifconfig each time the cable got
plugged in to be able to use the connection.
Do it a better way now, add a "in_tick" field in the softc structure,
call timeout() in sis_tick() and don't call it in sis_init() if in_tick is
non-zero.
Reported by:    Landmark Networks
Pointy hat to:  cognet

21 years agoTeach crunchide(1) about PowerPC ELF.
obrien [Tue, 22 Jul 2003 00:19:40 +0000 (00:19 +0000)]
Teach crunchide(1) about PowerPC ELF.

PR: 54526
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>

21 years agoFix apparent typo in previous commit.
silby [Tue, 22 Jul 2003 00:17:11 +0000 (00:17 +0000)]
Fix apparent typo in previous commit.

21 years agoo Add monitor mode support. This tested fine with prism cards but may require
sam [Mon, 21 Jul 2003 23:20:40 +0000 (23:20 +0000)]
o Add monitor mode support.  This tested fine with prism cards but may require
  newer lucent/hermes firmware than indicated (investigating).  I'm committing
  this now since it shouldn't hurt anything.
o Vaguely related, add bogus frame length check from netbsd.

Obtained from: netbsd

21 years agoNew release notes: safe(4).
hrs [Mon, 21 Jul 2003 22:07:40 +0000 (22:07 +0000)]
New release notes:  safe(4).

21 years agoadd stat dumper for the safenet driver
sam [Mon, 21 Jul 2003 21:58:04 +0000 (21:58 +0000)]
add stat dumper for the safenet driver

21 years agohookup safenet driver
sam [Mon, 21 Jul 2003 21:52:48 +0000 (21:52 +0000)]
hookup safenet driver

21 years agosafenet driver
sam [Mon, 21 Jul 2003 21:52:14 +0000 (21:52 +0000)]
safenet driver

Sponsored by:   Global Technology Associates, Inc.

21 years agoadd safe driver until we can verify it as machine-independent
sam [Mon, 21 Jul 2003 21:51:24 +0000 (21:51 +0000)]
add safe driver until we can verify it as machine-independent

21 years agosafenet driver config glue
sam [Mon, 21 Jul 2003 21:50:41 +0000 (21:50 +0000)]
safenet driver config glue

Sponsored by:   Global Technology Associates, Inc.

21 years agohook safe driver to the build
sam [Mon, 21 Jul 2003 21:48:45 +0000 (21:48 +0000)]
hook safe driver to the build

21 years agoSafeNet crypto driver
sam [Mon, 21 Jul 2003 21:47:47 +0000 (21:47 +0000)]
SafeNet crypto driver

Sponsored by: Global Technology Associates, Inc.
MFC after: 1 day

21 years agoSafeNet crypto driver (supports only RNG and symmetric ops; no PK support yet)
sam [Mon, 21 Jul 2003 21:46:07 +0000 (21:46 +0000)]
SafeNet crypto driver (supports only RNG and symmetric ops; no PK support yet)

Sponsored by: Global Technology Associates, Inc.
MFC after: 1 day

21 years agoCommit Ian Dowse's workaround for acpi resume resetting after the
peter [Mon, 21 Jul 2003 20:59:27 +0000 (20:59 +0000)]
Commit Ian Dowse's workaround for acpi resume resetting after the
LAZY_SWITCH changes.  He pointed out the acpi code sets up an identity
mapping in the current vmspace and that got messed up by the %cr3 being
out of sync with the current page directory.  As a workaround, restore
%cr3 across the sleep/resume.  A more complete fix would be to undo the
lazy state and clear the pm_active bit from the borrowed pmap, but this
works and people are currently hurting.  I'll clean this up.
This is mostly Ian's patch, plus a PAE tweak from me.

21 years agoReplace an alloca() call with a slightly more standard malloc()/free()
markm [Mon, 21 Jul 2003 20:55:37 +0000 (20:55 +0000)]
Replace an alloca() call with a slightly more standard malloc()/free()
pair.

21 years agoNew release notes: harp(4).
hrs [Mon, 21 Jul 2003 20:31:13 +0000 (20:31 +0000)]
New release notes:  harp(4).
Updated release notes:  patm(4) (use &man.patm.4;).

21 years agoRevert previous commit after fixing libpam.
des [Mon, 21 Jul 2003 19:56:28 +0000 (19:56 +0000)]
Revert previous commit after fixing libpam.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117839,
des [Mon, 21 Jul 2003 19:54:17 +0000 (19:54 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117839,
which included commits to RCS files with non-trunk default branches.

21 years agoMFP4: revert constification of pam_message.msg (perforce change #34785)
des [Mon, 21 Jul 2003 19:54:17 +0000 (19:54 +0000)]
MFP4: revert constification of pam_message.msg (perforce change #34785)

21 years agoEnable eisa support on alpha.
ticso [Mon, 21 Jul 2003 19:15:25 +0000 (19:15 +0000)]
Enable eisa support on alpha.
We need eisa bridge support on some models, which now depends on having
eisa in the kernel.

21 years agoAdd a new macro __nonnull(x) to use the new GCC33 attribute which checks
phk [Mon, 21 Jul 2003 18:35:51 +0000 (18:35 +0000)]
Add a new macro __nonnull(x) to use the new GCC33 attribute which checks
that an argument is not a NULL pointer.

Apply various obvious places.

I belive __printf*() implies __nonnull() so it is not needed on functions
already tagged that way.

21 years agoDocument uma_zone_set_max and its non-obvious behaviour.
harti [Mon, 21 Jul 2003 14:20:58 +0000 (14:20 +0000)]
Document uma_zone_set_max and its non-obvious behaviour.

Reviewed by: bmilekic

21 years agoThis is a pseudo physical interface for the HARP ATM stack. When loaded
harti [Mon, 21 Jul 2003 13:56:22 +0000 (13:56 +0000)]
This is a pseudo physical interface for the HARP ATM stack. When loaded
it attaches to all existing NATM network interfaces in the system
and creates a HARP physical interface for each of them. This allows
us to use the same set of ATM drivers for all ATM stuff. It is
possible to use the same interface for HARP, NATM and netgraph at the
same time.

21 years agoUse the clear function provided by the video adapter driver.
nyan [Mon, 21 Jul 2003 13:04:54 +0000 (13:04 +0000)]
Use the clear function provided by the video adapter driver.

Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)

21 years agoSupported the gdc_clear function.
nyan [Mon, 21 Jul 2003 13:00:09 +0000 (13:00 +0000)]
Supported the gdc_clear function.

Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)

21 years agoQuote from a Problem Report:
maxim [Mon, 21 Jul 2003 11:06:47 +0000 (11:06 +0000)]
Quote from a Problem Report:

The output format specifier for the round-trip time in ping6 should be
changed to %.3f instead of %g since %g doesn't accurately represent the
precision of the number being output. In particular, %g truncates trailing
zeroes. 0.01 ms does not mean the same thing as 0.010 ms. Although they
are numerically identical, they do not have the same precision.

PR: bin/52324, bin/52750
Submitted by: dg
MFC after: 1 week

21 years agoAdd my birthday to calendar
krion [Mon, 21 Jul 2003 10:43:37 +0000 (10:43 +0000)]
Add my birthday to calendar

Approved by: fjoe

21 years agoo Initialize do_pipe before command parsing.
maxim [Mon, 21 Jul 2003 09:56:05 +0000 (09:56 +0000)]
o Initialize do_pipe before command parsing.

PR: bin/54649
Submitted by: Andy Gilligan <andy@evo6.org>
MFC after: 3 days

21 years agoAlways start new sentences on a new line.
harti [Mon, 21 Jul 2003 07:51:29 +0000 (07:51 +0000)]
Always start new sentences on a new line.

Submitted by: Anil Madhavapeddy <anil@recoil.org>

21 years agoadd monitor mode
sam [Mon, 21 Jul 2003 02:49:42 +0000 (02:49 +0000)]
add monitor mode

21 years agoMissed one, remove one more.
obrien [Mon, 21 Jul 2003 02:47:04 +0000 (02:47 +0000)]
Missed one, remove one more.

21 years agooverride the tag. usb_block_allocmem allocates a new tag, which when we
jmg [Mon, 21 Jul 2003 02:41:01 +0000 (02:41 +0000)]
override the tag.  usb_block_allocmem allocates a new tag, which when we
go looking for free fragments won't match.  Since we never free this, we
can "throw away" the tag.  This is very dirty, and needs to be reimplemented
properly, but fixes performance problems with uhci.

Also assert that when we overlay a structure on some space, that the
space is large enough for the structure.

21 years agoAlways deliver synchronous signal to UTS for SA threads.
davidxu [Mon, 21 Jul 2003 00:26:52 +0000 (00:26 +0000)]
Always deliver synchronous signal to UTS for SA threads.

21 years agoTest correct macro for "without crypto" option(s).
markm [Sun, 20 Jul 2003 23:29:46 +0000 (23:29 +0000)]
Test correct macro for "without crypto" option(s).

21 years agotrack changes to 802.11 code:
sam [Sun, 20 Jul 2003 21:38:20 +0000 (21:38 +0000)]
track changes to 802.11 code:

o override new_state method per new model
o use ieee80211_state_name instead of private copy

21 years agoo change ieee80211_new_state handling to use a proper method that drivers
sam [Sun, 20 Jul 2003 21:36:08 +0000 (21:36 +0000)]
o change ieee80211_new_state handling to use a proper method that drivers
  override in their sub-class; this eliminates the hack of interpreting the
  EINPROGRESS return value to mean "don't do any of the normal work"
o correct active scanning so the first channel is only scanned once and so
  per-channel passive mode is properly honored
o expose 802.11 FSM state names so every driver doesn't keep a private copy
o eliminate node parameter to ieee80211_begin_scan; it was not being used

21 years agoDo not call acpi_MatchHid() for all probe cases since it accesses the
njl [Sun, 20 Jul 2003 21:12:21 +0000 (21:12 +0000)]
Do not call acpi_MatchHid() for all probe cases since it accesses the
namespace.  To compensate for it only being used in the !ECDT case, use
a more robust approach to indicate a device was probed via ECDT by setting
the private ivar to be &acpi_ec_devclass.  Without the acpi_MatchHid() call
now, it might have been possible for a non-EC device to have had its magic
match our previous flag.

Pointed out by: takawata

21 years agoClose a race condition by passing status retrieved via a non-SCI call
njl [Sun, 20 Jul 2003 21:11:32 +0000 (21:11 +0000)]
Close a race condition by passing status retrieved via a non-SCI call
to EcGpeQueryHandler on to any waiting threads through the softc.  Similar
behavior was in the original version.

Also:
* Merge EcQuery into EcGpeQueryHandler to simplify locking
* Hold EcLock from the initial read of the CSR down to the wakeup or
  until after the query command has been processed.
* ec_gpebit only needs to be a UINT8

21 years agoAdd my birthday to the calendar.
simon [Sun, 20 Jul 2003 20:31:18 +0000 (20:31 +0000)]
Add my birthday to the calendar.

Approved by: ceri (mentor)

21 years agoAdd missing arguments to _amd64_restore_context() when called from
deischen [Sun, 20 Jul 2003 12:41:38 +0000 (12:41 +0000)]
Add missing arguments to _amd64_restore_context() when called from
THR_SETCONTEXT().

21 years agoThe `mk' target is long dead.
ru [Sun, 20 Jul 2003 12:38:29 +0000 (12:38 +0000)]
The `mk' target is long dead.

21 years agoThis code isn't WARNS=6 clean in the standard (crypto) case
ru [Sun, 20 Jul 2003 12:26:24 +0000 (12:26 +0000)]
This code isn't WARNS=6 clean in the standard (crypto) case
due to bugs in OpenSSL headers.  I was testing in the wrong
environmement: standalone build without crypto/ sources.

21 years agoPass getvfsbyname() the address of a struct xvfsconf instead of
tjr [Sun, 20 Jul 2003 11:27:54 +0000 (11:27 +0000)]
Pass getvfsbyname() the address of a struct xvfsconf instead of
struct vfsconf. This silences a warning, but could also prevent
stack corruption problems if xvfsconf ever became larger than vfsconf.

PR: 53863
Submitted by: Lukas Ertl

21 years agoMake this code WARNS=6 clean again (after GCC 3.1.1 import).
ru [Sun, 20 Jul 2003 10:24:09 +0000 (10:24 +0000)]
Make this code WARNS=6 clean again (after GCC 3.1.1 import).

Submitted by: Marius Strobl <marius@alchemy.franken.de>

21 years agoNow that we have the stubs for alpha and we can build it
mtm [Sun, 20 Jul 2003 01:34:40 +0000 (01:34 +0000)]
Now that we have the stubs for alpha and we can build it
on that platform, invert the test for the platforms on
which libthr is built. Amd64 and powerpc are the only
platforms excluded.

Compile tested on: amd64, alpha

21 years agoClarify the ACPI shutdown messages.
njl [Sun, 20 Jul 2003 00:52:57 +0000 (00:52 +0000)]
Clarify the ACPI shutdown messages.

21 years agoAdd ECDT (ACPI 2.0) support. This allows the EC to be enabled before the
njl [Sun, 20 Jul 2003 00:48:38 +0000 (00:48 +0000)]
Add ECDT (ACPI 2.0) support.  This allows the EC to be enabled before the
namespace has been evaluated.  Machines with ACPI 2.0 expect this behavior
and have AML which calls EC functions early in the boot process.  If the
ECDT is not available, fall back to original probe behavior.

Other minor changes:
* Add GPE bit and GLK usage to the device announcement
* Always use the global lock in the ECDT case, but potentially downgrade to
  not using it if _GLK is 0 once the namespace is available.  This is
  announced with "Changing GLK from 1 to 0"
* Remove the acpi_object_list definitions which were earlier deprecated

Ideas from: takawata

21 years agoTake advantage of the use of file system IDs to simplify umount(8)
iedowse [Sun, 20 Jul 2003 00:11:27 +0000 (00:11 +0000)]
Take advantage of the use of file system IDs to simplify umount(8)
and make it work more reliably in a number of cases that have
traditionally been troublesome. The new behaviour is:
 1) If the filesystem can be determined by the fsid or device,
    or uniquely identified by the mountpoint, then just go ahead
    and call unmount(2) using the file system ID.
 2) Otherwise use fstatfs(2) to resolve the path into a file system
    ID (checking with stat(2) that it is a filesystem root directory).

Case 2 can potentially block if an NFS server is down, but it can
always be avoided by using an unambiguous specification. It handles
all the hard cases such as symlinks and mismatches between the mount
list and reality. For example, if a filesystem was mounted as /mnt
inside a chroot, it will show up in the mount list as /mnt, but now
you can unmount it from outside the chroot with "umount /chroot_path/mnt".

21 years agoUse an up-to-date make binary in the upgrade_checks target if
ru [Sat, 19 Jul 2003 23:17:08 +0000 (23:17 +0000)]
Use an up-to-date make binary in the upgrade_checks target if
one is already available.  This avoids sometimes unnecessary
step of attempting to rebuild the make binary again which may
fail at all if, for example, one has removed his /usr/include
before doing an installworld (to keep /usr/include tidied up).

Pointed out by: kris, marcel

21 years agoTrim /rescue.
obrien [Sat, 19 Jul 2003 20:40:37 +0000 (20:40 +0000)]
Trim /rescue.

Discussed on: freebsd-arch@

21 years agoDisabling multicast on vlan interface caused kernel panic.
ume [Sat, 19 Jul 2003 16:47:16 +0000 (16:47 +0000)]
Disabling multicast on vlan interface caused kernel panic.

PR: kern/40723
Submitted by: Hideki ONO <ono@kame.net>
MFC after: 1 week

21 years agoThis commit was generated by cvs2svn to compensate for changes in r117783,
mtm [Sat, 19 Jul 2003 15:57:52 +0000 (15:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r117783,
which included commits to RCS files with non-trunk default branches.

21 years agoThe MD framework for libthr on alpha
mtm [Sat, 19 Jul 2003 15:57:52 +0000 (15:57 +0000)]
The MD framework for libthr on alpha

21 years agoAdd description about tagged queuing.
simokawa [Sat, 19 Jul 2003 14:46:59 +0000 (14:46 +0000)]
Add description about tagged queuing.

21 years agoMFC: atkbd(4) bug fix.
hrs [Sat, 19 Jul 2003 14:38:03 +0000 (14:38 +0000)]
MFC:  atkbd(4) bug fix.

21 years agoTurn a KASSERT back into an EINVAL return value. So, next time someone
mtm [Sat, 19 Jul 2003 11:32:48 +0000 (11:32 +0000)]
Turn a KASSERT back into an EINVAL return value. So, next time someone
comes across it, it will turn into a core dump in userland instead of
a kernel panic. I had also inverted the sense of the test, so

Double pointy hat to: mtm

21 years agoMerge the following from the English version:
hrs [Sat, 19 Jul 2003 08:36:38 +0000 (08:36 +0000)]
Merge the following from the English version:

1.583 -> 1.592 relnotes/common/new.sgml

21 years agomake sockstat not print wierd addresses on not connected unix domain sockets
jmg [Sat, 19 Jul 2003 06:23:56 +0000 (06:23 +0000)]
make sockstat not print wierd addresses on not connected unix domain sockets

Pointed out by: rwatson
Reviewed by: peter

21 years agoAdd new supported cards
imp [Sat, 19 Jul 2003 06:19:43 +0000 (06:19 +0000)]
Add new supported cards

21 years agoThree fixes:
silby [Sat, 19 Jul 2003 06:03:48 +0000 (06:03 +0000)]
Three fixes:

- Make m_prepend use m_gethdr instead of m_get where
  appropriate

- Make m_copym use m_gethdr instead of m_get where
  appropriate

- Add a call to m_fixhdr in m_defrag; m_defrag can't
  deal with corrupted pkthdr.len counts.

MFC after: 3 days

21 years agoAdd support for FA-511; Submitted by: Kenneth P. Stox; Pr 42858
imp [Sat, 19 Jul 2003 06:01:15 +0000 (06:01 +0000)]
Add support for FA-511; Submitted by: Kenneth P. Stox; Pr 42858