]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make gpiobus early driver at BUS_PAS_BUS.
authorbr <br@FreeBSD.org>
Thu, 17 Nov 2016 15:37:44 +0000 (15:37 +0000)
committerbr <br@FreeBSD.org>
Thu, 17 Nov 2016 15:37:44 +0000 (15:37 +0000)
commit0ab35954e204affcc16caeef143ec23d1a35f657
treefd0378caa8011f87e6c688281dcdd3aa82eaa259
parentaec30d9b8d863150a60214cfa3886ce324f655a5
Make gpiobus early driver at BUS_PAS_BUS.

The gpiobus driver is attached explicitly and generally should be
at the same pass as its parent. Making it use BUS_PAS_BUS ensures
that it attaches immediately after parent adds it (assuming the
parent itself attached at BUS_PAS_BUS and above).

Submitted by: kan
Sponsored by: DARPA, AFRL
sys/dev/gpio/gpiobus.c