From owner-freebsd-current@FreeBSD.ORG Sat Jul 5 16:04:59 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C54BE1065671; Sat, 5 Jul 2008 16:04:59 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.81]) by mx1.freebsd.org (Postfix) with ESMTP id 93CB98FC18; Sat, 5 Jul 2008 16:04:59 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtp020-bge351000.mac.com (asmtp020-bge351000 [10.150.69.83]) by smtpoutm.mac.com (Xserve/smtpout018/MantshX 4.0) with ESMTP id m65G4xAl026393; Sat, 5 Jul 2008 09:04:59 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [192.168.1.102] (209-128-86-226.BAYAREA.NET [209.128.86.226]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K3J00A33JCAVLA0@asmtp020.mac.com>; Sat, 05 Jul 2008 09:04:59 -0700 (PDT) Message-id: <254B5D19-E08A-43A0-AB76-43299C4AD77C@mac.com> From: Marcel Moolenaar To: Takahashi Yoshihiro In-reply-to: <20080705.212422.226755141.nyan@jp.FreeBSD.org> Date: Sat, 05 Jul 2008 09:04:58 -0700 References: <20080704.063540.1210476607.imp@bsdimp.com> <20080704.221043.226715262.nyan@jp.FreeBSD.org> <29489C48-93A2-41D9-9EF1-5395A673A9B3@mac.com> <20080705.212422.226755141.nyan@jp.FreeBSD.org> X-Mailer: Apple Mail (2.926) Cc: ed@80386.nl, sam@freebsd.org, imp@freebsd.org, freebsd-current@freebsd.org, arch@freebsd.org Subject: Re: MPSAFE TTY schedule [uart vs sio] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2008 16:04:59 -0000 On Jul 5, 2008, at 5:24 AM, Takahashi Yoshihiro wrote: > In article <29489C48-93A2-41D9-9EF1-5395A673A9B3@mac.com> > Marcel Moolenaar writes: > >>> The uart probably works for some 16550 based devices but does not >>> work >>> for other one like multi-port devices. >> >> The design principle of uart(4) is that it does not know >> about multi-port hardware. It controls a single serial >> port only. For multi-port hardware you must have multiple >> nodes on a bus or use an umbrella driver, such as puc(4), >> quicc(4) or scc(4). Those drivers provide attachments for >> every port. >> >> I suspect that support for multi-port devices is not to >> hard to do on pc98... > > Many serial devices on pc98 use indirect I/O space, so resource > management is quite complex. Therefore, it may need more work you > think. I'm not sure I understand exactly what that means. Can you elaborate? > At the starting point, I have added CBus frontend and fixed console > support for pc98. Great, thanks! Could you commit sys/pc98/include/bus.h and sys/pc98/pc98/busiosubr.c at your earliest convenience. That code has to be in the kernel if I were to work on the uart module. Thanks, -- Marcel Moolenaar xcllnt@mac.com