Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src

Module Name:    src
Committed By:   mbalmer
Date:           Sun Oct  2 09:33:19 UTC 2011

Modified Files:
        src/share/man/man4: gpio.4 gpioiic.4
        src/sys/dev/gpio: gpio.c gpioiic.c gpiovar.h
        src/sys/sys: gpio.h
        src/usr.sbin/gpioctl: gpioctl.8 gpioctl.c

Log Message:
Add a ga_flags field to the gpio_attach structure to hand driver
specific flags to drivers being attached at gpio pins.  gpioiic(4)
uses this to reverse the SDA/SCL signal order.  gpioctl(8) accepts
the flag values as optional argument to the attach command.
While here, make sure we retain backwards compatability and wrap compat
code in #ifdef COMPAT_50/#endif.

To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man4/gpio.4
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/gpioiic.4
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/gpio/gpioiic.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/gpio/gpiovar.h
cvs rdiff -u -r1.9 -r1.10 src/sys/sys/gpio.h
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/gpioctl/gpioctl.8
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/gpioctl/gpioctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index