From owner-cvs-src@FreeBSD.ORG Tue May 23 00:41:59 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 E761616AFDD; Tue, 23 May 2006 00:41:59 +0000 (UTC) (envelope-from benno@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E77C843D6B; Tue, 23 May 2006 00:41:56 +0000 (GMT) (envelope-from benno@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 k4N0fCij058565; Tue, 23 May 2006 00:41:12 GMT (envelope-from benno@repoman.freebsd.org) Received: (from benno@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4N0fC0G058564; Tue, 23 May 2006 00:41:12 GMT (envelope-from benno) Message-Id: <200605230041.k4N0fC0G058564@repoman.freebsd.org> From: Benno Rice Date: Tue, 23 May 2006 00:41:12 +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/dev/ic ns16550.h src/sys/dev/uart uart_dev_ns8250.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: Tue, 23 May 2006 00:42:00 -0000 benno 2006-05-23 00:41:12 UTC FreeBSD src repository Modified files: sys/dev/ic ns16550.h sys/dev/uart uart_dev_ns8250.c Log: Allow uart(4)'s ns8250 driver to work with devices whose regshift is > 0. - Rename REG_DL to REG_DLL and REG_DLH. - Always treat DLL and DLH as two separate 8-bit registers instead of one 16-bit register. Additionally, remove the probe for the high 4 bits of IER being 0 and don't assume we can always read/write 0 to/from those bits. These changes allow uart(4) to drive the UARTs on the Intel XScale PXA255. Reviewed by: marcel Revision Changes Path 1.17 +2 -1 src/sys/dev/ic/ns16550.h 1.22 +16 -24 src/sys/dev/uart/uart_dev_ns8250.c