]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r348153-r348155: gpioled: add a new hint for initial state
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 6 Jun 2019 11:42:26 +0000 (11:42 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Thu, 6 Jun 2019 11:42:26 +0000 (11:42 +0000)
commit3a04f62ec9822a3e691a6fa6c97ffe98623a2835
treed6b7ca65c595d2c6a7033963f1e11f4b6cf5cf3c
parentb28f237bc53416d07673fb6d523d7c3d7069d581
MFC r348153-r348155: gpioled: add a new hint for initial state

hint.gpioled.%d.state determines the initial state of the LED when the
driver takes control over it:
  0 - the LED is off
  1 - the LED is on
 -1 - the LED is kept as it was

While here, add a module version declaration.
share/man/man4/gpioled.4
sys/dev/gpio/gpioled.c