dragonfly.git
23 months agoUPDATING: Mention SMP is a no-op for now.
Sascha Wildner [Wed, 24 Oct 2012 17:13:59 +0000 (19:13 +0200)]
UPDATING: Mention SMP is a no-op for now.

23 months agokernel: Add back 'options SMP' as a no-op.
Sascha Wildner [Wed, 24 Oct 2012 17:05:48 +0000 (19:05 +0200)]
kernel: Add back 'options SMP' as a no-op.

This is to prevent people working with both 3.2 and master from needing
different kernel configs.

Pointed-out-by: dillon
23 months agoixgbe/netrate: Remove -DSMP from the Makefiles (no longer needed).
Sascha Wildner [Wed, 24 Oct 2012 16:11:13 +0000 (18:11 +0200)]
ixgbe/netrate: Remove -DSMP from the Makefiles (no longer needed).

23 months agokernel: Make SMP support default (and non-optional).
Sascha Wildner [Wed, 24 Oct 2012 16:04:05 +0000 (18:04 +0200)]
kernel: Make SMP support default (and non-optional).

The 'SMP' kernel option gets removed with this commit, so it has to
be removed from everybody's configs.

Reviewed-by: sjg
Approved-by: many
23 months agoidr.9: Clean up a bit.
Sascha Wildner [Wed, 24 Oct 2012 14:19:31 +0000 (16:19 +0200)]
idr.9: Clean up a bit.

23 months agoidr: Integer ID management library
Vishesh Yadav [Thu, 23 Aug 2012 19:28:27 +0000 (00:58 +0530)]
idr: Integer ID management library

Derived from fd code. Almost compatible with Linux. Differences
mentioned in man page.

23 months agobsd-family-tree: Sync with FreeBSD (adds NetBSD 6.0).
Sascha Wildner [Tue, 23 Oct 2012 09:10:28 +0000 (11:10 +0200)]
bsd-family-tree: Sync with FreeBSD (adds NetBSD 6.0).

23 months agoLINT64: Remove comment. fe(4) is i386 specific.
Sascha Wildner [Tue, 23 Oct 2012 09:04:57 +0000 (11:04 +0200)]
LINT64: Remove comment. fe(4) is i386 specific.

23 months agoRemove CAPS.
Sascha Wildner [Mon, 22 Oct 2012 18:06:05 +0000 (20:06 +0200)]
Remove CAPS.

OK'd-by: dillon

23 months agocondvar.9: Remove trailing whitespace.
Sascha Wildner [Mon, 22 Oct 2012 16:30:12 +0000 (18:30 +0200)]
condvar.9: Remove trailing whitespace.

23 months agokernel/kinfo: Don't use 'SMP' alone to check for userland compilation.
Sascha Wildner [Mon, 22 Oct 2012 09:07:13 +0000 (11:07 +0200)]
kernel/kinfo: Don't use 'SMP' alone to check for userland compilation.

The code is used by both kernel and userland.

This is in preparation for removing UP code.

2 years agousched_set.2: Add BUGS section and improve formatting
Thomas Nikolajsen [Sun, 21 Oct 2012 21:44:32 +0000 (23:44 +0200)]
usched_set.2: Add BUGS section and improve formatting

2 years agoloader(8): Add documentation on kern.user_scheduler
Thomas Nikolajsen [Sun, 21 Oct 2012 18:55:51 +0000 (20:55 +0200)]
loader(8): Add documentation on kern.user_scheduler

2 years agousched(8): Add cpumask
Thomas Nikolajsen [Sun, 21 Oct 2012 18:51:37 +0000 (20:51 +0200)]
usched(8): Add cpumask

2 years agovkernel64: Add a missing 'break'.
Sascha Wildner [Sun, 21 Oct 2012 20:09:15 +0000 (22:09 +0200)]
vkernel64: Add a missing 'break'.

2 years agobmake: Add world Makefile but don't tie in it yet
John Marino [Sun, 21 Oct 2012 19:13:08 +0000 (21:13 +0200)]
bmake: Add world Makefile but don't tie in it yet

