Date: Mon, 4 Sep 2006 05:50:21 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 105635 for review Message-ID: <200609040550.k845oLox020183@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=105635 Change 105635 by imp@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609040550.k845oLox020183>