]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
12 years agoMFC r226816:
mav [Mon, 2 Jan 2012 17:58:07 +0000 (17:58 +0000)]
MFC r226816:
Clarify disks/volumes above 2TiB support in geom_raid:
 - add support for volumes above 2TiB with Promise metadata format;
 - enforse and document other limitations:
   - Intel and Promise metadata formats do not support disks above 2TiB;
   - NVIDIA metadata format does not support volumes above 2TiB.

Sponsored by:   iXsystems, Inc.

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

12 years agoMFC r228819:
mav [Mon, 2 Jan 2012 17:40:20 +0000 (17:40 +0000)]
MFC r228819:
Update list of 4K physical sector hard drives.

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

12 years agoMFC r227637:
mav [Mon, 2 Jan 2012 17:38:06 +0000 (17:38 +0000)]
MFC r227637:
Introduce CAM_SIM_POLLED SIM flag, indicating that it works in polling mode.
It blocks CAM SWI usage on requests completion, unneeded because of polling
and denied during kernel dumping because of blocked scheduler.

Before r198899 there was periph flag CAM_PERIPH_POLLED, but that was wrong,
because there is whole SIM is polled or handled by SWI, not a single periph.

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

12 years agoMFC r228497:
mav [Mon, 2 Jan 2012 17:31:28 +0000 (17:31 +0000)]
MFC r228497:
Add PCI IDs for the Intel ICH9M SATA controllers.

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

12 years agoMFC r226680:
mav [Mon, 2 Jan 2012 17:28:14 +0000 (17:28 +0000)]
MFC r226680:
Some dmesg cosmetics:
 - for the legacy PCI ATA channels move channel number out of the device
description, same as it is for ahci(4), siis(4) and mvs(4);
 - add device description for the ISA ATA channels.

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

12 years agoMFC r228200:
mav [Mon, 2 Jan 2012 17:21:41 +0000 (17:21 +0000)]
MFC r228200:
Add hw.ahci.force tunable to control whether AHCI drivers should attach
to known AHCI-capable chips (AMD/NVIDIA), configured for legacy emulation.

Enabled by default to get additional performance and functionality of AHCI
when it can't be enabled by BIOS. Can be disabled to honor BIOS settings if
needed for some reason.

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

12 years agoMFC r227635:
mav [Mon, 2 Jan 2012 17:16:08 +0000 (17:16 +0000)]
MFC r227635:
Change the way how "not implemented" AHCI channels handled. Instead of
completely skipping them, create ahcich devices for them to allocate unit
numbers, but mark them as disabled to prevent driver probe and attach.

Last time some BIOSes tend to report unused channels as "not implemented".
This change makes ahcichX devices numbering consistent, independently of
connected disks. It makes per-channel driver hints usable and CAM devices
wiring possible on such systems.

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

12 years agoMFC: r227517
rmacklem [Mon, 2 Jan 2012 04:47:38 +0000 (04:47 +0000)]
MFC: r227517
Move the setting of the default value for nm_wcommitsize to
before the nfs_decode_args() call in the new NFS client, so
that a specfied command line value won't be overwritten.
Also, modify the calculation for small values of desiredvnodes
to avoid an unusually large value or a divide by zero crash.
It seems that the default value for nm_wcommitsize is very
conservative and may need to change at some time.

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

12 years agoMFC: r227494
rmacklem [Mon, 2 Jan 2012 03:52:34 +0000 (03:52 +0000)]
MFC: r227494
Since NFSv4 byte range locking only works for regular files,
add a sanity check for the vnode type to the NFSv4 client.

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

12 years agoShow the thread kernel stack base address for 'show threads'.
kib [Sun, 1 Jan 2012 23:58:42 +0000 (23:58 +0000)]
Show the thread kernel stack base address for 'show threads'.

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

12 years agoMFC r228263:
kib [Sun, 1 Jan 2012 23:46:34 +0000 (23:46 +0000)]
MFC r228263:
Initialize fifoinfo fi_wgen field on open.

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

12 years agoMFC r227817:
kib [Sun, 1 Jan 2012 23:17:21 +0000 (23:17 +0000)]
MFC r227817:
Put all the messages from msdosfs under the MSDOSFS_DEBUG ifdef.

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

12 years agoMFC r227696:
kib [Sun, 1 Jan 2012 23:12:56 +0000 (23:12 +0000)]
MFC r227696:
Do not use NULLVPTOLOWERVP() in the null_print(). If diagnostic is compiled
in, and show vnode is used from ddb on the faulty nullfs vnode, we get
panic instead of vnode dump.

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

