From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 16 14:58:21 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF5E16A4CE for ; Tue, 16 Mar 2004 14:58:21 -0800 (PST) Received: from geddar.km.ua (geddar.km.ua [62.149.10.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F23B43D1D for ; Tue, 16 Mar 2004 14:58:20 -0800 (PST) (envelope-from maxim@geddar.km.ua) Received: from geddar.km.ua (localhost [127.0.0.1]) by geddar.km.ua (8.12.10/8.12.10) with ESMTP id i2GMwGTV051553; Wed, 17 Mar 2004 00:58:17 +0200 (EET) (envelope-from maxim@geddar.km.ua) Received: (from maxim@localhost) by geddar.km.ua (8.12.10/8.12.10/Submit) id i2GMwG5R051552; Wed, 17 Mar 2004 00:58:16 +0200 (EET) (envelope-from maxim) Date: Wed, 17 Mar 2004 00:58:16 +0200 From: Maxim Mazurok To: Marcel Moolenaar Message-ID: <20040316225816.GU7808@km.ua> References: <20040316055650.GA15182@electra.cse.Buffalo.EDU> <20040316212925.GS7808@km.ua> <20040316225315.GB49247@ns1.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040316225315.GB49247@ns1.xcllnt.net> User-Agent: Mutt/1.5.4i cc: Ken Smith cc: freebsd-sparc64@freebsd.org Subject: Re: Console patch part II... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 22:58:21 -0000 On Tue, Mar 16, 2004 at 02:53:15PM -0800, Marcel Moolenaar wrote: >> >With a custom kernel with the Creator-3D support compiled in and >> >device adjustments as typically recommended (add sc, uart, puc; >> >remove sab and zs) the uart code stops working properly. >> >> sorry for offtopic... >> i have OEM motherboard Ultra AXe >> on this boart i have two ports sab(4) and two ports sio(4), but sio(4) >> driver broken in sparc64... i have panic while kernel booting. >> can i use all 4 ports width uart driver? > >Yes. > >> what i need add to my kernel? > >You need puc(4) to detect the SAB, and you need uart(4) to handle >the individual channels of the SAB and the NS16550 (or compat). > >Remove sab(4), sio(4) [which doesn't work anyway] and ofw_console(4). if i remove ofw_console i may need to add sc(4)? >A technical note about the use of puc(4) [can be ignored]: > >An SSC (Synchronuous Communications Controller) like the SAB >typically allows 3 or 4 protocols to be selected. These being: >1. Asynchronuous >2. Mono-sync >3. Bi-sync >4. SDLC/HDLC > >My vision is that you ideally have a ssc(4) device that provides >a bus onto which one can hang uart(4), hdlc(4), msyn(4) and/or >bisyn(4). The bus operates in such a way that when uart(4) is >active any of the other devices on the bus are disabled. Active >meaning that the device file has been opened. Obviously we do >not have ssc(4) and we need to write one. In the mean time, puc(4) >fills in the function of exposing the channels to uart(4) so that >we keep uart(4) simple and elementary without making it impossible >in the future to created ssc(4)... > >JFYI (in case people were wondering), > >-- > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net -- Maxim Mazurok (MMP2-RIPE)