From owner-p4-projects@FreeBSD.ORG Tue Aug 19 17:49:41 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CDC0B16A4C1; Tue, 19 Aug 2003 17:49:40 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716C216A4BF for ; Tue, 19 Aug 2003 17:49:40 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1667143FD7 for ; Tue, 19 Aug 2003 17:49:40 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h7K0nd0U000365 for ; Tue, 19 Aug 2003 17:49:39 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h7K0ndvU000362 for perforce@freebsd.org; Tue, 19 Aug 2003 17:49:39 -0700 (PDT) Date: Tue, 19 Aug 2003 17:49:39 -0700 (PDT) Message-Id: <200308200049.h7K0ndvU000362@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 36458 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 00:49:41 -0000 http://perforce.freebsd.org/chv.cgi?CH=36458 Change 36458 by marcel@marcel_nfs on 2003/08/19 17:49:17 Move the parity defines from uart_cpu.h to uart.h. They are shared between the console code and the bus drivers. Affected files ... .. //depot/projects/uart/dev/uart/uart.h#2 edit .. //depot/projects/uart/dev/uart/uart_cpu.h#3 edit Differences ... ==== //depot/projects/uart/dev/uart/uart.h#2 (text+ko) ==== @@ -70,4 +70,13 @@ #define UART_FLAGS_CONSOLE(f) ((f) & 0x10) #define UART_FLAGS_DBGPORT(f) ((f) & 0x80) +/* + * Data parity values (magical numbers related to ns8250). + */ +#define UART_PARITY_NONE 0 +#define UART_PARITY_ODD 1 +#define UART_PARITY_EVEN 3 +#define UART_PARITY_MARK 5 +#define UART_PARITY_SPACE 7 + #endif /* _DEV_UART_H_ */ ==== //depot/projects/uart/dev/uart/uart_cpu.h#3 (text+ko) ==== @@ -45,15 +45,6 @@ extern struct uart_ops uart_sab82532_ops; /* - * Data parity values. - */ -#define UART_PARITY_NONE 0 -#define UART_PARITY_ODD 1 -#define UART_PARITY_EVEN 3 -#define UART_PARITY_MARK 5 -#define UART_PARITY_SPACE 7 - -/* * Console and debug port device info. */ struct uart_devinfo {