12 years agoMFC r227695:
kib [Sun, 1 Jan 2012 23:09:57 +0000 (23:09 +0000)]
MFC r227695:
Use the plain panic calls, without additional printing around them.

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

12 years agoMFC r228909:
dougb [Sun, 1 Jan 2012 22:33:29 +0000 (22:33 +0000)]
MFC r228909:

1. Remove a bunch of duplicates. Usually this means removing them from
   fortunes, but occasionally remove them from the other 2 files when
   they are not offensive, or not murphy'ish enough.

   Where the version in fortunes had better attribution and/or formatting,
   copy it over.

2. Fix a few typos

3. Use the full name of François De La Rochefoucauld, fix one of his
   quotes, and remove the duplicate of it.

MFC r228934:

Prefer ASCII apostrophes over Unicode ones like the rest of the file.

MFC r228938:

1. Correct capitalization of the nobility particle for
   Francois de La Rochefoucauld introduced in r228909

2. Change c-cedilla introduced in the same commit to ASCII c since
   non-UTF-8 terminals will choke on the non-ASCII text.

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

12 years agoMFC r227529:
kib [Sun, 1 Jan 2012 19:12:07 +0000 (19:12 +0000)]
MFC r227529:
Remove the condition that is always true.

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

12 years agoMFC r227394:
kib [Sun, 1 Jan 2012 18:59:35 +0000 (18:59 +0000)]
MFC r227394:
Stopped process may legitimately have some threads sleeping and not
suspended, if the sleep is uninterruptible.

MFC r227442:
Weaken the part of assertions added in the r227394. Only check that the
process state is stopped.

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

12 years agoMFC: r227493
rmacklem [Sun, 1 Jan 2012 17:05:24 +0000 (17:05 +0000)]
MFC: r227493
Move the assignment of default values for some mount options
to before the nfs_decode_args() call in the new NFS client,
so they don't overwrite the value specified on the command line.

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

12 years agoMFC r228443:
mdf [Sat, 31 Dec 2011 20:46:35 +0000 (20:46 +0000)]
MFC r228443:

Do not define bool/true/false if the symbols already exist.

Note that the ofed and dev/vxge parts of r228443 are not in stable/8.

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

12 years agoMFC r228440:
mdf [Sat, 31 Dec 2011 20:15:46 +0000 (20:15 +0000)]
MFC r228440:

Consistently use types in ixgbe driver code:

 - {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it
   int, not bool.
 - {ixgbe,ixv}_tx_ctx_setup() returns a boolean value, so declare it
   bool, not int.
 - {ixgbe,ixv}_tso_setup() returns a bool, so declare it bool, not boolean_t.
 - {ixgbe,ixv}_txeof() returns a bool, so declare it bool, not boolean_t.
 - Do not re-define bool if the symbol already exists.

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

12 years agoMFC r228441:
mdf [Sat, 31 Dec 2011 19:55:19 +0000 (19:55 +0000)]
MFC r228441:

Consistently use types in e1000 driver code:

 - Two struct members eee_disable are used in a function that expects
   an int *, so declare them int, not bool.
 - igb_tx_ctx_setup() returns a boolean value, so declare it bool, not int.
 - igb_header_split is passed to TUNABLE_INT, so delcare it int, not bool.
 - igb_tso_setup() returns a bool, so declare it bool, not boolean_t.
 - Do not re-define bool/true/false if the symbols already exist.

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

12 years agoMF9 r229068: Happy 2012 to FreeBSD users in Samoa.
obrien [Sat, 31 Dec 2011 04:47:00 +0000 (04:47 +0000)]
MF9 r229068: Happy 2012 to FreeBSD users in Samoa.

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

12 years agoMFC r228442:
mdf [Sat, 31 Dec 2011 03:02:59 +0000 (03:02 +0000)]
MFC r228442:

Do not use the sometimes-reserved word 'bool' for a variable name.

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

12 years agoMFC r226480-226481:
yongari [Sat, 31 Dec 2011 01:32:06 +0000 (01:32 +0000)]
MFC r226480-226481:
r226480:
  Add missing driver lock in media status handler.

r226481:
  Make sure to report media change status to caller. Previously it
  always reported success.

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

12 years agoMFC r226478:
yongari [Sat, 31 Dec 2011 01:08:31 +0000 (01:08 +0000)]
MFC r226478:
  Close a race where SIOCGIFMEDIA ioctl get inconsistent link status.
  Because driver is accessing a common MII structure in
  mii_pollstat(), updating user supplied structure should be done
  before dropping a driver lock.

  Reported by: Karim (fodillemlinkarimi <> gmail dot com)

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

12 years agoMFC r226123:
yongari [Sat, 31 Dec 2011 00:46:06 +0000 (00:46 +0000)]
MFC r226123:
  BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so
  remove explicit checks for BCM5716.
  The BCM5709 and BCM5716 chips are virtually indistinguishable by
  software except for the PCI device ID.  The two chips differ in
  that BCM5709 supports TCP/IP and iSCSI offload in Windows while
  the BCM5716 doesn't.
  While I'm here remove now unused definition of BCE_CHIP_NUM_5716
  and BCE_CHIP_ID_5716_C0.

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

12 years agoMFC r227122: sh(1): Improve documentation of field splitting.
jilles [Fri, 30 Dec 2011 22:07:15 +0000 (22:07 +0000)]
MFC r227122: sh(1): Improve documentation of field splitting.

This describes the POSIX-compliant splitting algorithm that first appeared
in 8.0.

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

12 years agoMFC r227121: make(1): obj dirs are physical paths so write `pwd -P`
jilles [Fri, 30 Dec 2011 21:33:19 +0000 (21:33 +0000)]
MFC r227121: make(1): obj dirs are physical paths so write `pwd -P`
rather than `pwd`.

Regular pwd may return a pathname containing symlinks, but make does not use
such pathnames.

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

12 years agoMFC r227816:
kib [Fri, 30 Dec 2011 21:02:32 +0000 (21:02 +0000)]
MFC r227816:
Remove the wrong comment about ufs not being loadable.
Note that only root filesystem module needs to be available
before root is mounted.

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

12 years agoMFC r227622:
kib [Fri, 30 Dec 2011 20:57:36 +0000 (20:57 +0000)]
MFC r227622:
Fix typo.

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

12 years agoMFC r227393:
kib [Fri, 30 Dec 2011 20:24:52 +0000 (20:24 +0000)]
MFC r227393:
Lock the thread lock around block that retrieves td_wmesg. Otherwise,
procfs could see a thread with assigned td_wchan but still NULL td_wmesg.

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

12 years agoMFC r228376:
kib [Fri, 30 Dec 2011 20:12:50 +0000 (20:12 +0000)]
MFC r228376:
Typo.

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

12 years agoMFC r228375:
kib [Fri, 30 Dec 2011 20:01:26 +0000 (20:01 +0000)]
MFC r228375:
Typo.

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

12 years agoMFC r227392:
kib [Fri, 30 Dec 2011 19:24:53 +0000 (19:24 +0000)]
MFC r227392:
Assert that _PRELE() is done for the held process.

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

12 years agoMFC r228432:
kib [Fri, 30 Dec 2011 19:04:12 +0000 (19:04 +0000)]
MFC r228432:
Fix printf.

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

12 years agoMFC r227024:
kib [Fri, 30 Dec 2011 18:29:09 +0000 (18:29 +0000)]
MFC r227024:
Despite official i386 ABI does not mandate any stack alignment besides
the word alignment, some versions of gcc do require 16-byte alignment.
Make sure the stack is 16-byte aligned before calling a subroutine.

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

12 years agoMFC r227023:
kib [Fri, 30 Dec 2011 18:22:34 +0000 (18:22 +0000)]
MFC r227023:
Make sure that stack is 16-byte aligned before calling a function,
as it is required by amd64 ABI. Add a comment for the places were
the stack is accidentally properly aligned already.

PR: amd64/162214

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

12 years agoMFC r227104:
kib [Fri, 30 Dec 2011 18:02:14 +0000 (18:02 +0000)]
MFC r227104:
Fix typo.

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

12 years agoFix a problem whereby a corrupt DNS record can cause named to crash. [11:06]
cperciva [Fri, 23 Dec 2011 15:00:37 +0000 (15:00 +0000)]
Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06]

Add an API for alerting internal libc routines to the presence of
"unsafe" paths post-chroot, and use it in ftpd. [11:07]

Fix a buffer overflow in telnetd. [11:08]

Make pam_ssh ignore unpassphrased keys unless the "nullok" option is
specified. [11:09]

Add sanity checking of service names in pam_start. [11:10]

Approved by:    so (cperciva)
Approved by:    re (bz)
Security:       FreeBSD-SA-11:06.bind
Security:       FreeBSD-SA-11:07.chroot
Security:       FreeBSD-SA-11:08.telnetd
Security:       FreeBSD-SA-11:09.pam_ssh
Security:       FreeBSD-SA-11:10.pam

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