2 years agobmake: Add DragonFly READMEs
John Marino [Sun, 21 Oct 2012 19:10:59 +0000 (21:10 +0200)]
bmake: Add DragonFly READMEs

Add DragonFly README files to contrib/bmake and also add __unused
to the single argument of two empty functions.

2 years agoMerge branch 'vendor/BMAKE'
John Marino [Sun, 21 Oct 2012 19:06:35 +0000 (21:06 +0200)]
Merge branch 'vendor/BMAKE'

2 years agoImport bmake-20121010 to new vendor branch
John Marino [Sun, 21 Oct 2012 19:05:53 +0000 (21:05 +0200)]
Import bmake-20121010 to new vendor branch

2 years agoUPDATING: Fix a typo and mention that for usb4bsd, w&k need rebuilding.
Sascha Wildner [Sun, 21 Oct 2012 16:45:32 +0000 (18:45 +0200)]
UPDATING: Fix a typo and mention that for usb4bsd, w&k need rebuilding.

Sigh, I had written 'loader.conf' instead of 'make.conf'. It will need
a mention on the release page/errata.

2 years agoUPDATING: Add some words about usb4bsd.
Sascha Wildner [Sun, 21 Oct 2012 13:52:36 +0000 (15:52 +0200)]
UPDATING: Add some words about usb4bsd.

2 years agoobjcache: Make sure magazines are cache line aligned
Sepherosa Ziehau [Sun, 21 Oct 2012 12:23:04 +0000 (20:23 +0800)]
objcache: Make sure magazines are cache line aligned

This also makes magazines' size multiple cache line size.

2 years agoobjcache: Make sure that percpu_objcache and depot are cache line aligned
Sepherosa Ziehau [Sun, 21 Oct 2012 10:42:05 +0000 (18:42 +0800)]
objcache: Make sure that percpu_objcache and depot are cache line aligned

Since percpu_objcache and depot are embedded in the objcache, so objcache
itself must be cache line aligned.

2 years agogcc4X man pages: Introduce generic MLINK handling
John Marino [Sun, 21 Oct 2012 09:08:28 +0000 (11:08 +0200)]
gcc4X man pages: Introduce generic MLINK handling

A few months ago, the MLINK handling for binutils was updated to make
it easier to switch the primary version.  For binutils, every manpage
has a suffix based on the binutils version and the "real" man page is
linked to the primary version.

The two base compilers had the same organization, but the manual system
was not converted when binutils system was.  When gcc47 was brought in,
the manual organization wasn't implemented correctly and the gcc47 pages
ended up getting linked to the "real" man page instead of the primary
compiler gcc44.

While fixing this, bring in the binutils MLINK handling to prepare for
switching gcc47 to the primary compiler in the future.

2 years agoobjcache: objcache_create on longer changes cluster_limit
Sepherosa Ziehau [Sun, 21 Oct 2012 09:00:54 +0000 (17:00 +0800)]
objcache: objcache_create on longer changes cluster_limit

It is no longer needed to pass the pointer to cluster_limit.

2 years agoobjcache: Cache align magazinedepot and percpu_objcache
Sepherosa Ziehau [Sun, 21 Oct 2012 08:36:37 +0000 (16:36 +0800)]
objcache: Cache align magazinedepot and percpu_objcache

2 years agocondvar(9): adjust manpage to reflect reality
Markus Pfeiffer [Sat, 20 Oct 2012 20:50:17 +0000 (20:50 +0000)]
condvar(9): adjust manpage to reflect reality

also fix a typo while I am here

2 years agonetif: Enable ifpoll in module building
Sepherosa Ziehau [Sat, 20 Oct 2012 13:33:06 +0000 (21:33 +0800)]
netif: Enable ifpoll in module building

2 years agolibgomp47: link pthread library
John Marino [Sat, 20 Oct 2012 13:19:06 +0000 (15:19 +0200)]
libgomp47: link pthread library

