Place a cap on the size of the kernel's heap, also known as the kmem
submap.  Otherwise, after r246204, the auto-scaling logic in kern_malloc.c
tries to create a kmem submap that consumes the entire kernel map on a
Pandaboard with 1 GB of RAM.

Tested by:	gonzo


git-svn-id: svn://svn.freebsd.org/base/head@246929 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Disable this variable; the code using it is also disabled.


git-svn-id: svn://svn.freebsd.org/base/head@246930 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add strtoul() to libstand by copying from libc and clipping out
locale code.


git-svn-id: svn://svn.freebsd.org/base/head@246931 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
the NO_PAM option has been finally removed in favor of WITHOUT_PAM.


git-svn-id: svn://svn.freebsd.org/base/head@246932 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a new ATH KTR debug method to log the interrupt status.


git-svn-id: svn://svn.freebsd.org/base/head@246933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make this output more terse.


git-svn-id: svn://svn.freebsd.org/base/head@246934 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
* Add initial debugging of the interrupt status entry
* Add in the TDMA debugging entries that I added a while ago


git-svn-id: svn://svn.freebsd.org/base/head@246935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix bad EEPROM parsing code.

MFC after:	2 weeks


git-svn-id: svn://svn.freebsd.org/base/head@246944 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix an incorrect sizeof()

PR:		kern/176238
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>


git-svn-id: svn://svn.freebsd.org/base/head@246945 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge sendmail 8.14.6 errata issue

MFC after:	3 days


git-svn-id: svn://svn.freebsd.org/base/head@246947 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Clarify an error message.   The addresses here are
really offsets within the primary mapped memory block
(which may not start at address zero).


git-svn-id: svn://svn.freebsd.org/base/head@246948 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
mdoc: sort sections.


git-svn-id: svn://svn.freebsd.org/base/head@246949 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Mark the coretemp(4) sysctls as MPSAFE, ensuring that Giant won't be held
unnecessarily by a user thread waiting to run on a specific CPU after
calling sched_bind().

Reviewed by:	rstone
Approved by:	emaste (co-mentor)
Sponsored by:	Sandvine Incorporated
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@246951 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
setbuf(3): Restore a BUGS section about setbuf().

The brokenness of setbuf() is not specific to 4.2BSD and 4.3BSD but inherent
in the API definition.

Reported by:	bde


git-svn-id: svn://svn.freebsd.org/base/head@246952 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add mem_load_raw() for loading data from another location in memory.

This will be used by some upcoming changes to loader(8) FDT
handling to allow it to use an FDT provided by an earlier
boot stage the same as an FDT loaded from disk.


git-svn-id: svn://svn.freebsd.org/base/head@246953 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
More white-space cleanups.

Reported by:	zont (the first one)


git-svn-id: svn://svn.freebsd.org/base/head@246954 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Define gpio constants rather than using enum.
Fix pull-up and pull-down values of gpio.
According to A10 user manual possible pull register
values are 00 Pull-up/down disable, 01 Pull-up, 10 Pull-down.

Approved by: gonzo@


git-svn-id: svn://svn.freebsd.org/base/head@246955 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
kgdb enhancements!

* document the kgdb -b flag
* better verify what's valid with -b
* add more comprehensive command line help

PR:		kern/175743
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>


git-svn-id: svn://svn.freebsd.org/base/head@246958 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Make sure to set an error code when trying to obtain a data descriptor for
  a section of type SHT_NULL.
- Update the man page to reflect the fact that elf_getdata() and
  elf_rawdata() may return with an error of ELF_E_SECTION.

PR:		bin/175491
Approved by:	emaste (co-mentor)
MFC after:	1 week


git-svn-id: svn://svn.freebsd.org/base/head@246978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Print out the RTS/CTS rate in the TX descriptor.


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