12 years agoMFC: r228360
pho [Fri, 16 Dec 2011 12:53:15 +0000 (12:53 +0000)]
MFC: r228360

Move cpu_set_upcall(newtd, td) up before the first call of
thread_free(newtd).  This to avoid a possible page fault in
cpu_thread_clean() as seen on amd64 with syscall fuzzing.

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

12 years agoMFC 225168:
jhb [Thu, 15 Dec 2011 16:39:48 +0000 (16:39 +0000)]
MFC 225168:
If a drive is not part of the array (i.e. missing) we need to print the
new line after the pd state information as well, so move it to the outside
of the block.

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

12 years agoMFH r228384: validate the service name
des [Tue, 13 Dec 2011 13:02:52 +0000 (13:02 +0000)]
MFH r228384: validate the service name

Security: some poorly thought out programs allow the user to specify
the service name; this patch makes it harder to trick these
programs into loading and executing arbitrary code.

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

12 years agoMFC: r228218, r228219, 228220, 228221
pho [Mon, 12 Dec 2011 17:33:38 +0000 (17:33 +0000)]
MFC: r228218, r228219, 228220, 228221

Rename copyin_timeout32 to umtx_copyin_timeout32 and move parameter
check here. Include check for negative seconds value.
Add umtx_copyin_timeout() and move parameter checks here.
Add declaration of umtx_copyin_timeout()
Use umtx_copyin_timeout() to copy and check timeout parameteri in
kern_thr_suspend().

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

12 years agoMFH r227757: check for null passphrases, since openssl doesn't
des [Sun, 11 Dec 2011 20:38:36 +0000 (20:38 +0000)]
MFH r227757: check for null passphrases, since openssl doesn't

Security: prevents users with unencrypted ssh keys (prohibited
unless the nullok option is specified) from logging in
by providing a bogus non-null passphrase.

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

12 years agoUpdate to a 10-Aug-2011 release.
ru [Thu, 8 Dec 2011 10:42:38 +0000 (10:42 +0000)]
Update to a 10-Aug-2011 release.

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

12 years agoMFS r202062:
gonzo [Thu, 8 Dec 2011 00:56:23 +0000 (00:56 +0000)]
MFS r202062:
    Defintions for cavium uart

MFC after: 23 months

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

12 years agoAdd ldscripts for OCTEON1 and OCTEON1-32
gonzo [Thu, 8 Dec 2011 00:50:14 +0000 (00:50 +0000)]
Add ldscripts for OCTEON1 and OCTEON1-32

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

12 years agoAdd -march=octeon optoin for building OCTEON1-32 kernel
gonzo [Thu, 8 Dec 2011 00:48:47 +0000 (00:48 +0000)]
Add -march=octeon optoin for building OCTEON1-32 kernel

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

12 years agoUnbreak MALTA64 build by providing proper ldscript name
gonzo [Thu, 8 Dec 2011 00:48:06 +0000 (00:48 +0000)]
Unbreak MALTA64 build by providing proper ldscript name

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

12 years agoMFC r208737 (required by OCTEON* kernels):
gonzo [Thu, 8 Dec 2011 00:47:22 +0000 (00:47 +0000)]
MFC r208737 (required by OCTEON* kernels):
  Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.

  o) Add TARGET_ABI to the MIPS toolchain build process.  This sets the default
     ABI to one of o32, n32 or n64.  If it is not set, o32 is assumed as that is
     the current default.
  o) Set the default GCC cpu type to any specified TARGET_CPUTYPE.  This is
     necessary to have a working "cc" if e.g. mips64 is specified, as binutils
     will refuse to link objects using different ISAs in some cases.
  o) Add support for n32 and n64 ABIs to binutils and GCC.
  o) Add additional required libgcc2 stubs for n32 and n64.
  o) Add support for the "mips64r2" architecture to GCC.  Add the "octeon"
  o) When static linking, wrap default libraries in --start-group and
     --end-group.  This is required for static linking to work on n64 with the
     interdependencies between libraries there.  This is what other OSes that
     support n64 seem to do, as well.
  o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the
     former being what libgcc, etc., check and the latter seemingly being a
     misspelling of a hand merge from a Linux spec.
  o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default
     ISA from the ABI.  Our old defaults were too liberal and assumed that 64-bit
     ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to
     the MIPS32 ISA, when we are supporting or will support some systems based on
     earlier 32-bit and 64-bit ISAs, most notably MIPS-III.
  o) Merge a new opcode file (and support code) from a later version of binutils
     and add flags and code necessary to support Octeon-specific instructions.
     This should also make merging opcodes for other modern architectures easier.

No objections from: imp, jmallet, jchandra
MFC after: 18 months

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