2 years agoconfig: Enable ifpoll (IFPOLL_ENABLE) by default
Sepherosa Ziehau [Sat, 20 Oct 2012 12:17:24 +0000 (20:17 +0800)]
config: Enable ifpoll (IFPOLL_ENABLE) by default

2 years agoifpoll: Make status fraction and TX fraction easier to read
Sepherosa Ziehau [Sat, 20 Oct 2012 12:12:38 +0000 (20:12 +0800)]
ifpoll: Make status fraction and TX fraction easier to read

2 years agogcc47: Add libgomp
John Marino [Sat, 20 Oct 2012 06:37:48 +0000 (08:37 +0200)]
gcc47: Add libgomp

This library was not part of the gcc 4.7 system compiler set.
By request for the purpose of supporting OpenMP with system compiler,
libgomp is being added to the gcc 4.7 library set.

2 years agoMerge branch 'vendor/GCC47'
Charlie [Sat, 20 Oct 2012 10:10:13 +0000 (12:10 +0200)]
Merge branch 'vendor/GCC47'

2 years agoAdd libgomp source files to gcc 4.7 vendor branch
John Marino [Sat, 20 Oct 2012 06:35:34 +0000 (08:35 +0200)]
Add libgomp source files to gcc 4.7 vendor branch

2 years agoudevd(8): Reduce the scope of a yet unused variable.
Sascha Wildner [Sat, 20 Oct 2012 08:49:14 +0000 (10:49 +0200)]
udevd(8): Reduce the scope of a yet unused variable.

2 years agonewfs(8): Remove an unused variable.
Sascha Wildner [Sat, 20 Oct 2012 08:39:26 +0000 (10:39 +0200)]
newfs(8): Remove an unused variable.

Found-by: gcc47
2 years agomount{,_ufs}(8): Check for mountctl() error before printing buf.
Sascha Wildner [Sat, 20 Oct 2012 08:18:27 +0000 (10:18 +0200)]
mount{,_ufs}(8): Check for mountctl() error before printing buf.

2 years agogcc47: Add libssp and libssp_noshared
John Marino [Fri, 19 Oct 2012 15:43:21 +0000 (17:43 +0200)]
gcc47: Add libssp and libssp_noshared

These libraries were not part of the gcc 4.4 system compiler set.
Some pkgsrc packages assume the ssp libraries come with the compiler,
so add them to the gcc 4.7 library set.

2 years agoMerge branch 'vendor/GCC47'
Charlie [Sat, 20 Oct 2012 02:37:26 +0000 (04:37 +0200)]
Merge branch 'vendor/GCC47'

2 years agogcc47: Add __stack_chk_fail_local hack from gcc44
John Marino [Sat, 20 Oct 2012 00:06:27 +0000 (02:06 +0200)]
gcc47: Add __stack_chk_fail_local hack from gcc44

Like gcc44 before it, gcc47 is complaining about the hidden symbol of
__stack_chk_fail_local.  This patch swildner added to gcc44 will fix the
issue, but it is a bit of a hack.  A true fix may end up touching libc,
rtld, and other bits.  The original code is supposd to conserve a PIC
register.

Note that vendor-built GCCs on FreeBSD exhibit the same behavior and as
a consequence only the patched base compiler can be used to build certain
ports.

This hack should be fixed properly as soon as convenient.

2 years agoAdd libssp source files to gcc 4.7 vendor branch
John Marino [Fri, 19 Oct 2012 15:27:07 +0000 (17:27 +0200)]
Add libssp source files to gcc 4.7 vendor branch

2 years agokernel - Fix UP build for usched_dfly
Matthew Dillon [Fri, 19 Oct 2012 20:26:45 +0000 (13:26 -0700)]
kernel - Fix UP build for usched_dfly

* Fix UP build for usched_dfly (primarily for the 3.2 release, UP is being
  removed post-release).

2 years agorshd(8): Add an error check for getnameinfo().
Sascha Wildner [Fri, 19 Oct 2012 19:22:23 +0000 (21:22 +0200)]
rshd(8): Add an error check for getnameinfo().

