]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
12 years agoMFC 232072: Pretty-print the advice constants passed to posix_fadvise(2).
jhb [Mon, 19 Mar 2012 21:33:35 +0000 (21:33 +0000)]
MFC 232072: Pretty-print the advice constants passed to posix_fadvise(2).

git-svn-id: svn://svn.freebsd.org/base/stable/8@233206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 229621:
jhb [Mon, 19 Mar 2012 20:49:42 +0000 (20:49 +0000)]
MFC 229621:
Convert all users of IF_ADDR_LOCK to use new locking macros that specify
either a read lock or write lock.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233201 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 225096:
jhb [Mon, 19 Mar 2012 20:15:18 +0000 (20:15 +0000)]
MFC 225096:
Fix if_addr_mtx recursion in mld6.

mld_set_version() is called only from mld_v1_input_query() and
mld_v2_input_query() both holding the if_addr_mtx lock, and then calling
into mld_v2_cancel_link_timers() acquires it the second time, which results
in mtx recursion. To avoid that, delay if_addr_mtx acquisition until after
mld_set_version() is called; while here, further reduce locking scope
to protect only the needed pieces: if_multiaddrs, in6m_lookup_locked().

git-svn-id: svn://svn.freebsd.org/base/stable/8@233199 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoBump the version of perl used as part of the release build from 5.10
kensmith [Mon, 19 Mar 2012 13:19:02 +0000 (13:19 +0000)]
Bump the version of perl used as part of the release build from 5.10
to 5.12.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233180 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r233041:
kib [Mon, 19 Mar 2012 11:32:42 +0000 (11:32 +0000)]
MFC r233041:
Remove write-only variable.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233172 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232541:
kib [Mon, 19 Mar 2012 11:27:54 +0000 (11:27 +0000)]
MFC r232541:
Apply inlined vn_vget_ino() algorithm for ".." lookup in pseudofs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233171 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232505:
eadler [Mon, 19 Mar 2012 01:56:52 +0000 (01:56 +0000)]
MFC r232505:
Remove outdated comment of seven years

PR: docs/116116
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233156 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231306:
eadler [Mon, 19 Mar 2012 01:51:53 +0000 (01:51 +0000)]
MFC r231306:
Fix NULL ptr dereference in setusercontext if pwd is null,
LOGIN_SETPRIORITY is set, and setting the priority (rtprio or
setpriority) fails.

PR: kern/164238
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233153 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232504:
eadler [Mon, 19 Mar 2012 01:32:53 +0000 (01:32 +0000)]
MFC r232504:
Remove reference to gcc's non-standard -fwritable-strings, which
doesn't exist in recent releases (and is bad advice anyway)

PR: docs/163119
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233150 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232503:
eadler [Mon, 19 Mar 2012 01:27:55 +0000 (01:27 +0000)]
MFC r232503:
POSIX mandates that swab do nothing when len < 0

PR: 140690
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232506:
eadler [Mon, 19 Mar 2012 01:18:46 +0000 (01:18 +0000)]
MFC r232506:
Explicitly list dependency

PR: misc/160463
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232501:
eadler [Mon, 19 Mar 2012 01:16:11 +0000 (01:16 +0000)]
MFC r232501:
ehci tunables are only available when kernel is compiled with USB_DEBUG

PR: docs/163646
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233142 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232466, r232469:
eadler [Mon, 19 Mar 2012 01:04:46 +0000 (01:04 +0000)]
MFC r232466, r232469:
Direct users to swapinfo and pstat from df

PR: bin/165321
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233140 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r216650:
hrs [Sun, 18 Mar 2012 10:45:36 +0000 (10:45 +0000)]
MFC r216650:

Add IFT_L2VLAN to the list that is capable of supplying the ingredients
of the EUI64 part of an IPv6 address. Otherwise vlans will all use the
MAC address of the first ethernet interface of the system.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233112 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r232316
brueffer [Sat, 17 Mar 2012 12:35:49 +0000 (12:35 +0000)]
MFC: r232316

Update bridge(4) default values.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233088 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r232315
brueffer [Sat, 17 Mar 2012 12:15:35 +0000 (12:15 +0000)]
MFC: r232315

Use a more appropriate default for the maximum number of addresses in the
bridge forwarding table.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232785
iwasaki [Sat, 17 Mar 2012 06:49:53 +0000 (06:49 +0000)]
MFC r232785

Fix wrong asresp frame parsing in iwi_checkforqos().

git-svn-id: svn://svn.freebsd.org/base/stable/8@233078 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232777:
kib [Sat, 17 Mar 2012 02:05:33 +0000 (02:05 +0000)]
MFC r232777:
Optimize tls_get_addr_common().

