From owner-freebsd-arch@FreeBSD.ORG Sat Jul 5 12:25:42 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9C311065678; Sat, 5 Jul 2008 12:25:42 +0000 (UTC) (envelope-from nyan@jp.FreeBSD.org) Received: from watery.cc.kogakuin.ac.jp (watery.cc.kogakuin.ac.jp [133.80.152.80]) by mx1.freebsd.org (Postfix) with ESMTP id 8083D8FC14; Sat, 5 Jul 2008 12:25:42 +0000 (UTC) (envelope-from nyan@jp.FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) by watery.cc.kogakuin.ac.jp (unknown) with ESMTP id m65CPKSe053473; Sat, 5 Jul 2008 21:25:20 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Sat, 05 Jul 2008 21:24:22 +0900 (JST) Message-Id: <20080705.212422.226755141.nyan@jp.FreeBSD.org> To: xcllnt@mac.com From: Takahashi Yoshihiro In-Reply-To: <29489C48-93A2-41D9-9EF1-5395A673A9B3@mac.com> References: <20080704.063540.1210476607.imp@bsdimp.com> <20080704.221043.226715262.nyan@jp.FreeBSD.org> <29489C48-93A2-41D9-9EF1-5395A673A9B3@mac.com> X-Mailer: Mew version 6.1 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2008 12:25:42 -0000 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. At the starting point, I have added CBus frontend and fixed console support for pc98. http://home.jp.freebsd.org/~nyan/patches/uart_pc98.diff.bz2 --- TAKAHASHI Yoshihiro