12 years ago Unbreak mips64 build by MFCing r202031 that fixes _ALIGN macros
gonzo [Tue, 6 Dec 2011 00:13:40 +0000 (00:13 +0000)]
  Unbreak mips64 build by MFCing r202031 that fixes _ALIGN macros

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

12 years agoUnbreak build: add missing coma
gonzo [Tue, 6 Dec 2011 00:05:12 +0000 (00:05 +0000)]
Unbreak build: add missing coma

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

12 years agoUnbreak
gonzo [Mon, 5 Dec 2011 23:29:27 +0000 (23:29 +0000)]
Unbreak

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

12 years agoMFC r219157
alc [Sun, 4 Dec 2011 18:55:19 +0000 (18:55 +0000)]
MFC r219157
  Make a change to the implementation of the direct map to improve
  performance on processors that support 1 GB pages.  Specifically, if the
  end of physical memory is not aligned to a 1 GB page boundary, then map
  the residual physical memory with multiple 2 MB page mappings rather than
  a single 1 GB page mapping.  When a 1 GB page mapping is used for this
  residual memory, access to the memory is slower than when multiple 2 MB
  page mappings are used.  (I suspect that the reason for this slowdown is
  that the TLB is actually being loaded with 4 KB page mappings for the
  residual memory.)

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

12 years agoMFC r223732
alc [Sun, 4 Dec 2011 07:28:50 +0000 (07:28 +0000)]
MFC r223732
  When iterating over a paging queue, explicitly check for PG_MARKER,
  instead of relying on zeroed memory being interpreted as an empty
  PV list.

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

12 years agoMFC r213897
alc [Sun, 4 Dec 2011 07:18:54 +0000 (07:18 +0000)]
MFC r213897
  Update pmap_extract() to handle 1GB page mappings.  Some device drivers
  use pmap_extract() rather than pmap_kextract() on direct map addresses.
  Thus, pmap_extract() needs to be able to deal with 1GB page mappings if
  we are to use 1GB page mappings for the direct map.  (See r197580.)

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

12 years agoMFC r214563,214576
alc [Sun, 4 Dec 2011 06:55:27 +0000 (06:55 +0000)]
MFC r214563,214576
  Add safety belts to pmap_demote_DMAP().

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

12 years agoMFC r214425,214954
alc [Sun, 4 Dec 2011 06:09:02 +0000 (06:09 +0000)]
MFC r214425,214954
  [1] According to the x86 architectural specifications, no virtual-to-
  physical page mapping should span two or more MTRRs of different types.
  Add a pmap function, pmap_demote_DMAP(), by which the MTRR module can
  ensure that the direct map region doesn't have such a mapping.

  [2] Fix a couple of nearby style errors in amd64_mrset().

  [3] Re-enable the use of 1GB page mappings for implementing the direct
  map.  (See also r197580 and r213897.)

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

12 years agoMFC r224689
alc [Sun, 4 Dec 2011 02:06:12 +0000 (02:06 +0000)]
MFC r224689
  Fix an error in kmem_alloc_attr().  Unless "tries" is updated,
  kmem_alloc_attr() could get stuck in a loop.

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

12 years agoMFC r218863
alc [Sun, 4 Dec 2011 01:15:52 +0000 (01:15 +0000)]
MFC r218863
  tmpfs_remove() isn't modifying the file's data, so it shouldn't set
  TMPFS_NODE_MODIFIED on the node.

PR: 152488

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

12 years agoMFC r215597
alc [Sat, 3 Dec 2011 23:36:36 +0000 (23:36 +0000)]
MFC r215597
  Optimize vm_object_terminate().

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

12 years agoMFC 226479:
hselasky [Sat, 3 Dec 2011 14:44:34 +0000 (14:44 +0000)]
MFC 226479:
Close a race where SIOCGIFMEDIA ioctl get inconsistent link status.

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

12 years agoMFC r215254:
hselasky [Sat, 3 Dec 2011 14:40:56 +0000 (14:40 +0000)]
MFC r215254:
Fix compiler warnings.

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

12 years agoMFC r227461:
hselasky [Sat, 3 Dec 2011 14:38:54 +0000 (14:38 +0000)]
MFC r227461:
Style change.
- Make it easier to port the USB code to other platforms by only using
one set of memory functions for clearing and copying memory. None of
the memory copies are overlapping. This means using bcopy() is not
required.
- Fix a compile warning when USB_HAVE_BUSDMA=0
- Add missing semicolon in avr32dci.
- Update some comments.

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

