[BACK]Return to gpio.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

File: [cvs.NetBSD.org] / src / etc / gpio.conf (download)

Revision 1.1, Sat Jul 25 16:20:10 2009 UTC (10 years, 6 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache

Document recent gpio(4) changes and introduce a new config file for GPIO.
Integrate with the startup scripts in /etc/rc.d.  Introduce new variable
"gpio" for /etc/rc.conf.

# $NetBSD: gpio.conf,v 1.1 2009/07/25 16:20:10 mbalmer Exp $
# GPIO device and pin configuration
# The syntax is exactly like the gpioctl(8) command, but without the
# gpioctl word.
# E.g. define pin 6 of /dev/gpio0 as output and name it error_led:
# /dev/gpio0 6 set out error_led

# Empty lines and lines starting with # are ignored.