Date: Wed, 4 Oct 2006 01:27:56 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 107232 for review Message-ID: <200610040127.k941RuFj069178@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107232 Change 107232 by imp@imp_lighthouse on 2006/10/04 01:27:23 _IOR is for reading data from the kernel. _IOW is for writing data into the kernel. Config is definitely writing data into the kernel. Switch. Affected files ... .. //depot/projects/arm/src/sys/sys/gpio.h#4 edit Differences ... ==== //depot/projects/arm/src/sys/sys/gpio.h#4 (text+ko) ==== @@ -55,6 +55,6 @@ #define GPIO_GET _IOR('g', 2, uint32_t) /* Read output bit state */ #define GPIO_READ _IOR('g', 3, uint32_t) /* Read input bit state */ #define GPIO_INFO _IOR('g', 4, struct gpio_info) /* State of gpio cfg */ -#define GPIO_CFG _IOR('g', 5, struct gpio_cfg) /* Configure gpio */ +#define GPIO_CFG _IOW('g', 5, struct gpio_cfg) /* Configure gpio */ #endif /* _SYS_GPIO_H */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610040127.k941RuFj069178>