From owner-p4-projects@FreeBSD.ORG Fri Mar 31 13:51:46 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 52E9B16A426; Fri, 31 Mar 2006 13:51:46 +0000 (UTC) X-Original-To: perforce@freebsd.org 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 B3F0816A423; Fri, 31 Mar 2006 13:51:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id A066F43D58; Fri, 31 Mar 2006 13:51:44 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k2VDphuO013411; Fri, 31 Mar 2006 08:51:43 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Marcel Moolenaar Date: Fri, 31 Mar 2006 08:51:41 -0500 User-Agent: KMail/1.8.3 References: <200603302348.k2UNmDJd096792@repoman.freebsd.org> In-Reply-To: <200603302348.k2UNmDJd096792@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200603310851.42196.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1364/Thu Mar 30 15:05:50 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Perforce Change Reviews Subject: Re: PERFORCE change 94334 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 13:51:46 -0000 On Thursday 30 March 2006 06:48 pm, Marcel Moolenaar wrote: > http://perforce.freebsd.org/chv.cgi?CH=3D94334 > > Change 94334 by marcel@marcel_nfs on 2006/03/30 23:47:36 > > Strip-down puc(4): > o Remove PUC_PORT_TYPE_UART: we always use uart(4) now, so we > can use PUC_PORT_TYPE_COM for that. > o Remove PUC_PORT_UART_*: we don't support UART sub-types. All > UARTs are standard ns8250 again. > o Remove PUC_FLAGS_MEMORY and PUC_FLAGS_ALTRES: we try I/O ports > first and if that fails, we try memory. > o Remove PUC_FASTINTR: we try setting up a fast handler first, > and if that fails we try a MPSAFE one. Unfortunately that algorithm doesn't work in the case of a shared interrupt if puc is the first device to attach. The other devices then just "lose". This is mostly irrelevant on 6.1 and later for all but ppc since they allow INTR_FAST to be shared with non-INTR_FAST. =2D-=20 John Baldwin =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org