12 years agoMFC r228195:
hselasky [Sat, 3 Dec 2011 14:32:10 +0000 (14:32 +0000)]
MFC r228195:
Fix checks for error return from urtw_alloc_rx_data_list() and
urtw_alloc_tx_data_list().

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

12 years agoMFC r227541, r227654, r226803, r227396 and r227401:
hselasky [Sat, 3 Dec 2011 14:29:14 +0000 (14:29 +0000)]
MFC r227541, r227654, r226803, r227396 and r227401:
Fix for XHCI attach failure and some USB 3.0 descriptor corrections.

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

12 years agoMFC r227108, r227383 and r227463:
hselasky [Sat, 3 Dec 2011 14:11:47 +0000 (14:11 +0000)]
MFC r227108, r227383 and r227463:
Add support for modem control lines and GPIO pins to USLCOM driver.

PR: usb/162307

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

12 years agoMFC r227610 and r227781:
hselasky [Sat, 3 Dec 2011 14:02:25 +0000 (14:02 +0000)]
MFC r227610 and r227781:
Add new USB IDs.

PR: usb/162712

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

12 years agoMFC r227404:
hselasky [Sat, 3 Dec 2011 13:54:54 +0000 (13:54 +0000)]
MFC r227404:
Add USB 3.0 descriptor support.

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

12 years agoMFC r228122:
dougb [Thu, 1 Dec 2011 05:53:30 +0000 (05:53 +0000)]
MFC r228122:

If using DESTDIR we need to be sure to create a
${DESTDIR}/var/db/zoneinfo

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

12 years agoMFC r227482:
dougb [Thu, 1 Dec 2011 05:48:50 +0000 (05:48 +0000)]
MFC r227482:

The default setting, daily_accounting_compress="NO", was causing
only 1 old file to be saved, so fix this.

While I'm here, fix a very old off-by-one error causing 1 more
file than specified in daily_accounting_save to be saved because
acct.0 was not taken into account (pun intended). Change that, and
use a more thorough method of finding old files to delete. Partly
just because this is the right thing to do, but also to silently
fix the extra log that would have been left behind forever with the
previous method.

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

12 years agoMFC r224638,224640,224642 (by brooks):
bz [Wed, 30 Nov 2011 12:47:36 +0000 (12:47 +0000)]
MFC r224638,224640,224642 (by brooks):

  Add support for dynamically adjusted buffers to allow the full use of
  the bandwidth of long fat pipes (i.e. 100Mbps+ trans-oceanic or
  trans-continental links).  Bandwidth-delay products up to 64MB are
  supported.

  Also add support (not compiled by default) for the None cypher.  The
  None cypher can only be enabled on non-interactive sessions (those
  without a pty where -T was not used) and must be enabled in both
  the client and server configuration files and on the client command
  line.  Additionally, the None cypher will only be activated after
  authentication is complete.  To enable the None cypher you must add
  -DNONE_CIPHER_ENABLED to CFLAGS via the make command line or in
  /etc/make.conf.

  This code is a style(9) compliant version of these features extracted
  from the patches published at:

  http://www.psc.edu/networking/projects/hpn-ssh/

  Enable keyword expansion for $FreeBSD$ on files.

MFC r225852 (by des):

  Regenerate (ssh_namespace.h) after application of the HPN patch.

Discussed with: brooks

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

12 years agoMFC: r227960
marius [Tue, 29 Nov 2011 19:49:09 +0000 (19:49 +0000)]
MFC: r227960

Increase the CDMA sync timeout for Schizo bridges to 15 seconds as used by
OpenSolaris. One second turned out to be not enough for certain loads while
10 seconds were sufficient.
Reported by: Peter Jeremy

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

12 years agoMFC: r228028
marius [Tue, 29 Nov 2011 19:45:58 +0000 (19:45 +0000)]
MFC: r228028

- Based on a report on sparc64@ move V245 to the list of known working
  machines.
- Mention that V480 with broken centerplanes have a chance of working with
  the WAR in the upcoming 8.3-RELEASE and 9.0-RELEASE.

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

12 years agoMFC 227460
qingli [Mon, 28 Nov 2011 19:53:16 +0000 (19:53 +0000)]
MFC 227460

A default route learned from the RAs could be deleted manually
after its installation. This removal may be accidental and can
prevent the default route from being installed in the future if
the associated default router has the best preference. The cause
is the lack of status update in the default router on the state
of its route installation in the kernel FIB. This patch fixes
the described problem.

Reviewed by: hrs, discussed with hrs

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

