Reading the RT2860_ASIC_VER_ID register is not needed and returns
completely bogus value.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert r257691, r257645:
 Let amd64/amd64 build again.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert r257730:
 Make head/ buildable again, instead of spewing garbage like:
 /src/gnu/lib/csu/../../../contrib/gcc/config/rs6000/crtsavres.asm:280:
  Error: no such instruction: `lwz 28,-16(11)'


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove the gross hack for the Octeon Simple Executive to the least
intrusive place for it to be: the octeon std file.
Fix a comment while I'm here.
Allow for future architectural specific flags.

Reviewed by:	jmallet@


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Remove mac_get_fd/mac_set_fd - those are not syscalls. The __mac_get_fd() and
  __mac_set_fd() syscalls are listed earlier.
- Correct typo in syscall name. It should be sched_rr_get_interval,
  not sched_rr_getinterval.

Submitted by:	David Drysdale <drysdale@google.com>
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix my braino in r257692. For SIOCG*ADDR we don't need exact match on
specified address, actually in most cases the address isn't specified.

Reported by:	peter


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add common bus_space tag definition shared for most supported ARMv6/v7 SoCs.

Tested by: ian, ray


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257738 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Switch to use common ARMv6/v7 bus_space tag.

Tested by: ian, ray


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Switch allwinner A10/A20 and rockchip ports to use common ARMv6/v7 bus_space tag.

Tested by: ganbold


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257740 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Check for "ieee80211_vap_setup()" failure in all USB WLAN drivers.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make OF_nextprop() work correctly for FDT by using the libfdt
fdt_next_property_offset() API. The old code would sometimes (e.g. on
the device tree supplied by the RB800 boot loader) get confused and stop
partway through listing properties.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Do not panic if pmap_mincore() is called. This prevents crashing userland
binaries from bringing down the kernel.

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
An addendum: it is possible, though of questionable utility, for a node
to have no properties at all. Do the right thing in such cases.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257747 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Implement a working write region function to speed up loading of the
firmware. You can test this change by switching the "#if 1" statement
right above in the patched code to "#if 0" !

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Switch to using pkg(8) for the doc install in bsdinstall(8).
This also bootstraps the system with pkg(8) for future use.

PR:		183488
Submitted by:	Joe Ennis
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make the powerpc dumpsys() more consistent with the other architectures.

MFC after:	10.0-RELEASE


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257750 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add definition for the Atheros 8021 gigabit PHY.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257751 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Don't return ENOBUFS if the transmit path handles the frame but queues it (eg in power save.)

This is definitely an MFC candidate for 10.0-REL.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for dereferencing SRV records via f_host_lookup(). Takes the
media choice into consideration for determining the appropriate SRV records
to query (e.g., _http._tcp, _ftp._tcp, _nfs.tcp, _nfs.udp, etc.).


git-svn-id: svn+ssh://svn.freebsd.org/base/head@257755 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix a bug that resulted in spurious error message "f_media_shutdown_http:
not found" from /usr/libexec/bsdconfig/030.packages/packages.


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