From owner-p4-projects@FreeBSD.ORG Mon May 5 15:05:14 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id ECDE837B404; Mon, 5 May 2003 15:05:13 -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 8AD1237B401 for ; Mon, 5 May 2003 15:05:13 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3000343F3F for ; Mon, 5 May 2003 15:05:13 -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 h45M5C0U014989 for ; Mon, 5 May 2003 15:05:12 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h45M5CMM014986 for perforce@freebsd.org; Mon, 5 May 2003 15:05:12 -0700 (PDT) Date: Mon, 5 May 2003 15:05:12 -0700 (PDT) Message-Id: <200305052205.h45M5CMM014986@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 30639 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: Mon, 05 May 2003 22:05:15 -0000 http://perforce.freebsd.org/chv.cgi?CH=30639 Change 30639 by marcel@marcel_nfs on 2003/05/05 15:04:42 Actually remove a couple more device flags we don't use: COM_NOFIFO, COM_ST16650A, COM_TI16754 and COM_FIFOSIZE are kludges we don't need, now that we probe the FIFO size and we also don't want because we should probe the UART for additional features. COM_NOPROBE was not used before I started axing. COM_NOSCR was mainly used to kludge around phase ordering. We don't need to access the scratch pad, unless we need (want) to destinguish between 8250 and 16450. This depends on the existence of a FIFO and should not be done unconditionally. Affected files ... .. //depot/projects/sio/sys/dev/sio/sio.c#8 edit Differences ... ==== //depot/projects/sio/sys/dev/sio/sio.c#8 (text+ko) ==== @@ -90,16 +90,9 @@ | ((unit) & 0x1f)) #define COM_LOSESOUTINTS(flags) ((flags) & 0x08) -#define COM_NOFIFO(flags) ((flags) & 0x02) #define COM_PPSCTS(flags) ((flags) & 0x10000) -#define COM_ST16650A(flags) ((flags) & 0x20000) -#define COM_C_NOPROBE (0x40000) -#define COM_NOPROBE(flags) ((flags) & COM_C_NOPROBE) #define COM_C_IIR_TXRDYBUG (0x80000) #define COM_IIR_TXRDYBUG(flags) ((flags) & COM_C_IIR_TXRDYBUG) -#define COM_NOSCR(flags) ((flags) & 0x100000) -#define COM_TI16754(flags) ((flags) & 0x200000) -#define COM_FIFOSIZE(flags) (((flags) & 0xff000000) >> 24) /* * com state bits.