git-svn-id: svn://svn.freebsd.org/base/stable/8@233067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232973:
kib [Sat, 17 Mar 2012 01:59:15 +0000 (01:59 +0000)]
MFC r232973:
Fix indentation.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232967:
kib [Sat, 17 Mar 2012 01:51:30 +0000 (01:51 +0000)]
MFC r232967:
Add PCI Id for the AMT SOL UART on G4x series Intel chipsets.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233065 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232776:
kib [Sat, 17 Mar 2012 01:47:31 +0000 (01:47 +0000)]
MFC r232776:
Add brackets around bare '-1' used as the macro body.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233064 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r226702
sbruno [Fri, 16 Mar 2012 23:58:35 +0000 (23:58 +0000)]
MFC r226702

Author:  obrien
Date:  Mon Oct 24 20:52:41 2011 UTC (4 months, 3 weeks ago)
Changed paths:  3
Log Message:

* Don't give the impression that this compiler is GPLv3.
  (It is "well known" that GCC 4.2.2 is GPLv3.)
* Don't give the impression that this compiler isn't "trustable".
* Fix dependency nit.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233055 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 226340,226340:
jhb [Fri, 16 Mar 2012 21:28:29 +0000 (21:28 +0000)]
MFC 226340,226340:
Use queue(3) macros instead of home-rolled versions in several places in
the INET6 code.  This includes retiring the 'ndpr_next' and 'pfr_next'
macros.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232668:
emaste [Fri, 16 Mar 2012 13:46:54 +0000 (13:46 +0000)]
MFC r232668:

  Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.

git-svn-id: svn://svn.freebsd.org/base/stable/8@233033 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 232854,232874,232882,232883,232886 for bus_get_dma_tag()
scottl [Fri, 16 Mar 2012 09:22:59 +0000 (09:22 +0000)]
MFC 232854,232874,232882,232883,232886 for bus_get_dma_tag()

git-svn-id: svn://svn.freebsd.org/base/stable/8@233025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r22990[45] and r229907-r229919:
eadler [Fri, 16 Mar 2012 03:22:37 +0000 (03:22 +0000)]
MFC r22990[45] and r229907-r229919:

- fix a variety of warnings produced by gcc46 when compiling world

Approved by (cperciva)

git-svn-id: svn://svn.freebsd.org/base/stable/8@233021 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r228274:
eadler [Fri, 16 Mar 2012 03:16:10 +0000 (03:16 +0000)]
MFC r228274:
 - Fix some uninitialized variables in pipe regression tests that result in failure.

PR: misc/161175
Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@233020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232986
sbruno [Thu, 15 Mar 2012 16:45:59 +0000 (16:45 +0000)]
MFC r232986

Update man page to present -T argument in synopsis

git-svn-id: svn://svn.freebsd.org/base/stable/8@233008 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 232675
ken [Wed, 14 Mar 2012 22:30:14 +0000 (22:30 +0000)]
MFC 232675

  Make the mps(4) module depend on the cam module.

  Submitted by: Mykola Dzham <i@levsha.me>

git-svn-id: svn://svn.freebsd.org/base/stable/8@232989 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232833:
kib [Wed, 14 Mar 2012 18:47:41 +0000 (18:47 +0000)]
MFC r232833:
Remove not needed ARGSUSED lint command.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232979 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoDummy-initizlize variables to fix build breakage after r232942, because of
mav [Wed, 14 Mar 2012 14:14:16 +0000 (14:14 +0000)]
Dummy-initizlize variables to fix build breakage after r232942, because of
gcc falsely reporting variables as uninitialized. Code committed at that
revision don't even touch half of mentioned variables.

This is direct commit to 8-STABLE, as HEAD and 9-STABLE have no problem.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232968 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r232822
marius [Wed, 14 Mar 2012 10:02:42 +0000 (10:02 +0000)]
MFC: r232822

