Add `options GEOM_RAID` into i386 and amd64 GENERIC kernels.

ataraid(4) previously was present there and having GEOM RAID is convinient.
Unlike other classes GEOM RAID can be set up from BIOS before install and
users are expecting it to be detected automatically.


git-svn-id: svn://svn.freebsd.org/base/head@235226 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Partial revert of previous commit as some of the changes were not
newbie-friendly.

Requested by:	jhb, gcooper
Approved by:	cperciva (implicit)
MFC after:	3 days
X-MFC-With:	r235209


git-svn-id: svn://svn.freebsd.org/base/head@235227 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add the IPv6 tag to ftp4.fr.freebsd.org.


git-svn-id: svn://svn.freebsd.org/base/head@235228 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove out of date KASSERT that fire with soft PMC.

MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@235229 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Give vm_fault()'s sequential access optimization a makeover.

There are two aspects to the sequential access optimization: (1) read ahead
of pages that are expected to be accessed in the near future and (2) unmap
and cache behind of pages that are not expected to be accessed again.  This
revision changes both aspects.

The read ahead optimization is now more effective.  It starts with the same
initial read window as before, but arithmetically grows the window on
sequential page faults.  This can yield increased read bandwidth.  For
example, on one of my machines, a program using mmap() to read a file that
is several times larger than the machine's physical memory takes about 17%
less time to complete.

The unmap and cache behind optimization is now more selectively applied.
The read ahead window must grow to its maximum size before unmap and cache
behind is performed.  This significantly reduces the number of times that
pages are unmapped and cached only to be reactivated a short time later.

The unmap and cache behind optimization now clears each page's referenced
flag.  Previously, in the case of dirty pages, if the containing file was
still mapped at the time that the page daemon examined the dirty pages,
they would be reactivated.

From a stylistic standpoint, this revision also cleanly separates the
implementation of the read ahead and unmap/cache behind optimizations.

Glanced at:	kib
MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@235230 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r234989 from x86:

Revert part of r234723 by re-enabling the SMP protection for intr_bind().


git-svn-id: svn://svn.freebsd.org/base/head@235231 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix mismerge in r235231.


git-svn-id: svn://svn.freebsd.org/base/head@235232 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for Ralink RT2800/RT3000 chipsets.

Thanks to ray@, Sevan and Sergey Dyatko for feedback and testing!

Obtained from:	OpenBSD
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@235233 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Generate board id's from Linux's mach-types database for all arm
ports.  This currently is a nop, but will soon be used to allow
support for multiple boards to be built into one kernel (starting with
AT91RM9200 and expanding out from there).


git-svn-id: svn://svn.freebsd.org/base/head@235234 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update man page due import of RT2800/RT3000 support.

Obtained from:	OpenBSD
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@235235 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ifconfig(8) is important, but no need to mention it twice.

MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@235236 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
remove trailing '.'

Poked by:	gjb
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@235237 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import jemalloc 37b6f95dcd866f51c91488531a2efc3ed4c2b754 (dev branch,
prior to 3.0.0 release).  This version is likely very close to what will be
3.0.0.


git-svn-id: svn://svn.freebsd.org/base/head@235238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix copy/paste error in lib/libc/locale/toupper.c.

Submitted by:	Kohji Okuno <okuno.kohji@jp.panasonic.com>


git-svn-id: svn://svn.freebsd.org/base/head@235239 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix mount interlock oversights from the previous change in r234386.

Reported by:	dougb
Submitted by:	Mateusz Guzik <mjguzik at gmail com>
Reviewed by:	Kirk McKusick
Tested by:	pho


git-svn-id: svn://svn.freebsd.org/base/head@235241 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix mount mutex handling missed in r234386.


git-svn-id: svn://svn.freebsd.org/base/head@235246 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add Spanish Dvorak keyboard model to syscons.

(not verified to be accurate)

PR:		conf/160235
Submitted by:	Alvaro <gobledb@gmail.com>
Approved by:	cperciva
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@235251 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document the unzip(1) '-Z' option implemented in r234206.

Submitted by:	swills (via hacker lounge)
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@235252 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Change the module order of these MAC drivers to be last so they are
  deterministically handled after the corresponding PHY drivers when
  loaded as modules. Otherwise, when these MAC/PHY driver pairs are
  compiled into a single module probing the PHY driver may fail. This
  makes r151438 and r226154 actually work. [1]
  Reported and tested by: yongari (fxp(4))
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

Submitted by:	jhb [1]
MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@235255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Initialize "error" to zero when it's declared in em_setup_receive_ring()


git-svn-id: svn://svn.freebsd.org/base/head@235256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f