12 years agoMFhead r227901:
glebius [Mon, 28 Nov 2011 08:16:00 +0000 (08:16 +0000)]
MFhead r227901:

  Fix parsing of redirect_addr argument.
  PR: kern/162739

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

12 years agoMFC r227485:
kib [Sun, 27 Nov 2011 19:36:36 +0000 (19:36 +0000)]
MFC r227485:
To limit amount of the kernel memory allocated, and to optimize the
iteration over the fdsets, kern_select() limits the length of the
fdsets copied in by the last valid file descriptor index. If any bit
is set in a mask above the limit, current implementation ignores the
filedescriptor, instead of returning EBADF.

Fix the issue by scanning the tails of fdset before entering the
select loop and returning EBADF if any bit above last valid
filedescriptor index is set. The performance impact of the additional
check is only imposed on the (somewhat) buggy applications that pass
bad file descriptors to select(2) or pselect(2).

PR: kern/155606, kern/162379

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

12 years agoMFC: r227674
pho [Sat, 26 Nov 2011 20:12:05 +0000 (20:12 +0000)]
MFC: r227674

Added check for negative seconds value. Found by syscall() fuzzing.

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

12 years agoMFC r225861:
wblock [Sat, 26 Nov 2011 16:38:16 +0000 (16:38 +0000)]
MFC r225861:

Fix a confusing sentence.
Other wording tweaks.

Approved by: gjb (mentor)

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

12 years agoMFC: r227829, r227844
marius [Fri, 25 Nov 2011 17:08:33 +0000 (17:08 +0000)]
MFC: r227829, r227844

- Add a DEVMETHOD_END alias for KOBJMETHOD_END so that along with 'driver_t'
  and DEVMETHOD() we can fully hide the explicit mention of kobj(9) from
  device drivers.
- Update the device driver examples to use DEVMETHOD_END.

Submitted by: jhb

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

12 years agoMFC: r204602, r204650
marius [Fri, 25 Nov 2011 16:54:16 +0000 (16:54 +0000)]
MFC: r204602, r204650

- Add missing includes to make example "compilable".
- Use NULL for pointer arguments instead of 0.

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

12 years agoMFC r227657:
kib [Fri, 25 Nov 2011 09:46:36 +0000 (09:46 +0000)]
MFC r227657:
Consistently use process spin lock for protection of the
p->p_boundary_count. Race could cause the execve(2) from the threaded
process to hung since thread boundary counter was incorrect and
single-threading never finished.

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

12 years agoMFC r227290 and r227291:
rstone [Thu, 24 Nov 2011 19:02:04 +0000 (19:02 +0000)]
MFC r227290 and r227291:

r227290:
 Fix the DTrace pid return trap interrupt vector.  Previously we were using
 31, but that vector is reserved.

 Without this fix, running dtrace -p <pid> would either cause the target
 process to crash or the kernel to page fault

r227291:
 Replace fasttrap_copyout() with uwrite().  FreeBSD copyout() is not able to
 write to the .text section of a process.

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

12 years agoMFC r227061 (by mlaier):
bz [Wed, 23 Nov 2011 22:16:45 +0000 (22:16 +0000)]
MFC r227061 (by mlaier):

 Fix a use-after-free/redzone issue in the routing code.

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

12 years agoMFC: r227550, r227576
pho [Wed, 23 Nov 2011 21:43:00 +0000 (21:43 +0000)]
MFC: r227550, r227576

Handle invalid large values for getdirentries(2) data buffer size.
Fix build, use %d for int value formatting.

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

12 years agoMFC r227481:
bz [Wed, 23 Nov 2011 21:19:38 +0000 (21:19 +0000)]
MFC r227481:

 Return the correct value for the IPV6_MULTICAST_HOPS getsockopt() call.

 Submitted by: rpaulo

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

12 years agoMFH r224639, r224657: Disable generation of SGR sequences.
uqs [Wed, 23 Nov 2011 18:15:49 +0000 (18:15 +0000)]
MFH r224639, r224657: Disable generation of SGR sequences.

This is a no-op when using base groff, as it hasn't been changed in stable.
This helps when using the ports groff, though.

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

12 years agoMFC r227058:
attilio [Wed, 23 Nov 2011 16:02:36 +0000 (16:02 +0000)]
MFC r227058:
Disable interrupt and preemption for smp_rendezvous() also in the
UP/!SMP case.

Sponsored by: Sandvine Incorporated

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

12 years agoMFC: r227527
pho [Wed, 23 Nov 2011 13:50:14 +0000 (13:50 +0000)]
MFC: r227527

Removed extra PRELE() call.

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

