]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoNew release note: ping(8) -W (+MFC).
bmah [Sat, 11 Nov 2006 19:12:52 +0000 (19:12 +0000)]
New release note:  ping(8) -W (+MFC).

MFCs noted:  fsdb(8) btime, zlib 1.2.3.

17 years agoNew release notes:
brueffer [Sat, 11 Nov 2006 19:06:30 +0000 (19:06 +0000)]
New release notes:

if_bridge(4) RSTP support.

17 years agoo Indent by tab.
maxim [Sat, 11 Nov 2006 18:45:20 +0000 (18:45 +0000)]
o Indent by tab.

17 years agoo Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD).
maxim [Sat, 11 Nov 2006 18:32:50 +0000 (18:32 +0000)]
o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD).

Obtained from: OpenBSD

17 years agoMFP4: Add an implementation of the ELF(3) and GELF(3) API set.
jkoshy [Sat, 11 Nov 2006 17:16:35 +0000 (17:16 +0000)]
MFP4: Add an implementation of the ELF(3) and GELF(3) API set.

Bump __FreeBSD_version.

Reviewed by: jb

17 years agoRe-enable module build for POSIX semaphores.
trhodes [Sat, 11 Nov 2006 16:49:29 +0000 (16:49 +0000)]
Re-enable module build for POSIX semaphores.
Update the manual page describe loading the sem module.

Approved by: silence on -arch and -standards

17 years agoUpdate includes for sys/posix4 move.
trhodes [Sat, 11 Nov 2006 16:46:31 +0000 (16:46 +0000)]
Update includes for sys/posix4 move.

Approved by: silence on -arch and -standards

17 years agoNew release notes: SCTP, TSO, sun4v, ppp(4) IPv6 support, KSE a
bmah [Sat, 11 Nov 2006 16:36:03 +0000 (16:36 +0000)]
New release notes:  SCTP, TSO, sun4v, ppp(4) IPv6 support, KSE a
kernel option.

Updated release notes:  OpenSSH 4.5p1.

17 years agoThese files have been repo-copied to the "normal" kernel hierarchy.
trhodes [Sat, 11 Nov 2006 16:29:38 +0000 (16:29 +0000)]
These files have been repo-copied to the "normal" kernel hierarchy.

17 years agoMerge sys/posix4/sched.h into sys/sched.h.
trhodes [Sat, 11 Nov 2006 16:27:52 +0000 (16:27 +0000)]
Merge sys/posix4/sched.h into sys/sched.h.

Approved by: silence on -arch and -standards

