From owner-freebsd-current@FreeBSD.ORG Fri Jul 4 19:31:45 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 2145A106564A for ; Fri, 4 Jul 2008 19:31:45 +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 062598FC16 for ; Fri, 4 Jul 2008 19:31:44 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtp017-bge351000.mac.com (asmtp017-bge351000 [10.150.69.80]) by smtpoutm.mac.com (Xserve/smtpout018/MantshX 4.0) with ESMTP id m64JVi4I002742 for ; Fri, 4 Jul 2008 12:31:44 -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 asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K3H00LX1Y8VB880@asmtp017.mac.com> for freebsd-current@freebsd.org; Fri, 04 Jul 2008 12:31:44 -0700 (PDT) Message-id: <22A6B038-44BB-4072-8A6E-8C1D5855CB14@mac.com> From: Marcel Moolenaar To: Dmitry Morozovsky In-reply-to: <20080704135827.H35668@woozle.rinet.ru> Date: Fri, 04 Jul 2008 12:31:41 -0700 References: <20080701181358.GA93601@wep4017.physik.uni-wuerzburg.de> <20080704135827.H35668@woozle.rinet.ru> X-Mailer: Apple Mail (2.926) Cc: Alexey Shuvaev , freebsd-current@freebsd.org 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 19:31:45 -0000 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... -- Marcel Moolenaar xcllnt@mac.com