From owner-cvs-src@FreeBSD.ORG Fri Jul 14 22:23:00 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A019416A501; Fri, 14 Jul 2006 22:23:00 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE77C43D6B; Fri, 14 Jul 2006 22:22:57 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6EMMvGI054040; Fri, 14 Jul 2006 22:22:57 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6EMMv8c054039; Fri, 14 Jul 2006 22:22:57 GMT (envelope-from imp) Message-Id: <200607142222.k6EMMv8c054039@repoman.freebsd.org> From: Warner Losh Date: Fri, 14 Jul 2006 22:22:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/arm/at91 at91_pio.c at91_piovar.h kb920x_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 22:23:00 -0000 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