2 years agokernel - Detect edge cases in ELF note handling
Matthew Dillon [Fri, 19 Oct 2012 17:41:01 +0000 (10:41 -0700)]
kernel - Detect edge cases in ELF note handling

* Do more stringent tests on ELF note structures and headers to
  avoid possible panics on page-crossings.

* Patch constructed from examination of a similar fix made to FreeBSD
  cvs/1.227.  However, our patch is written a different way.

Reported-by: Lukasz Wojcik <lukasz.wojcik@zoho.com>
2 years agoRevert a few additions of __unused that need some more thought.
Sascha Wildner [Fri, 19 Oct 2012 15:47:17 +0000 (17:47 +0200)]
Revert a few additions of __unused that need some more thought.

We can postpone it until WARNS gets raised to 4 (at the moment, all
this stuff is WARNS = 2).

2 years agoRevert some no longer needed local CFLAGS modifications.
Sascha Wildner [Fri, 19 Oct 2012 08:49:34 +0000 (10:49 +0200)]
Revert some no longer needed local CFLAGS modifications.

2 years agocrypto: Revert some changes in contributed code.
Sascha Wildner [Fri, 19 Oct 2012 08:47:11 +0000 (10:47 +0200)]
crypto: Revert some changes in contributed code.

2 years agoMove gcc47's -Wunused-but-set-{parameter,variable} to WARNS >= 4.
Sascha Wildner [Fri, 19 Oct 2012 08:43:55 +0000 (10:43 +0200)]
Move gcc47's -Wunused-but-set-{parameter,variable} to WARNS >= 4.

It's not really important stuff that they uncover.

Also, -Wunused-parameter is added at >= 4 too.

2 years agondis_events(8): Check a read().
Sascha Wildner [Fri, 19 Oct 2012 07:36:36 +0000 (09:36 +0200)]
ndis_events(8): Check a read().

Found-by: gcc47
2 years agolibstdc++47: Rework to prevent regeneration during install
John Marino [Fri, 19 Oct 2012 07:15:22 +0000 (09:15 +0200)]
libstdc++47: Rework to prevent regeneration during install

The installincludes target regenerated files such as c++config.h during
the install phase.  It may be a minor bug as "bits/c++config.h:" would
trigger it but "c++config.h:" without the subdirectory wouldn't.  In any
case, generating it and two other headers to the local working bits
directory wasn't necessary as installincludes target installs them in an
accessible location.  Reworking the makefiles prevents a write operation
during installworld.

Reported-by: dillon
2 years agombuf: Make cacheable fraction of mbuf clusters tunable
Sepherosa Ziehau [Fri, 19 Oct 2012 08:03:45 +0000 (16:03 +0800)]
mbuf: Make cacheable fraction of mbuf clusters tunable

2 years agombuf: Factor out m_getcl_cache; optimize m_getcl a little bit
Sepherosa Ziehau [Fri, 19 Oct 2012 06:13:36 +0000 (14:13 +0800)]
mbuf: Factor out m_getcl_cache; optimize m_getcl a little bit

2 years agombuf: Jumbo clusters are rarely used; keep the amount small.
Sepherosa Ziehau [Fri, 19 Oct 2012 05:53:54 +0000 (13:53 +0800)]
mbuf: Jumbo clusters are rarely used; keep the amount small.

2 years agombuf: Remove unused MALLOC_DEFINEs
Sepherosa Ziehau [Fri, 19 Oct 2012 05:23:01 +0000 (13:23 +0800)]
mbuf: Remove unused MALLOC_DEFINEs

2 years agoIPXrouted(8): Oops removed too much in the last commit.
Sascha Wildner [Thu, 18 Oct 2012 22:54:03 +0000 (00:54 +0200)]
IPXrouted(8): Oops removed too much in the last commit.

2 years ago<bsd.sys.mk>: Rename -W to -Wextra.
Sascha Wildner [Thu, 18 Oct 2012 22:30:13 +0000 (00:30 +0200)]
<bsd.sys.mk>: Rename -W to -Wextra.

