cvs commit: src/sys/arm/at91 at91_pio.c at91_piovar.h
kb920x_machdep.c
Warner Losh
imp at FreeBSD.org
Fri Jul 14 22:23:00 UTC 2006
imp 2006-07-14 22:22:57 UTC
FreeBSD src repository
Modified files:
sys/arm/at91 at91_pio.c at91_piovar.h kb920x_machdep.c
Log:
MFp4:
Introduce framework to configure the multiplexed pins on boot.
Since the USART supprots RS-485 multidrop mode, it allows the
TX pins to float. However, for RS-232 operations, we don't
want these pins to float. Instead, they should be pulled up
to avoid mismatches. Linux does something similar when it
configures the TX lines. This implies that we also allow the
RX lines to float rather than be in the state they are left in
by the boot loader. Since they are input pins, I think that
this is the right thing to do.
Plus minor for our board.
Revision Changes Path
1.3 +15 -3 src/sys/arm/at91/at91_pio.c
1.2 +4 -3 src/sys/arm/at91/at91_piovar.h
1.10 +47 -2 src/sys/arm/at91/kb920x_machdep.c
More information about the cvs-src
mailing list