PERFORCE change 105635 for review

Warner Losh imp at FreeBSD.org
Mon Sep 4 05:50:22 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=105635

Change 105635 by imp at imp_lighthouse on 2006/09/04 05:50:04

	define configuration goo.  Not sure what to return to userland in
	info ioctl, so leave blank for now.

Affected files ...

.. //depot/projects/arm/src/sys/sys/gpio.h#2 edit

Differences ...

==== //depot/projects/arm/src/sys/sys/gpio.h#2 (text+ko) ====

@@ -40,7 +40,10 @@
 
 struct gpio_cfg
 {
-    int dummy;
+	uint32_t	mask;		/* Mask of bits to change */
+	uint32_t	input;		/* or output */
+	uint32_t	hi_z;		/* Disable output */
+	uint32_t	pullup;		/* Enable pullup resistor */
 };
 
 #define GPIO_SET	_IOW('g', 0, uint32_t)	/* Turn bits on */


More information about the p4-projects mailing list