Date: Tue, 3 Oct 2006 23:52:53 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 107226 for review Message-ID: <200610032352.k93NqriK044383@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107226 Change 107226 by imp@imp_lighthouse on 2006/10/03 23:52:30 Need to enable this pin for GPIO access. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91_pio.c#20 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91_pio.c#20 (text+ko) ==== @@ -291,6 +291,7 @@ case GPIO_CFG: /* Configure GPIO pins */ cfg = (struct gpio_cfg *)data; if (cfg->cfgmask & GPIO_CFG_INPUT) { + WR4(sc, PIO_PER, cfg->iomask); WR4(sc, PIO_OER, cfg->iomask & ~cfg->input); WR4(sc, PIO_ODR, cfg->iomask & cfg->input); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610032352.k93NqriK044383>