-Wextra is a newer name and it is a bit more descriptive.

While here, break a long line.

2 years agowatchdogd(8): Silence a warning differently.
Sascha Wildner [Thu, 18 Oct 2012 22:13:41 +0000 (00:13 +0200)]
watchdogd(8): Silence a warning differently.

Also satisfies -Wunused-but-set-parameter.

Found-by: gcc47
2 years agokernel/x86_64: In pmap_enter(), entry is, in fact, used.
Sascha Wildner [Thu, 18 Oct 2012 15:53:36 +0000 (17:53 +0200)]
kernel/x86_64: In pmap_enter(), entry is, in fact, used.

2 years agomptable(8): Remove an unused variable.
Sascha Wildner [Thu, 18 Oct 2012 13:36:07 +0000 (15:36 +0200)]
mptable(8): Remove an unused variable.

Found-by: gcc47
2 years agoinetd(8): Fix initialization of se_rpc_{low,high}vers.
Sascha Wildner [Thu, 18 Oct 2012 13:35:08 +0000 (15:35 +0200)]
inetd(8): Fix initialization of se_rpc_{low,high}vers.

Found-by: gcc47
2 years agofwcontrol(8): f_cycle is only used in #if 0'd code, so #if 0 it too.
Sascha Wildner [Thu, 18 Oct 2012 13:34:20 +0000 (15:34 +0200)]
fwcontrol(8): f_cycle is only used in #if 0'd code, so #if 0 it too.

Found-by: gcc47
2 years agoIPXrouted(8): Remove dead code, DragonFly has RTM_ADD.
Sascha Wildner [Thu, 18 Oct 2012 13:32:19 +0000 (15:32 +0200)]
IPXrouted(8): Remove dead code, DragonFly has RTM_ADD.

2 years agoypxfr(8): Use the correct enum member for checking yp_errno.
Sascha Wildner [Thu, 18 Oct 2012 12:56:38 +0000 (14:56 +0200)]
ypxfr(8): Use the correct enum member for checking yp_errno.

Revert local CFLAGS, too.

Found-by: gcc47
2 years agoyppoll(8): Comment out -h option.
Sascha Wildner [Thu, 18 Oct 2012 12:30:27 +0000 (14:30 +0200)]
yppoll(8): Comment out -h option.

The implementation of it is missing (see e.g. NetBSD or OpenBSD). Until
someone works on it, comment out the existing code to silence a warning
about 'hostname' being set but unused.

Found-by: gcc47
2 years agoldconfig(8): Remove -s from usage(), too.
Sascha Wildner [Thu, 18 Oct 2012 12:22:38 +0000 (14:22 +0200)]
ldconfig(8): Remove -s from usage(), too.

2 years agomake(1): Use an inline function instead of a macro for Lst_Valid().
Sascha Wildner [Thu, 18 Oct 2012 12:03:04 +0000 (14:03 +0200)]
make(1): Use an inline function instead of a macro for Lst_Valid().

This gives -Waddress something to test even if the address of a local
variable is passed.

Remove local CFLAGS and put back under -Werror.

2 years agousb4bsd: Add a commented out line to our configs for enabling usb4bsd.
Sascha Wildner [Thu, 18 Oct 2012 07:14:53 +0000 (09:14 +0200)]
usb4bsd: Add a commented out line to our configs for enabling usb4bsd.

In addition to this, WANT_USB4BSD needs to be put into /etc/make.conf
for the userland part.

2 years agoSync zoneinfo database with tzdata2012g from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Thu, 18 Oct 2012 06:45:59 +0000 (08:45 +0200)]
Sync zoneinfo database with tzdata2012g from ftp://ftp.iana.org/tz/releases

* asia (Asia/Gaza, Asia/Hebron): Fall transition was Sep 21, not Sep 28.
    Thanks to Steffen Thorsen for this.

