From owner-freebsd-current@FreeBSD.ORG Fri Jul 4 22:06:50 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 57FCB106567E; Fri, 4 Jul 2008 22:06:50 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.68]) by mx1.freebsd.org (Postfix) with ESMTP id 2E88D8FC1F; Fri, 4 Jul 2008 22:06:49 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtp014-bge351000.mac.com (asmtp014-bge351000 [10.150.69.77]) by smtpoutm.mac.com (Xserve/smtpout005/MantshX 4.0) with ESMTP id m64M6nhO015303; Fri, 4 Jul 2008 15:06:49 -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 asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K3I00F355FCOZ10@asmtp014.mac.com>; Fri, 04 Jul 2008 15:06:49 -0700 (PDT) Message-id: <70771DF0-71BB-453F-949E-6A50DD7D0D71@mac.com> From: Marcel Moolenaar To: John Baldwin In-reply-to: <200807041733.25301.jhb@freebsd.org> Date: Fri, 04 Jul 2008 15:06:48 -0700 References: <20080701181358.GA93601@wep4017.physik.uni-wuerzburg.de> <20080704135827.H35668@woozle.rinet.ru> <22A6B038-44BB-4072-8A6E-8C1D5855CB14@mac.com> <200807041733.25301.jhb@freebsd.org> X-Mailer: Apple Mail (2.926) Cc: Alexey Shuvaev , freebsd-current@freebsd.org, Dmitry Morozovsky Subject: Re: puc(4) man page update? 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: Fri, 04 Jul 2008 22:06:50 -0000 On Jul 4, 2008, at 2:33 PM, John Baldwin wrote: > On Friday 04 July 2008 03:31:41 pm Marcel Moolenaar wrote: >> >> On Jul 4, 2008, at 2:59 AM, Dmitry Morozovsky wrote: >> >>> doesn't splitting uart out of kernel broke serial console? Last time >>> I checked >>> it did. >> >> Yes, it does. The serial console is setup/initialized and >> used before pre-loaded modules are linked and/or usable. >> We don't have the support in place that allows you to boot >> without console until pre-loaded modules are initialized, >> at which time add a low-level console device is setup. >> It's not that hard to do, I think. >> >> So, currently low-level console drivers, such as dcons(4), >> sio(4) and uart(4) need to be compiled into the kernel. >> Consequently any devices/busses to which any of these can >> attach must be compiled into the kernel as well. Of these >> acpi(4) and puc(4) are good examples. acpi(4) is a good >> example because we use hints to work around the issue and >> have sio(4) attach to isa(4) instead... > > Actually, sio does attach to acpi0. What happens for sio is that the > low-level console stuff is just doing bare-bones inb/outb anyway. > sioX > devices do attach to acpi0 though just fine. That's because sio(4) compiles-in the acpi bus attachment even if acpi is not compiled-in. That's cheating :-) -- Marcel Moolenaar xcllnt@mac.com