freebsd kernel with SKQ
Go to file
loos 5a10856167 MFC r258046, r258047, r258050, r259035, r259036, r259037, r261842, r261843,
r261844, r261845, r261846, r262194, r262522, r262559

r258046:
Fix a typo on a comment in ofw_bus_if.m, the default method will return -1
when a node doesn't exist.

r258047:
Move the KASSERT() check to the point before the increase of number of pins.

r258050:
Fix gpiobus to return BUS_PROBE_GENERIC insted of BUS_PROBE_SPECIFIC (0) so
it can be overriden by its OFW/FDT version.

Give a chance for GPIO devices that implement the device_identify method to
attach.

r259035:
Remove unnecessary includes and an unused softc variable.  While here apply
two minor style(9) fixes.

r259036:
Move the GPIOBUS_SET_PINFLAGS(..., ..., pin, GPIO_PIN_OUTPUT) to led(4)
control callback function.  This makes gpioled(4) works even if the pin
is accidentally set to an input.

r259037:
Fix the pin value reading on AM335x.  Because of the inverted logic it was
always returning '0' for all the reads, even for the outputs.  It is now
known to work with gpioiic(4) and gpioled(4).

r261842:
Add an OFW GPIO compatible bus.  This allows the use of the DTS files to
describe GPIO bindings in the system.

Move the GPIOBUS lock macros to gpiobusvar.h as they are now shared between
the OFW and the non OFW versions of GPIO bus.

Export gpiobus_print_pins() so it can also be used on the OFW GPIO bus.

r261843:
Add OFW support to the in tree gpio compatible devices: gpioiic(4) and
gpioled(4).

Tested on RPi and BBB (using the hardware I2C controller and gpioiic(4) for
the I2C tests).  It was also verified for regressions on RSPRO (MIPS/ar71xx)
used as reference for a non OFW-based system.

Update the gpioled(4) and gpioiic(4) man pages with some details and
examples about the FDT/OFW support.

Some compatibility details pointed out by imp@ will follow in subsequent
commits.

r261844:
Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems.

This change makes ofw_iicbus attach to iicbb(4) controllers in addition to
the already supported i2c host bridges (iichb).

On iicbb(4) allow the direct access of the OFW parent node by its children,
so they can be directly attached to iicbb(4) node on the DTS without the
need of describing the i2c bus.

r261845:
Allow the use of the OFW GPIO bus for ti_gpio and bcm2835_gpio.  With this
change the gpio children can be described as directly connected to the GPIO
controller without the need of describing the OFW GPIO bus itself on the
DTS file.

With this commit the OFW GPIO bus is fully functional on BBB and RPi.

GPIO controllers which want to use the OFW GPIO bus will need similar
changes.

r261846:
Make the gpioled(4) work out of the box on BBB.

Add gpioled(4) to BEAGLEBONE kernel and add the description of the four
on-board leds of beaglebone-black to its DTS file.

r262194:
Remove an unnecessary header.

r262522:
Fix make depend for iicbus.

r262559:
Inspired by r262522, fix make depend.  This fixes the build of gpio modules.
2014-05-15 01:27:53 +00:00
bin date(1): Add "-R" flag to use RFC 2822 date and time output format [MFC] 2014-05-03 13:19:11 +00:00
cddl MFC r264835 (MFV r264829): 2014-05-09 07:12:31 +00:00
contrib MFC of tzdata2014c 2014-05-13 22:35:06 +00:00
crypto Fix OpenSSL NULL pointer deference vulnerability. 2014-05-13 23:19:16 +00:00
etc MFC r263445 and r265385. Note that the change to ObsoleteFiles.inc in 2014-05-07 18:49:25 +00:00
games MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-28 04:20:14 +00:00
gnu MFC r265732: 2014-05-09 04:16:10 +00:00
include MFC r263998: 2014-04-15 09:41:52 +00:00
kerberos5 MFC r262253: hack to prevent concurrent runs of asn1_compile in the Heimdal 2014-02-20 20:51:27 +00:00
lib MFC r264212,r264213,r264248,r265776,r265811,r265909: 2014-05-13 06:05:53 +00:00
libexec MFC r264617: 2014-05-05 16:52:38 +00:00
release MFC: r265362 2014-05-14 13:54:07 +00:00
rescue
sbin MFC: r265535 2014-05-14 16:18:08 +00:00
secure MFC r265003: 2014-05-04 07:28:26 +00:00
share MFC r258046, r258047, r258050, r259035, r259036, r259037, r261842, r261843, 2014-05-15 01:27:53 +00:00
sys MFC r258046, r258047, r258050, r259035, r259036, r259037, r261842, r261843, 2014-05-15 01:27:53 +00:00
tests MFC r263445 and r265385. Note that the change to ObsoleteFiles.inc in 2014-05-07 18:49:25 +00:00
tools MFC rev. 265260: 2014-05-11 20:44:58 +00:00
usr.bin MFC r264918: 2014-05-14 15:24:25 +00:00
usr.sbin MFC r258044, r258679, r263990 2014-05-14 23:33:38 +00:00
COPYRIGHT MFC r260125: 2013-12-31 12:24:38 +00:00
LOCKS Explicitly require Security Officer's approval for kernel PRNG bits. 2013-09-17 14:19:05 +00:00
MAINTAINERS
Makefile MFC r265097: 2014-05-06 14:38:03 +00:00
Makefile.inc1 MFC rev. 265260: 2014-05-11 20:44:58 +00:00
ObsoleteFiles.inc MFC revisions 260894,260899,262895-262902,262904,262908-262910,262982, 2014-04-01 00:19:13 +00:00
README
UPDATING MFC r264345: 2014-04-14 17:54:01 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The ``world''
target should only be used in cases where the source tree has not
changed from the currently running version.  See:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
for more information, including setting make(1) variables.

The ``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

cddl		Various commands and libraries under the Common Development
		and Distribution License.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html