* australasia (Pacific/Apia): New DST rules for Western Samoa.
    Thanks to Nicholas Pereira for the heads-up and to Robert Elz
    for coding up the rules.

2 years agondiscvt(8): Unbreak build.
Sascha Wildner [Wed, 17 Oct 2012 20:51:15 +0000 (22:51 +0200)]
ndiscvt(8): Unbreak build.

2 years agousb4bsd/libusb: Remove an unused variable and mark a dummy variable unused.
Sascha Wildner [Wed, 17 Oct 2012 16:25:30 +0000 (18:25 +0200)]
usb4bsd/libusb: Remove an unused variable and mark a dummy variable unused.

2 years agocompilers.conf: Add -Wno-unknown-warning-option for clang.
Sascha Wildner [Wed, 17 Oct 2012 16:15:54 +0000 (18:15 +0200)]
compilers.conf: Add -Wno-unknown-warning-option for clang.

When compiling with clang, add -Wno-unknown-warning-option to silence
warnings about unknown warning options. We'll not maintain compatibility
for warning options in our wrapper.

Reported-by: Joris Giovannangeli <joris@giovannangeli.fr>
2 years agoRemove more unused variables in userland.
Sascha Wildner [Wed, 17 Oct 2012 16:08:46 +0000 (18:08 +0200)]
Remove more unused variables in userland.

Found-by: gcc47
2 years agosnd/hda: Restore the magic register setting to enable cache snooping
Sepherosa Ziehau [Wed, 17 Oct 2012 13:22:59 +0000 (21:22 +0800)]
snd/hda: Restore the magic register setting to enable cache snooping

It looks like certain chips ignore NOSNOOP settings in PCIe device
control configuration register.  Restore the magic register setting
to enable cache snooping.

Reported-by: many
Tested-by: Goetz Isenmann <info@goetz-isenmann.de>
2 years agobnx: Switch from DEVICE_POLLING to ifpoll
Sepherosa Ziehau [Wed, 17 Oct 2012 13:12:09 +0000 (21:12 +0800)]
bnx: Switch from DEVICE_POLLING to ifpoll

2 years agovinum(8): Remove some unused variables.
Sascha Wildner [Tue, 16 Oct 2012 10:41:43 +0000 (12:41 +0200)]
vinum(8): Remove some unused variables.

Found-by: gcc47
2 years agogrowfs(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 09:44:53 +0000 (11:44 +0200)]
growfs(8): Remove an unused variable.

Found-by: gcc47
2 years agorcs(1): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 09:19:46 +0000 (11:19 +0200)]
rcs(1): Remove an unused variable.

Found-by: gcc47
2 years agoloader(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 08:50:40 +0000 (10:50 +0200)]
loader(8): Remove an unused variable.

Found-by: gcc47
2 years agousb4bsd/ukbd: Adjust comment style a bit.
Sascha Wildner [Tue, 16 Oct 2012 08:28:52 +0000 (10:28 +0200)]
usb4bsd/ukbd: Adjust comment style a bit.

2 years agofsirand(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 08:16:22 +0000 (10:16 +0200)]
fsirand(8): Remove an unused variable.

Found-by: gcc47
2 years agoldconfig(8): Make -s a no-op.
Sascha Wildner [Tue, 16 Oct 2012 08:08:33 +0000 (10:08 +0200)]
ldconfig(8): Make -s a no-op.

The functionality of -s was removed in a369de1639fc. Also comment it out
in the manpage, but leave the option for compatibility.

Found-by: gcc47
2 years agoffsinfo(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 08:01:27 +0000 (10:01 +0200)]
ffsinfo(8): Remove an unused variable.

Found-by: gcc47
2 years agocryptdisks(8): The 'ok' variable is only needed in #ifdef DEBUG.
Sascha Wildner [Tue, 16 Oct 2012 07:58:08 +0000 (09:58 +0200)]
cryptdisks(8): The 'ok' variable is only needed in #ifdef DEBUG.

Found-by: gcc47
2 years agoccdconfig(8): Remove some unused variables.
Sascha Wildner [Tue, 16 Oct 2012 07:53:02 +0000 (09:53 +0200)]
ccdconfig(8): Remove some unused variables.