17 years agoMerge posix4/* into normal kernel hierarchy.
trhodes [Sat, 11 Nov 2006 16:26:58 +0000 (16:26 +0000)]
Merge posix4/* into normal kernel hierarchy.

Reviewed by: glanced at by jhb
Approved by: silence on -arch@ and -standards@

17 years agoUpdate #includes list.
trhodes [Sat, 11 Nov 2006 16:19:12 +0000 (16:19 +0000)]
Update #includes list.

17 years agoForced commit to note that these files have been repo-copied from
trhodes [Sat, 11 Nov 2006 16:15:35 +0000 (16:15 +0000)]
Forced commit to note that these files have been repo-copied from
src/sys/posix4/.

Repo-copy done by: kuriyama

17 years agoTurns out we would reset the TSN seq counter during
rrs [Sat, 11 Nov 2006 15:59:01 +0000 (15:59 +0000)]
Turns out we would reset the TSN seq counter during
a colliding INIT. This if fine except when we have
data outstanding... we basically reset it to the
previous value it was.. so then we end up assigning
the same TSN to two different data chunks.
This patch:

1) Finds a missing lock for when we change the stream
   numbers during COOKIE and INIT-ACK processing.. we
   were NOT locking the send_buffer.. which COULD cause
   problems (found by inspection looking for <2>)

2) Fixes a case during a colliding INIT where we incorrectly
   reset the sending Sequence thus in some cases duplicately
   assigning a TSN.

3) Additional enhancments to logging so we can see strm/tsn in
   the receiver AND new tracking to watch what the sender
   is doing with TSN and STRM seq's.

Approved by: gnn

17 years agoTeach an IPv6 to ppp(4).
ume [Sat, 11 Nov 2006 15:02:04 +0000 (15:02 +0000)]
Teach an IPv6 to ppp(4).

Obtained from: NetBSD
MFC after: 1 week

17 years agodefine UMUTEX_CONTESTED as an unsigned integer.
davidxu [Sat, 11 Nov 2006 14:00:39 +0000 (14:00 +0000)]
define UMUTEX_CONTESTED as an unsigned integer.

17 years agoMove code calculating new inherited priority into single function.
davidxu [Sat, 11 Nov 2006 13:33:47 +0000 (13:33 +0000)]
Move code calculating new inherited priority into single function.

17 years agoUnbreak userland priority inheriting in NO_KSE case.
davidxu [Sat, 11 Nov 2006 13:11:29 +0000 (13:11 +0000)]
Unbreak userland priority inheriting in NO_KSE case.

17 years agoRemove a warning regarding disk entries in /dev.
ceri [Sat, 11 Nov 2006 12:59:59 +0000 (12:59 +0000)]
Remove a warning regarding disk entries in /dev.

Approved by: ru (mentor)
MFC after: 4 days

17 years agoEnsure that the load of rules into the alternate ruleset worked before
ceri [Sat, 11 Nov 2006 10:48:34 +0000 (10:48 +0000)]
Ensure that the load of rules into the alternate ruleset worked before
loading them into the live one too.

PR: conf/97311
Submitted by: David Bushong
Reviewed by: silence on rc@
Approved by: ru (mentor)
MFC after: 10 days

17 years agoFix a pair of user-visible typos.
ceri [Sat, 11 Nov 2006 10:43:11 +0000 (10:43 +0000)]
Fix a pair of user-visible typos.

Approved by: ru (mentor)

17 years agoBack up /boot/kernel rather than /kernel for non-interactive upgrades.
ceri [Sat, 11 Nov 2006 10:42:04 +0000 (10:42 +0000)]
Back up /boot/kernel rather than /kernel for non-interactive upgrades.

Approved by: ru (mentor)
MFC after: 4 days

17 years agoAdd /lib and /libexec to the list of directories that have the schg
ceri [Sat, 11 Nov 2006 10:38:10 +0000 (10:38 +0000)]
Add /lib and /libexec to the list of directories that have the schg
flag removed prior to an upgrade.

Approved by: ru (mentor)
MFC after: 4 days

17 years agoFix build (forgotten MUTEX_PROFILING.9 -> LOCK_PROFILING.9).
ru [Sat, 11 Nov 2006 08:59:34 +0000 (08:59 +0000)]
Fix build (forgotten MUTEX_PROFILING.9 -> LOCK_PROFILING.9).

17 years agoReplace a reference to no longer existing MUTEX_PROFILING(9) with
ru [Sat, 11 Nov 2006 08:41:39 +0000 (08:41 +0000)]
Replace a reference to no longer existing MUTEX_PROFILING(9) with
a LOCK_PROFILING(9).

17 years agofix messup in last fix
kmacy [Sat, 11 Nov 2006 07:52:38 +0000 (07:52 +0000)]
fix messup in last fix

17 years agotinderbox fix
kmacy [Sat, 11 Nov 2006 07:38:48 +0000 (07:38 +0000)]
tinderbox fix

17 years agodeclare nanoseconds for other architectures
kmacy [Sat, 11 Nov 2006 07:35:54 +0000 (07:35 +0000)]
declare nanoseconds for other architectures

17 years agoremove lingering call to rd(tick)
kmacy [Sat, 11 Nov 2006 07:28:45 +0000 (07:28 +0000)]
remove lingering call to rd(tick)

17 years agoremove man page for no longer extant option
kmacy [Sat, 11 Nov 2006 06:31:27 +0000 (06:31 +0000)]
remove man page for no longer extant option

17 years agoman page for new option
kmacy [Sat, 11 Nov 2006 06:29:36 +0000 (06:29 +0000)]
man page for new option

17 years agomissed nits replacing mutex with lock
kmacy [Sat, 11 Nov 2006 06:28:47 +0000 (06:28 +0000)]
missed nits replacing mutex with lock

17 years agofix tinderbox
kmacy [Sat, 11 Nov 2006 05:35:39 +0000 (05:35 +0000)]
fix tinderbox

17 years agoMUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile
kmacy [Sat, 11 Nov 2006 03:18:07 +0000 (03:18 +0000)]
MUTEX_PROFILING has been generalized to LOCK_PROFILING. We now profile
wait (time waited to acquire) and hold times for *all* kernel locks. If
the architecture has a system synchronized TSC, the profiling code will
use that - thereby minimizing profiling overhead. Large chunks of profiling
code have been moved out of line, the overhead measured on the T1 for when
it is compiled in but not enabled is < 1%.

Approved by: scottl (standing in for mentor rwatson)
Reviewed by: des and jhb

17 years agochilderr needs to be volatile so gcc won't optimize it away.
des [Fri, 10 Nov 2006 23:33:25 +0000 (23:33 +0000)]
childerr needs to be volatile so gcc won't optimize it away.

PR: bin/85830
MFC after: 1 week

17 years agoAdd share/xsl.
des [Fri, 10 Nov 2006 22:57:39 +0000 (22:57 +0000)]
Add share/xsl.

MFC after: 1 week

17 years agoTry to preserve ownership and permissions when replacing an existing file.
des [Fri, 10 Nov 2006 22:05:41 +0000 (22:05 +0000)]
Try to preserve ownership and permissions when replacing an existing file.

PR: bin/104702
Submitted by: Kevin Day <toasty@dragondata.com>
MFC after: 1 week

17 years agoClarify the error message when trying to build an ACPI module on amd64
emaste [Fri, 10 Nov 2006 20:06:03 +0000 (20:06 +0000)]
Clarify the error message when trying to build an ACPI module on amd64
or ia64.

The old message implied to me that ACPI can't be compiled in on platforms
other than amd64 and ia64.  The amd64@ mailing list archive has messages
from users with the same confusion.

Approved by: scottl

17 years agoResolve conflicts.
des [Fri, 10 Nov 2006 16:52:41 +0000 (16:52 +0000)]
Resolve conflicts.

17 years agoThis commit was generated by cvs2svn to compensate for changes in r164146,
des [Fri, 10 Nov 2006 16:39:21 +0000 (16:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r164146,
which included commits to RCS files with non-trunk default branches.

17 years agoVendor import of OpenSSH 4.5p1.
des [Fri, 10 Nov 2006 16:39:21 +0000 (16:39 +0000)]
Vendor import of OpenSSH 4.5p1.

17 years agoThis patch fixes a LOR that happens during INIT-ACK collision.
rrs [Fri, 10 Nov 2006 13:34:55 +0000 (13:34 +0000)]
This patch fixes a LOR that happens during INIT-ACK collision.
We were calling select_a_tag() inside sctp_send_initate_ack().
During collision cases we have a stcb and thus a SCTP_LOCK. When
we call select_a_tag it (below it) locks the INFO lock. We now
1) pre-select the nonce-tie-tags in sctputil.c during setup of
   a tcb.
2) In the other case where we have to select tags, we unlock after
   incr the ref cnt (so assoc won't go away0 and then do the
   tag selection followed by a relock and decr the refcnt.
Approved by: gnn

17 years agoPortability and style fixes:
kientzle [Fri, 10 Nov 2006 06:39:46 +0000 (06:39 +0000)]
Portability and style fixes:
  * Actually use the HAVE_<header>_H macros to conditionally include
    system headers.  They've been defined for a long time, but only
    used in a few places.  Now they're used pretty consistently
    throughout.
  * Fill in a lot of missing casts for conversions from void*.
    Although Standard C doesn't require this, some people have been
    trying to use C++ compilers with this code, and they do require it.

Bit-for-bit, the compiled object files are identical, except for
one assert() whose line number changed, so I'm pretty confident I
didn't break anything.  ;-)

17 years agoMFp4
thompsa [Thu, 9 Nov 2006 22:50:49 +0000 (22:50 +0000)]
MFp4
 - Each stp port is added sequentially so it was possible for our bridgeid to
   change every time because the new port has a lower MAC address.  Instead
   just find the lowest MAC address from all Ethernet adapters in the machine
   as the value only needs to be unique, this stops a lot of churn on the
   protocol.
 - Update the states after enabling or disabling a port.
 - Keep tabs if we have been stopped or started by our parent bridge.
 - The callout only needs to be drained before destroying the mutex, move it to
   bstp_detach.

17 years agofix hanging on invalid data... (This doesn't fix hanging due to broken
jmg [Thu, 9 Nov 2006 21:05:32 +0000 (21:05 +0000)]
fix hanging on invalid data... (This doesn't fix hanging due to broken
hardware)...

Tested by: Ian Dowse, Adam K Kirchhoff and Vladimir Kushnir

17 years agoFixes an issue with handling of stream reset. When a
rrs [Thu, 9 Nov 2006 21:01:07 +0000 (21:01 +0000)]
Fixes an issue with handling of stream reset. When a
reset comes in we need to calculate the length and
therefore the number of listed streams (if any) based
on the TLV type. Otherwise if we get a retran we could
in theory panic by sending a notification to a user with
a incorrect list and thus no memory listing the streams.
Found in IOS by devtest :-)
Approved by: gnn

17 years agoMFp4: boot2 should now build
imp [Thu, 9 Nov 2006 20:45:22 +0000 (20:45 +0000)]
MFp4: boot2 should now build

17 years agoMFp4: boot on KB9202 correctly. Also, reduce the size of the SD/MMC driver
imp [Thu, 9 Nov 2006 20:32:36 +0000 (20:32 +0000)]
MFp4: boot on KB9202 correctly.  Also, reduce the size of the SD/MMC driver
somewhat.

17 years agoMFp4: Support KB9202 booting better
imp [Thu, 9 Nov 2006 20:23:51 +0000 (20:23 +0000)]
MFp4: Support KB9202 booting better

17 years agoFix typo
imp [Thu, 9 Nov 2006 20:08:46 +0000 (20:08 +0000)]
Fix typo

17 years agoMFp4: Make boot2 work on Kwikbyte KB9202 boards.
imp [Thu, 9 Nov 2006 20:07:26 +0000 (20:07 +0000)]
MFp4: Make boot2 work on Kwikbyte KB9202 boards.

17 years agoMFp4: Merge a slightly more generic build infrastructure.
imp [Thu, 9 Nov 2006 19:58:14 +0000 (19:58 +0000)]
MFp4: Merge a slightly more generic build infrastructure.

17 years agoMFp4: Remove bogus \r
imp [Thu, 9 Nov 2006 19:55:25 +0000 (19:55 +0000)]
MFp4: Remove bogus \r

17 years agoAdd locales for nb_NO and nn_NO.
des [Thu, 9 Nov 2006 18:10:34 +0000 (18:10 +0000)]
Add locales for nb_NO and nn_NO.

Reviewed by: philip

17 years agoDon't try to print a NULL string during boot. If a device doesn't have a
jhb [Thu, 9 Nov 2006 18:04:53 +0000 (18:04 +0000)]
Don't try to print a NULL string during boot.  If a device doesn't have a
valid name yet, just omit the name during the bootverbose printfs.

MFC after: 1 week

17 years agoDon't dump the $PIR table under bootverbose. The pirtool program in
jhb [Thu, 9 Nov 2006 18:03:36 +0000 (18:03 +0000)]
Don't dump the $PIR table under bootverbose.  The pirtool program in
src/tools/tools works fine, and dumping this table can add a lot of noise.

MFC after: 1 week

17 years agoReformat the bootverbose messages that dump out the status of pci_link
jhb [Thu, 9 Nov 2006 18:01:20 +0000 (18:01 +0000)]
Reformat the bootverbose messages that dump out the status of pci_link
devices during attach to be more compact.

MFC after: 1 week

17 years agoInstead of using the legacy if_timer/if_watchdog interface create
glebius [Thu, 9 Nov 2006 16:00:18 +0000 (16:00 +0000)]
Instead of using the legacy if_timer/if_watchdog interface create
our own watchdog that piggybacks on the em_local_timer() routine.

We suppose that the if_timer/if_watchdog interface should be
obsoleted, since it doesn't fit the modern SMP network stack.
NIC drivers should create their own watchdogs, that check and
clear the timers always holding driver's lock.

In collaboration with: jfv, scottl

17 years agoAdd Allied Telesyn AT-1500 (logical ID ATK1500, compat ID PNP828C)
marius [Thu, 9 Nov 2006 14:11:33 +0000 (14:11 +0000)]
Add Allied Telesyn AT-1500 (logical ID ATK1500, compat ID PNP828C)
to the list of known working ISA PnP cards.

Reported by: Gheorghe Ardelean

17 years agoUpdate copyright date.
bms [Thu, 9 Nov 2006 11:45:44 +0000 (11:45 +0000)]
Update copyright date.

MFC after: 3 weeks

17 years agoUse C99 types.
bms [Thu, 9 Nov 2006 11:42:38 +0000 (11:42 +0000)]
Use C99 types.

MFC after: 3 weeks

17 years agoRewrite the format of pirtool output to match what the kernel currently
bms [Thu, 9 Nov 2006 11:39:34 +0000 (11:39 +0000)]
Rewrite the format of pirtool output to match what the kernel currently
prints out if bootverbose is set. This is to facilitate the code being
removed from the kernel at a later date.

While we're here, fix the __packed structures, and add some other
PCI interrupt router IDs.

Submitted by: jhb (with some tweaks)
MFC after: 3 weeks

17 years agoAdd an entry for PT_GETLWPLIST.
trhodes [Thu, 9 Nov 2006 11:27:18 +0000 (11:27 +0000)]
Add an entry for PT_GETLWPLIST.

Nudged by: jhb
Reviewed by: davidxu

17 years agoEnable ata and atapicd now those work on sun4v.
jb [Thu, 9 Nov 2006 08:49:13 +0000 (08:49 +0000)]
Enable ata and atapicd now those work on sun4v.

17 years agoAdd a stub of bios_addsmapdata(). PC98 does not have BIOS SMAP.
nyan [Thu, 9 Nov 2006 08:28:02 +0000 (08:28 +0000)]
Add a stub of bios_addsmapdata().  PC98 does not have BIOS SMAP.

17 years agoMFi386: revisions from 1.39 to 1.43.
nyan [Thu, 9 Nov 2006 08:05:51 +0000 (08:05 +0000)]
MFi386: revisions from 1.39 to 1.43.

17 years agoMFi386: revisions 1.634 and 1.639.
nyan [Thu, 9 Nov 2006 08:03:37 +0000 (08:03 +0000)]
MFi386: revisions 1.634 and 1.639.

17 years agoAdd a new address cache type called sticky. On an interface marked sticky any
thompsa [Thu, 9 Nov 2006 06:32:38 +0000 (06:32 +0000)]
Add a new address cache type called sticky. On an interface marked sticky any
address learned by the bridge is made permanent, the address will not age out
and most importantly will not migrate to another interface.

This can be used to stop mac address poisoning or clients roaming in much the
same way as static entries without the hassle of preloading the table.

17 years agoRemove unused structures.
kevlo [Thu, 9 Nov 2006 02:19:30 +0000 (02:19 +0000)]
Remove unused structures.

Reviewed by: cognet and imp
Approved by: cognet and imp

17 years agoCleanup: we always have to use __error() now, and we shouldn't provide a
cognet [Thu, 9 Nov 2006 01:28:16 +0000 (01:28 +0000)]
Cleanup: we always have to use __error() now, and we shouldn't provide a
errno symbol, so completely remove the !_REENTRANT case.

Spotted out by: ru

17 years agomove panic_bad_hcall to its use site in support.S in attempt to un-break the
kmacy [Wed, 8 Nov 2006 22:16:05 +0000 (22:16 +0000)]
move panic_bad_hcall to its use site in support.S in attempt to un-break the
tinderbox

17 years agoFix for ithread interrupt handling. Don't reset the interrupt vector until
kmacy [Wed, 8 Nov 2006 22:09:58 +0000 (22:09 +0000)]
Fix for ithread interrupt handling. Don't reset the interrupt vector until
after the interrupt has been handled. Also move panic_bad_hcall to local to
avoid complaints from the linker on the tinderbox.

Approved by: scottl (substituting for mentor rwatson)

17 years agoThe NETSMBCRYPTO option has long gone.
ru [Wed, 8 Nov 2006 21:45:45 +0000 (21:45 +0000)]
The NETSMBCRYPTO option has long gone.

17 years agoRemove a forgotten file.
ru [Wed, 8 Nov 2006 21:29:20 +0000 (21:29 +0000)]
Remove a forgotten file.

17 years agoadd missing bits for crypto support
sam [Wed, 8 Nov 2006 20:51:01 +0000 (20:51 +0000)]
add missing bits for crypto support

MFC after: 1 week

17 years agoI misplaced the assertion that was added to vm_page_startup() in the
alc [Wed, 8 Nov 2006 19:11:54 +0000 (19:11 +0000)]
I misplaced the assertion that was added to vm_page_startup() in the
previous change.  Correct its placement.

17 years agoSimplify the construction of the free queues in vm_page_startup(). Add
alc [Wed, 8 Nov 2006 18:43:47 +0000 (18:43 +0000)]
Simplify the construction of the free queues in vm_page_startup().  Add
an assertion to test a hypothesis concerning other redundant computation
in vm_page_startup().

17 years agoNew release note: SA-06:24.libarchive (+MFC).
bmah [Wed, 8 Nov 2006 17:22:55 +0000 (17:22 +0000)]
New release note:  SA-06:24.libarchive (+MFC).

17 years agoDon't always print a space character in show_stat(), since a space
bde [Wed, 8 Nov 2006 15:15:05 +0000 (15:15 +0000)]
Don't always print a space character in show_stat(), since a space
shouldn't be printed after the last column.  This restores the
formatting to 79 columns.

17 years agoFix infinite loop in corrupt archives handling in libarchive(3).
simon [Wed, 8 Nov 2006 14:03:50 +0000 (14:03 +0000)]
Fix infinite loop in corrupt archives handling in libarchive(3).

Reported by: rink
Submitted by: kientzle
Security: FreeBSD-SA-06:24.libarchive

17 years agoMake the generated oid.h dependend on the Makefile. The Makefile defines
harti [Wed, 8 Nov 2006 10:36:57 +0000 (10:36 +0000)]
Make the generated oid.h dependend on the Makefile. The Makefile defines
the symbols to be extracted from the MIB and if that list of symbols is
changed, oid.h should be re-generated.

17 years agoo Fix a couple of obvious typos.
maxim [Wed, 8 Nov 2006 09:09:07 +0000 (09:09 +0000)]
o Fix a couple of obvious typos.

17 years agoMFamd64/ia64/i386/sun4v
alc [Wed, 8 Nov 2006 06:31:28 +0000 (06:31 +0000)]
MFamd64/ia64/i386/sun4v
  Use cnt.v_page_count, the actual count of available physical pages,
  instead of vm_page_array_size to compute the maximum number of pv
  entries.

17 years agoEnsure that the page's oflags field is initialized by contigmalloc().
alc [Wed, 8 Nov 2006 06:23:29 +0000 (06:23 +0000)]
Ensure that the page's oflags field is initialized by contigmalloc().

17 years ago/boot/skiload.help has been eliminated on ia64.
marcel [Wed, 8 Nov 2006 03:23:49 +0000 (03:23 +0000)]
/boot/skiload.help has been eliminated on ia64.

17 years agoIncreate cnt.v_intr on interrupt.
cognet [Wed, 8 Nov 2006 01:32:24 +0000 (01:32 +0000)]
Increate cnt.v_intr on interrupt.

17 years ago-Fixes first of all the getcred on IPv6 and V4. The
rrs [Wed, 8 Nov 2006 00:21:13 +0000 (00:21 +0000)]
-Fixes first of all the getcred on IPv6 and V4. The
 copy's were incorrect and so was the locking.
-A bug was also found that would create a race and
 panic when an abort arrived on a socket being read
 from.
-Also fix the reader to get MSG_TRUNC when a partial
 delivery is aborted.
-Also addresses a couple of coverity caught error path
 memory leaks and a couple of other valid complaints
Approved by: gnn

17 years agoFix typos in comments.
ceri [Tue, 7 Nov 2006 23:54:14 +0000 (23:54 +0000)]
Fix typos in comments.

17 years agoUse z modifier for size_t and ssize_t.
jkim [Tue, 7 Nov 2006 23:28:30 +0000 (23:28 +0000)]
Use z modifier for size_t and ssize_t.

17 years agoXPT_GET_TRAN_SETTINGS can fail- so check for an error and
mjacob [Tue, 7 Nov 2006 23:06:00 +0000 (23:06 +0000)]
XPT_GET_TRAN_SETTINGS can fail- so check for an error and
don't blindly assume it succeeded.

17 years agoFix expanding of quoted positional parameters in case patterns.
stefanf [Tue, 7 Nov 2006 22:46:13 +0000 (22:46 +0000)]
Fix expanding of quoted positional parameters in case patterns.

Obtained from: NetBSD (expand.c 1.58 and 1.59)
Submitted by: Paul Jarc
PR: 56147

17 years agoIdentify the xscale 81342.
cognet [Tue, 7 Nov 2006 22:36:57 +0000 (22:36 +0000)]
Identify the xscale 81342.

17 years agoIn the ARM_USE_SMALL_ALLOC case, vm_page_t may have an address < KERNBASE,
cognet [Tue, 7 Nov 2006 22:35:30 +0000 (22:35 +0000)]
In the ARM_USE_SMALL_ALLOC case, vm_page_t may have an address < KERNBASE,
so adjust the KASSERT to reflect this.

17 years agoSpelling.
ru [Tue, 7 Nov 2006 21:57:18 +0000 (21:57 +0000)]
Spelling.

17 years agoLine up memory amount reporting that got broken when s/real/usable/.
ru [Tue, 7 Nov 2006 21:55:39 +0000 (21:55 +0000)]
Line up memory amount reporting that got broken when s/real/usable/.

17 years agoStyle cleanups to the sctp_* syscall functions.
andre [Tue, 7 Nov 2006 21:28:12 +0000 (21:28 +0000)]
Style cleanups to the sctp_* syscall functions.

17 years agoFix TFTP NAT support by making sure the appropriate fingerprinting checks
marcus [Tue, 7 Nov 2006 21:06:48 +0000 (21:06 +0000)]
Fix TFTP NAT support by making sure the appropriate fingerprinting checks
are done.

Reviewed by: piso

17 years agoSimplify operations with sync_mtx in sched_sync():
jhb [Tue, 7 Nov 2006 19:45:05 +0000 (19:45 +0000)]
Simplify operations with sync_mtx in sched_sync():
- Don't drop the lock just to reacquire it again to check rushjob, this
  only wastes time.
- Use msleep() to drop the mutex while sleeping instead of explicitly
  unlocking around tsleep.

Reviewed by: pjd

17 years ago- Don't bother to include IDs of PCnet chips which are not supported
marius [Tue, 7 Nov 2006 19:44:41 +0000 (19:44 +0000)]
- Don't bother to include IDs of PCnet chips which are not supported
  by this driver and largely are not even PCI devices in pcn_chipid.
- Use device_printf(9)/if_printf(9) rather than implementing their
  functionality with printf(9).
- Sprinkle some const.

17 years agoDocument the -l option.
ceri [Tue, 7 Nov 2006 19:07:52 +0000 (19:07 +0000)]
Document the -l option.

Reviewed by: brd
Approved by: ru (mentor)