12 years agoMFC r227769, 227770, 227771:
gjb [Wed, 23 Nov 2011 12:24:29 +0000 (12:24 +0000)]
MFC r227769, 227770, 227771:

- Add a note to src/Makefile that explains that 'rm' runs twice because
  thesecond invocation only needs to operate on files with the immutable
  flag set.

- Fix the note in r227769 to be less specific to the immutable flag.

- Replace 'chflags' with 'file flags' in a comment, since 'chflags'is a
  command, not a flag itself.

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

12 years agoMFC: r227742
brueffer [Sun, 20 Nov 2011 18:01:45 +0000 (18:01 +0000)]
MFC: r227742

Add 2010 and 2011 copyrights.

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

12 years agoMFC: r227466, r227480, r227516
brueffer [Sun, 20 Nov 2011 17:15:32 +0000 (17:15 +0000)]
MFC: r227466, r227480, r227516

Add mps(4) and mvs(4) to the hardware notes.

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

12 years agoMFC: r227465, r227515
brueffer [Sat, 19 Nov 2011 17:01:11 +0000 (17:01 +0000)]
MFC: r227465, r227515

- Grammar and mdoc cleanup.
- Remove list nesting in the hardware notes section, thus making it
  compatible with the hardware notes generation script.

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

12 years agoMFC: r227578
marius [Sat, 19 Nov 2011 13:33:24 +0000 (13:33 +0000)]
MFC: r227578

Fix compilation with DEBUG defined.

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

12 years agoMFC: r227539
marius [Sat, 19 Nov 2011 13:29:55 +0000 (13:29 +0000)]
MFC: r227539

Define curthread as an inline function that loads the thread pointer
directly from g7, the pcpu pointer. This guarantees correct behavior
when the thread migrates to a different CPU.
Commit message stolen from r205431. Additional testing by Peter Jeremy.

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

12 years agoMFC: r227537
marius [Sat, 19 Nov 2011 13:03:14 +0000 (13:03 +0000)]
MFC: r227537

As it turns out, r186347 actually is insufficient to avoid the use of the
curthread-accessing part of mtx_{,un}lock(9) when using a r210623-style
curthread implementation on sparc64, crashing the kernel in its early
cycles as PCPU isn't set up, yet (and can't be set up as OFW is one of the
things we need for that, which leads to a chicken-and-egg problem). What
happens is that due to the fact that the idea of r210623 actually is to
allow the compiler to cache invocations of curthread, it factors out
obtaining curthread needed for both mtx_lock(9) and mtx_unlock(9) to
before the branch based on kobj_mutex_inited when compiling the kernel
without the debugging options. So change kobj_class_compile_static(9)
to just never acquire kobj_mtx, effectively restricting it to its
documented use, and add a kobj_init_static(9) for initializing objects
using a class compiled with the former and that also avoids using mutex(9)
(and malloc(9)). Also assert in both of these functions that they are
used in their intended way only.
While at it, inline kobj_register_method() and kobj_unregister_method()
as there wasn't much point for factoring them out in the first place
and so that a reader of the code has to figure out the locking for
fewer functions missing a KOBJ_ASSERT.
Tested on powerpc{,64} by andreast.

Reviewed by: nwhitehorn (earlier version), jhb

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

12 years agoMFC r227416:
dougb [Fri, 18 Nov 2011 21:12:58 +0000 (21:12 +0000)]
MFC r227416:

Document that flock can return ENOLCK

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

12 years agoMFC r213077:
dougb [Fri, 18 Nov 2011 21:04:59 +0000 (21:04 +0000)]
MFC r213077:
Simplify how we find the kernel source.

MFC r222218:
expr -> sh arithmetic expansion

MFC r226863:
Fix svnversion for svn 1.7.x by not looking for .svn in ${SYSDIR}
(since it no longer exists). Instead, run svnversion if we can find
the binary and test that the output looks like a version string.

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

12 years agoMFC: r227448
brueffer [Thu, 17 Nov 2011 12:37:50 +0000 (12:37 +0000)]
MFC: r227448

Reword a sentence in the HARDWARE section a little to make it more suitable
for automatic hardware notes generation.

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

12 years agoMFC r227409:
delphij [Thu, 17 Nov 2011 11:16:56 +0000 (11:16 +0000)]
MFC r227409:

Do a dummy read to flush the interrupt ACK that we just performed,
ensuring that everything is really, truly consistent.

This fixes certain cases where one will see various:
  mfi0: COMMAND 0xffffffXXXXXXXXXX TIMEOUT AFTER XX SECONDS

Requested by: Vincent Hoffman <vince unsane co uk>

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