Fix a bug introduced in r223938 (MFC'ed to stable/8 in r224411); on
big-endian machines coping a 32-bit quantum bytewise to the address of
a 64-bit variable results in writing to the "wrong" 32-bit half so adjust
the address accordingly. This fix is implemented in a hackish way for
two reasons:
o in order to be able to get it into 8.3 with zero impact on the little-
  endian architectures where this bug has no effect and
o to avoid blowing the x86 boot2 out of the water again when compiling
  it with clang, which all sane versions of this fix tested do.
This change fixes booting from UFS1 file systems on big-endian machines.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232963 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232660:
kib [Wed, 14 Mar 2012 07:10:36 +0000 (07:10 +0000)]
MFC r232660:
In batch mode, exit after receiving SIGINT, instead of immediate
output of the next display.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232957 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r229288:
mav [Tue, 13 Mar 2012 20:37:08 +0000 (20:37 +0000)]
MFC r229288:
Remove unneeded checks for CAM_DEV_QFRZN after cam_periph_runccb() call.
cam_periph_runccb() since the beginning checks it and releases device queue.
After r203108 it even clears CAM_DEV_QFRZN flag after that to avoid double
release, so removed code is unreachable now.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232944 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFc r228846:
mav [Tue, 13 Mar 2012 20:34:33 +0000 (20:34 +0000)]
MFc r228846:
Use READ CAPACITY(16) to get information about device physical sectors.
As soon as not all devices support READ CAPACITY(16), automatically fall
back to READ CAPACITY(10) if CAM_REQ_INVALID or SSD_KEY_ILLEGAL_REQUEST
status returned.

It also provides first bits of information about Logical Block Provisioning
(aka UNMAP/TRIM) support by the device.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232942 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232515:
bz [Mon, 12 Mar 2012 22:13:17 +0000 (22:13 +0000)]
MFC r232515:

 Rather than printing the output from route add for all FIBs just print them
 for the default FIB followed by a statement with a list of FIB numbers for
 all the other FIBs we install the routes for.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232906 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232609:
bz [Mon, 12 Mar 2012 22:10:58 +0000 (22:10 +0000)]
MFC r232609:

 Use = rather than == for expressions to test(1) builtin(1) in sh(1) to
 comply with standards.

 On modern branches there is an undocumented alias (see r219084) but on
 stable/7 this is still an error.

 Sponsored by: Cisco Systems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232905 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232723,r232726:
tuexen [Mon, 12 Mar 2012 21:52:31 +0000 (21:52 +0000)]
MFC r232723,r232726:
Fix a bug reported by Peter Holm which results in a crash:
Verify in sctp_peeloff() that the socket is a one-to-many
style SCTP socket.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232902 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232039:
hselasky [Mon, 12 Mar 2012 18:44:30 +0000 (18:44 +0000)]
MFC r232039:
Avoid creating PCM devices for MIDI only adapters.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232879 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r228485 and r228484:
hselasky [Mon, 12 Mar 2012 18:41:41 +0000 (18:41 +0000)]
MFC r228485 and r228484:
Stop USB audio transfers early so that any audio applications
will time out and close opened /dev/dspX.Y device(s), if
any.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232878 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r230238 and r232684:
hselasky [Mon, 12 Mar 2012 18:17:43 +0000 (18:17 +0000)]
MFC r230238 and r232684:
Add new USB IDs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232875 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232448:
hselasky [Mon, 12 Mar 2012 17:56:57 +0000 (17:56 +0000)]
MFC r232448:
Make sure that the USB system suspend event is executed synchronously
and not asynchronously.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r216121 from head:
gavin [Sun, 11 Mar 2012 22:07:41 +0000 (22:07 +0000)]
Merge r216121 from head:
   Remove two unused variables, left over from the refactoring in r180104.

PR: bin/152551
Submitted by: Henning Petersen <henning.petersen t-online.de>

git-svn-id: svn://svn.freebsd.org/base/stable/8@232838 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r226862 from head:
gavin [Sun, 11 Mar 2012 19:23:42 +0000 (19:23 +0000)]
Merge r226862 from head:
   Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been
   required since X version 4.3.0.

PR: conf/161847
Submitted by: eadler

git-svn-id: svn://svn.freebsd.org/base/stable/8@232827 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232180:
kib [Sun, 11 Mar 2012 09:29:02 +0000 (09:29 +0000)]
MFC r232180:
Document SO_PROTOCOL socket option.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232820 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232179:
kib [Sun, 11 Mar 2012 09:27:09 +0000 (09:27 +0000)]
MFC r232179:
Add SO_PROTOCOL/SO_PROTOTYPE socket SOL_SOCKET-level option to get the
socket protocol number.

PR: kern/162352

git-svn-id: svn://svn.freebsd.org/base/stable/8@232819 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232178:
kib [Sun, 11 Mar 2012 09:22:05 +0000 (09:22 +0000)]
MFC r232178:
Remove apparently redundand checks for socket so_proto being non-NULL
from sosetopt() and sogetopt().

git-svn-id: svn://svn.freebsd.org/base/stable/8@232818 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232471:
eadler [Sat, 10 Mar 2012 18:36:40 +0000 (18:36 +0000)]
MFC r232471:
Document the [n]eei and [n]bacc options

PR: docs/165009
Approved by: bcr

git-svn-id: svn://svn.freebsd.org/base/stable/8@232791 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227626, r227642:
eadler [Sat, 10 Mar 2012 18:26:25 +0000 (18:26 +0000)]
MFC r227626, r227642:
- be more precise about the unit of measurement

Approved by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/8@232788 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r232250 from head:
gavin [Sat, 10 Mar 2012 17:55:58 +0000 (17:55 +0000)]
Merge r232250 from head:

  Correct capitalization of "Hz" in user-visible text (manpages, printf(),
  etc).

git-svn-id: svn://svn.freebsd.org/base/stable/8@232787 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r230984:
rstone [Sat, 10 Mar 2012 02:27:04 +0000 (02:27 +0000)]
MFC r230984:
 Whenever a new kernel thread is spawned, explicitly clear any CPU affinity
 set on the new thread.  This prevents the thread from inadvertently
 inheriting affinity from a random sibling.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232757 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232339:
ae [Thu, 8 Mar 2012 09:55:47 +0000 (09:55 +0000)]
MFC r232339:
  Note that memory should be freed after uuid_to_string(3) call.

PR: docs/161808

git-svn-id: svn://svn.freebsd.org/base/stable/8@232687 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoSynchronize nullfs with HEAD, mostly merge all locking changes.
kib [Wed, 7 Mar 2012 18:33:11 +0000 (18:33 +0000)]
Synchronize nullfs with HEAD, mostly merge all locking changes.

Tested by: pho

MFC r229428:
Document the state of the lowervp vnode for null_nodeget().

MFC r229431:
Do the vput() for the lowervp in the null_nodeget() for error case too.
Several callers of null_nodeget() did the cleanup itself, but several
missed it, most prominent being null_bypass(). Remove the cleanup from
the callers, now null_nodeget() handles lowervp free itself.

MFC r229600 (by dim):
In sys/fs/nullfs/null_subr.c, in a KASSERT, output the correct vnode
pointer 'lowervp' instead of 'vp', which is uninitialized at that point.

MFC r230304 (by rea):
Use hashdestroy() instead of naive free().

MFC r232299:
Move the code to destroy half-contructed nullfs vnode into helper
function null_destroy_proto() from null_insmntque_dtr(). Also
apply null_destroy_proto() in null_nodeget() when we raced and a vnode
is found in the hash, so the currently allocated protonode shall be
destroyed.

Lock the vnode interlock around reassigning the v_vnlock.

MFC r232301:
Always request exclusive lock for the lower vnode in nullfs_vget().
The null_nodeget() requires exclusive lock on lowervp to be able to
insmntque() new vnode.

MFC r232303:
In null_reclaim(), assert that reclaimed vnode is fully constructed,
instead of accepting half-constructed vnode. Previous code cannot decide
what to do with such vnode anyway, and although processing it for hash
removal, paniced later when getting rid of nullfs reference on lowervp.

While there, remove initializations from the declaration block.

MFC r232304:
Document that null_nodeget() cannot take shared-locked lowervp due to
insmntque() requirements.

MFC r232305:
Allow shared locks for reads when lower filesystem accept shared locking.

MFC r232383:
Do not expose unlocked unconstructed nullfs vnode on mount list.
Lock the native nullfs vnode lock before switching the locks.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232665 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232296:
kib [Wed, 7 Mar 2012 08:24:48 +0000 (08:24 +0000)]
MFC r232296:
Merge a split multi-line comment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232650 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231821:
pluknet [Wed, 7 Mar 2012 08:07:28 +0000 (08:07 +0000)]
MFC r231821:

delete-old does not have delete-old-libs dependency.
Reflect this in the comment.

PR: conf/163993
Submitted by: Eugen Konkov <kes-kes at yandex ru>

git-svn-id: svn://svn.freebsd.org/base/stable/8@232646 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231990
mp [Wed, 7 Mar 2012 01:31:29 +0000 (01:31 +0000)]
MFC r231990

Update to tcsh 6.18.01

git-svn-id: svn://svn.freebsd.org/base/stable/8@232635 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoRevert mergeinfo on the root directory.
remko [Tue, 6 Mar 2012 20:37:06 +0000 (20:37 +0000)]
Revert mergeinfo on the root directory.
The mergeinfo should only be on ObsoleteFiles.inc

Thanks for helping: jh

git-svn-id: svn://svn.freebsd.org/base/stable/8@232622 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoOn second thought and look; this only goes for 8-stable
remko [Tue, 6 Mar 2012 14:18:54 +0000 (14:18 +0000)]
On second thought and look; this only goes for 8-stable
where the ordering had gone beserk. Fix this manually.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r238821
remko [Tue, 6 Mar 2012 14:10:57 +0000 (14:10 +0000)]
Merge r238821

Add sticky.8 to the obsolete files since it had been
moved to sticky.7

Submitted by: maxim and pluknet

With help from: dim (because of awkward merge conflicts)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232606 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231387
nyan [Tue, 6 Mar 2012 12:58:19 +0000 (12:58 +0000)]
MFC: r231387

  Reduce diffs against i386.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232603 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232239:
kib [Tue, 6 Mar 2012 11:16:14 +0000 (11:16 +0000)]
MFC r232239:
Fix a race in top non-interactive mode.  Use plain sleep(3) call instead
of arming timer and then pausing.  If SIGALRM is delivered before pause(3)
is entered, top hangs.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232599 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232143:
kib [Tue, 6 Mar 2012 10:51:53 +0000 (10:51 +0000)]
MFC r232143:
Do not write to the user address directly, use suword().

git-svn-id: svn://svn.freebsd.org/base/stable/8@232597 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232002:
kib [Tue, 6 Mar 2012 10:45:23 +0000 (10:45 +0000)]
MFC r232002:
Remove wrong comment.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232596 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r230333
remko [Tue, 6 Mar 2012 10:24:31 +0000 (10:24 +0000)]
MFC r230333

Add support for new if_run(4) Logitech device.

Original commit message:
  Add support for new USB device.

  PR: usb/164275
  MFC after: 3 days

PR: usb/164275

git-svn-id: svn://svn.freebsd.org/base/stable/8@232594 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r218998
remko [Tue, 6 Mar 2012 10:20:15 +0000 (10:20 +0000)]
Merge r218998

Move the sticky manual from section 8 to section
7 like NetBSD has, since this is not a command
on itself.

PR: 124468

git-svn-id: svn://svn.freebsd.org/base/stable/8@232593 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231858:
bz [Mon, 5 Mar 2012 19:13:19 +0000 (19:13 +0000)]
MFC r231858:

 Add regression tests scripts for multi-IP FIBs exercising the send,
 receive and forward path tagging packets with both the ifconfig fib
 option or using ipfw, running ICMP6, TCP/v6 and UDP/v6 tests and
 testing both setfib(2) as well as the SO_SETFIB socket option.

 At 16 FIBs a total of over 64k return codes/replies/stati are checked,
 sometimes multiple times (in different ways, e.g. the reflected request
 as well as ipfw counter values).

 The scripts need two or three machines to run and are thus not added
 to the tools/regression framework but only to tools/test.

MFC r232114:

 Update scripts to work around two sh(1) bugs found in stable/8:
 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does.
 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted.

 Correct typos and improve some details forwarding.sh already
 had in initiator, esp. related to ipfw accepting if the default
 is deny.

 Add an extra stat call to the "delay" function in addition to the
 touch which together is still a lot faster than sleep 1 but seems
 to help a lot more to mitigate the unrelated kernel race seen.

Sponsored by: Cisco Systems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232567 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231855:
bz [Mon, 5 Mar 2012 19:10:58 +0000 (19:10 +0000)]
MFC r231855:

 Add regression tests for the setsockopt(2) SO_SETFIB socket option.

 Check that the expected domain(9) families all handle the socket option
 correctly and do proper bounds checks.  This would catch bugs as fixed
 in (r230938,)r230981.

Sponsored by: Cisco Systems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232565 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 232411:
ken [Mon, 5 Mar 2012 19:01:23 +0000 (19:01 +0000)]
MFC 232411:

  Fix a problem that was causing the mpt(4) driver to attach to MegaRAID
  cards that should be handled by the mfi(4) driver.

  The root of the problem is that the mpt(4) driver was masking off the
  bottom bit of the PCI device ID when deciding which cards to attach to.

  It appears that a number of the mpt(4) Fibre Channel cards had a LAN
  variant whose PCI device ID was just one bit off from the FC card's device
  ID.  The FC cards were even and the LAN cards were odd.

  The problem was that this pattern wasn't carried over on the SAS and
  parallel SCSI mpt(4) cards.  Luckily the SAS and parallel SCSI PCI device
  IDs were either even numbers, or they would get masked to a supported
  adjacent PCI device ID, and everything worked well.

  Now LSI is using some of the odd-numbered PCI device IDs between the 3Gb
  SAS device IDs for their new MegaRAID cards.  This is causing the mpt(4)
  driver to attach to the RAID cards instead of the mfi(4) driver.

  The solution is to stop masking off the bottom bit of the device ID, and
  explicitly list the PCI device IDs of all supported cards.

  This change should be a no-op for mpt(4) hardware.  The only intended
  functional change is that for the 929X, the is_fc variable gets set.  It
  wasn't being set previously, but needs to be because the 929X is a Fibre
  Channel card.

  Reported by: Kashyap Desai <Kashyap.Desai@lsi.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@232563 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225682:
hrs [Mon, 5 Mar 2012 18:40:53 +0000 (18:40 +0000)]
MFC r225682:
Copy ip6po_minmtu and ip6po_prefer_tempaddr in ip6_copypktopts().  This fixes
inconsistency when options are specified by both setsockopt() and ancillary
data types.

PR: kern/158307

git-svn-id: svn://svn.freebsd.org/base/stable/8@232560 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r231761 from head:
glebius [Mon, 5 Mar 2012 17:51:57 +0000 (17:51 +0000)]
Merge r231761 from head:
  In ng_bypass() add more protection against potential race
  with ng_rmnode() and its followers.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232556 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232225
jimharris [Mon, 5 Mar 2012 17:39:13 +0000 (17:39 +0000)]
MFC r232225

Update PCI-IDs with devices found on Intel SDP

Return  BUS_PROBE_DEFAULT so that non-default drivers may be loaded

Approved by: sbruno

git-svn-id: svn://svn.freebsd.org/base/stable/8@232554 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231852,232127:
bz [Mon, 5 Mar 2012 17:33:01 +0000 (17:33 +0000)]
MFC r231852,232127:

  Merge multi-FIB IPv6 support.

  Extend the so far IPv4-only support for multiple routing tables (FIBs)
  introduced in r178888 to IPv6 providing feature parity.

  This includes an extended rtalloc(9) KPI for IPv6, the necessary
  adjustments to the network stack, and user land support as in netstat.

Sponsored by: Cisco Systems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232552 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232202:
delphij [Mon, 5 Mar 2012 17:09:16 +0000 (17:09 +0000)]
MFC r232202:

Drop setuid status while doing file operations to prevent potential
information leak.  This changeset is intended to be a minimal one
to make backports easier.

Reviewed by: kevlo, remko

git-svn-id: svn://svn.freebsd.org/base/stable/8@232551 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoBackout r223115 and restore the historic behavior (create the
delphij [Mon, 5 Mar 2012 17:08:42 +0000 (17:08 +0000)]
Backout r223115 and restore the historic behavior (create the
default base directory in pw.conf).

git-svn-id: svn://svn.freebsd.org/base/stable/8@232550 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231888:
delphij [Mon, 5 Mar 2012 17:06:34 +0000 (17:06 +0000)]
MFC r231888:

Put the signal trap output to standard error instead of standard output.
Without this change, pressing ^T could result in rc.d script putting
junk strings like:

        Script <filename> running

in configuration files when redirecting standard output to these files.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232549 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoBump __FreeBSD_version to 803500 now that releng/8.3 has been branched.
kensmith [Sat, 3 Mar 2012 06:18:18 +0000 (06:18 +0000)]
Bump __FreeBSD_version to 803500 now that releng/8.3 has been branched.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232439 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r229304,r229748,r229751,r232436
kensmith [Sat, 3 Mar 2012 05:46:24 +0000 (05:46 +0000)]
Merge r229304,r229748,r229751,r232436

Catch up to head and stable/9 for what combination of __FreeBSD_version
values map to package directories.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232437 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231713
remko [Fri, 2 Mar 2012 09:30:16 +0000 (09:30 +0000)]
MFC r231713

Add additional Sierra 3G device.

  Original commit message:
  Add new USB device ID.

  MFC after: 3 days
  PR: usb/165154

PR: usb/165154
Approved by: re(kib), hselasky

git-svn-id: svn://svn.freebsd.org/base/stable/8@232381 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r230989: Fix a possible infinite loop in "route flush" on 64-bit archs.
hrs [Fri, 2 Mar 2012 00:15:52 +0000 (00:15 +0000)]
MFC r230989: Fix a possible infinite loop in "route flush" on 64-bit archs.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232371 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r230981: Fix input validation in SO_SETFIB socket option.
hrs [Fri, 2 Mar 2012 00:15:13 +0000 (00:15 +0000)]
MFC r230981: Fix input validation in SO_SETFIB socket option.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232267:
emaste [Thu, 1 Mar 2012 19:43:28 +0000 (19:43 +0000)]
MFC r232267:
  Workaround for PCIe 4GB boundary issue

  Enforce a boundary of no more than 4GB - transfers crossing a 4GB
  boundary can lead to data corruption due to PCIe limitations.  This
  change is a less-intrusive workaround that can be quickly merged back
  to older branches; a cleaner implementation will arrive in HEAD later
  but may require KPI changes.

  This change is based on a suggestion by jhb@.

Approved by: re
Reviewed by: jhb (MFC)
Reviewed by: jhb, scottl (original)
Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@232354 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231743,231836-231837,231839,231883,232308
gibbs [Thu, 1 Mar 2012 19:09:28 +0000 (19:09 +0000)]
MFC r231743,231836-231837,231839,231883,232308
    Xen PV block interface enhancements

Approved by:  re (kib)
Reviewed by:  cperciva
Tested by:    cperciva
Sponsored by: Spectra Logic Corporation

r231743
=======
Enhance documentation, improve interoperability, and fix defects in
FreeBSD's front and back Xen blkif interface drivers.

sys/dev/xen/blkfront/block.h:
sys/dev/xen/blkfront/blkfront.c:
sys/dev/xen/blkback/blkback.c:
Replace FreeBSD specific multi-page ring impelementation with
support for both the Citrix and Amazon/RedHat versions of this
extension.

sys/dev/xen/blkfront/blkfront.c:
o Add a per-instance sysctl tree that exposes all negotiated
  transport parameters (ring pages, max number of requests,
  max request size, max number of segments).
o In blkfront_vdevice_to_unit() add a missing return statement
  so that we properly identify the unit number for high numbered
  xvd devices.

sys/dev/xen/blkback/blkback.c:
o Add static dtrace probes for several events in this driver.
o Defer connection shutdown processing until the front-end
  enters the closed state.  This avoids prematurely tearing
  down the connection when buggy front-ends transition to the
  closing state, even though the device is open and they
  veto the close request from the tool stack.
o Add nodes for maximum request size and the number of active
  ring pages to the exising, per-instance, sysctl tree.
o Miscelaneous style cleanup.

sys/xen/interface/io/blkif.h:
o Add extensive documentation of the XenStore nodes used to
  implement the blkif interface.
o Document the startup sequence between a front and back driver.
o Add structures and documenatation for the "discard" feature
  (AKA Trim).
o Cleanup some definitions related to FreeBSD's request
  number/size/segment-limit extension.

sys/dev/xen/blkfront/blkfront.c:
sys/dev/xen/blkback/blkback.c:
sys/xen/xenbus/xenbusvar.h:
Add the convenience function xenbus_get_otherend_state() and
use it to simplify some logic in both block-front and block-back.

r231836
=======
Fix "_" vs. "-" typo in a comment.  No functional changes.

r231837
=======
Fix typo in a printf string: "specificed" -> "specified".

r231839
=======
Fix a bug in the calculation of the maximum I/O request size.
The previous code did not limit the I/O request size based on
the maximum number of segments supported by the back-end.  In
current practice, since the only back-end supporting chained
requests is the FreeBSD implementation, this limit was never
exceeded.

sys/dev/xen/blkfront/block.h:
Add two macros, XBF_SEGS_TO_SIZE() and XBF_SIZE_TO_SEGS(),
to centralize the logic of reserving a segment to deal with
non-page-aligned I/Os.

sys/dev/xen/blkfront/blkfront.c:
o When negotiating transfer parameters, limit the
  max_request_size we use and publish, if it is greater
  than the maximum, unaligned, I/O we can support with
  the number of segments advertised by the backend.
o Don't unilaterally reduce the I/O size published to
  the disk layer by a single page.  max_request_size
  is already properly limited in the transfer parameter
  negotiation code.
o Fix typos in printf strings:
"max_requests_segments" -> "max_request_segments"
"specificed" -> "specified"

r231883
=======
Fix regression in the handling of blkback close events for
devices that are unplugged via QEMU.

sys/dev/xen/blkback/blkback.c:
Toolstack initiated closures change the frontend's state
to Closing.  The backend must change to Closing as well,
even if we can't actually close yet, in order for the
frontend to notice and start the closing process.

r232308
=======
blkif interface comment cleanups.  No functional changes

sys/xen/interface/io/blkif.h:
o Insert space in "Red Hat".
o Fix typo "discard-aligment" -> "discard-alignment"
o Fix typo "unamp" -> "unmap"
o Fix typo "formated" -> "formatted"
o Clarify the text for "params".
o Clarify the text for "sector-size".
o Clarify the text for "max-requests" in the backend section.

git-svn-id: svn://svn.freebsd.org/base/stable/8@232352 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232008,232010,232080,232089
thompsa [Wed, 29 Feb 2012 20:22:45 +0000 (20:22 +0000)]
MFC r232008,232010,232080,232089

 Using the flowid in the mbuf assumes the network card is giving a good hash for
 the traffic flow, this may not be the case giving poor traffic distribution.
 Add a sysctl which allows us to fall back to our own flow hash code.

PR: kern/164901
Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232314 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r232060
brueffer [Sun, 26 Feb 2012 12:56:12 +0000 (12:56 +0000)]
MFC: r232060

Add isci(4) to the hardware notes.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232175 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r232056
brueffer [Sun, 26 Feb 2012 12:54:29 +0000 (12:54 +0000)]
MFC: r232056

Rename DESCRIPTION section to HARDWARE, so this manpage can be used for
automatic hardware notes generation.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232174 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231991:
ae [Sun, 26 Feb 2012 10:20:55 +0000 (10:20 +0000)]
MFC r231991:
  Don't use `m' after m_megapullup.

  PR: kern/165373
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232172 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r232011:
gjb [Sat, 25 Feb 2012 19:21:24 +0000 (19:21 +0000)]
MFC r232011:
  Xref the following in wlan(4):

  - bwn(4)
  - mwl(4)
  - run(4)

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232165 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231871
brueffer [Sat, 25 Feb 2012 18:48:06 +0000 (18:48 +0000)]
MFC: r231871

Switch the license boilerplates to our standard one.

Advantages:
- Reduces the number of different license versions in the tree
- Eliminates a typo
- Removes some incorrect author attributions due to c/p
- Removes c/p error potential for future pmc manpages

Approved by: re (kib), jkoshy, gnn, rpaulo, fabient (copyright holders)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231985
marius [Sat, 25 Feb 2012 01:18:57 +0000 (01:18 +0000)]
MFC: r231985

Fix memset sizeof

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232141 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231914
marius [Sat, 25 Feb 2012 00:41:37 +0000 (00:41 +0000)]
MFC: r231914

Probe the National DP83849, which is a dual-port version of the PHYTER.

Obtained from: NetBSD
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232138 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231913
marius [Sat, 25 Feb 2012 00:35:28 +0000 (00:35 +0000)]
MFC: r231913

- Probe BCM57780.
- In case the parent is bge(4), don't set the Jumbo frame settings unless
  the MAC actually is Jumbo capable as otherwise the PHY might not have the
  corresponding registers implemented. This is also in line with what the
  Linux tg3 driver does.

PR: 165032
Submitted by: Alexander Milanov
Approved by: re (kib)
Obtained from: OpenBSD

git-svn-id: svn://svn.freebsd.org/base/stable/8@232135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC 230184, 230185: Add XENHVM config file to i386
cperciva [Fri, 24 Feb 2012 15:34:36 +0000 (15:34 +0000)]
MFC 230184, 230185: Add XENHVM config file to i386

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232115 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMerge r230598 by kmacy from head:
glebius [Fri, 24 Feb 2012 12:32:50 +0000 (12:32 +0000)]
Merge r230598 by kmacy from head:

  A flowtable entry can continue referencing an llentry indefinitely
  if the entry is repeatedly referenced within its timeout window.
  This change clears the LLE_VALID flag when an llentry is removed
  from an interface's hash table and adds an extra check to the
  flowtable code for the LLE_VALID flag in llentry to avoid retaining
  and using a stale reference.

  Reviewed by:    qingli@

PR: kern/155604
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232107 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231880,r231915,r231937
brueffer [Fri, 24 Feb 2012 12:22:29 +0000 (12:22 +0000)]
MFC: r231880,r231915,r231937

Add a manpage for the oce(4) driver.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232106 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231621
marius [Fri, 24 Feb 2012 00:48:27 +0000 (00:48 +0000)]
MFC: r231621

- As it turns out, MSI-X is broken for at least LSI SAS1068E when passed
  through by VMware so blacklist their PCI-PCI bridge for MSI/MSI-X here.
  Note that besides currently there not being a quirk type that disables
  MSI-X only and there's no evidence that MSI doesn't work with the VMware
  pass-through, it's really questionable whether MSI generally works in
  that setup as VMware only mention three know working devices [1, p. 4].
  Also not that this quirk entry currently doesn't affect the devices
  emulated by VMware in any way as these don't claim support MSI/MSI-X to
  begin with. [2]
  While at it, make the PCI quirk table const and static.
- Remove some duplicated empty lines.
- Use DEVMETHOD_END.

PR: 163812, http://forums.freebsd.org/showthread.php?t=27899 [2]
Reviewed by: jhb
Approved by: re (kib)

[1]: http://www.vmware.com/pdf/vsp_4_vmdirectpath_host.pdf

git-svn-id: svn://svn.freebsd.org/base/stable/8@232093 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r231943
brueffer [Thu, 23 Feb 2012 18:49:38 +0000 (18:49 +0000)]
MFC: r231943

Add oce(4) to the hardware notes.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232057 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231622:
yongari [Thu, 23 Feb 2012 11:26:47 +0000 (11:26 +0000)]
MFC r231622:
  For RTL8168/8111D controller, make sure to wake PHY from power down
  mode.  Otherwise, PHY access times out under certain conditions.

  Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@232046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231160 (by mckusick):
kib [Tue, 21 Feb 2012 10:16:17 +0000 (10:16 +0000)]
MFC r231160 (by mckusick):
Do not fsync all resident UFS vnodes from the syncer vnode call
to ffs_sync(). Since all inode metadata updates are translated to
inodeblock updates, the vnodes syncing is handled by syncer dirty buffer
wheel. The only things that shall be synced by ffs_sync() from the
syncer calls are the filesystem metadata proper.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@231967 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231632:
delphij [Tue, 21 Feb 2012 10:13:37 +0000 (10:13 +0000)]
MFC r231632:

wctob() returns EOF and not WEOF.

Noticed by: Zhihao Yuan <lichray gmail com>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@231966 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r231122:
kib [Tue, 21 Feb 2012 10:11:17 +0000 (10:11 +0000)]
MFC r231122:
Sprinkle missed calls to asynchronous UFS_UPDATE() in attempt to
guarantee that all UFS inode metadata changes results in the dirtiness
of the inodeblock.

Approved by: re (bz)

git-svn-id: svn://svn.freebsd.org/base/stable/8@231965 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f