Found-by: gcc47
2 years agocamcontrol(8): Remove some unused variables.
Sascha Wildner [Tue, 16 Oct 2012 07:48:42 +0000 (09:48 +0200)]
camcontrol(8): Remove some unused variables.

Found-by: gcc47
2 years agousb: Fix a typo in ukbd.
Markus Pfeiffer [Tue, 16 Oct 2012 09:00:03 +0000 (09:00 +0000)]
usb: Fix a typo in ukbd.

2 years agousb4bsd: Fix attach/detach for ukbd.
Markus Pfeiffer [Tue, 16 Oct 2012 08:59:23 +0000 (08:59 +0000)]
usb4bsd: Fix attach/detach for ukbd.

This still needs work to make it function with the debugger

2 years agousched_set.2: Mention usched(8).
Sascha Wildner [Tue, 16 Oct 2012 06:49:09 +0000 (08:49 +0200)]
usched_set.2: Mention usched(8).

2 years agousched(8): Add a minimal manual page.
Sascha Wildner [Tue, 16 Oct 2012 06:48:06 +0000 (08:48 +0200)]
usched(8): Add a minimal manual page.

2 years agousched(8): #if 0 out some (yet) unused code.
Sascha Wildner [Tue, 16 Oct 2012 06:47:26 +0000 (08:47 +0200)]
usched(8): #if 0 out some (yet) unused code.

Found-by: gcc47
2 years agotcplay(3): The 'ok' variable is only needed in #ifdef DEBUG.
Sascha Wildner [Tue, 16 Oct 2012 05:00:32 +0000 (07:00 +0200)]
tcplay(3): The 'ok' variable is only needed in #ifdef DEBUG.

Found-by: gcc47
2 years agoreboot(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 04:38:14 +0000 (06:38 +0200)]
reboot(8): Remove an unused variable.

Found-by: gcc47
2 years agorcorder(8): Whitespace fix.
Sascha Wildner [Tue, 16 Oct 2012 04:36:35 +0000 (06:36 +0200)]
rcorder(8): Whitespace fix.

2 years agomonitor(1): Check kevent().
Sascha Wildner [Tue, 16 Oct 2012 04:36:09 +0000 (06:36 +0200)]
monitor(1): Check kevent().

Found-by: gcc47
2 years agodfregress(8): Check prop_dictionary_get_uint32()'s return value.
Sascha Wildner [Tue, 16 Oct 2012 02:59:08 +0000 (04:59 +0200)]
dfregress(8): Check prop_dictionary_get_uint32()'s return value.

Consistent with the rest of the file.

Found-by: gcc47
2 years agobrandelf(1): Make -v a no-op.
Sascha Wildner [Tue, 16 Oct 2012 02:51:22 +0000 (04:51 +0200)]
brandelf(1): Make -v a no-op.

-v never did anything, so remove the verbose variable and comment it out
in the manpage, but leave the option for compatibility.

Found-by: gcc47
2 years agoifpoll: Adjust default parameters for 1000Mbps network
Sepherosa Ziehau [Mon, 15 Oct 2012 13:30:13 +0000 (21:30 +0800)]
ifpoll: Adjust default parameters for 1000Mbps network

2 years agoigb: Per-device TX/RX descriptor count tunables
Sepherosa Ziehau [Mon, 15 Oct 2012 13:05:37 +0000 (21:05 +0800)]
igb: Per-device TX/RX descriptor count tunables

2 years agoigb: Cache align software TX/RX descriptors
Sepherosa Ziehau [Mon, 15 Oct 2012 09:27:03 +0000 (17:27 +0800)]
igb: Cache align software TX/RX descriptors

2 years agoigb: Move uncommonly accessed fields to the end of the struct
Sepherosa Ziehau [Mon, 15 Oct 2012 09:19:57 +0000 (17:19 +0800)]
igb: Move uncommonly accessed fields to the end of the struct