From owner-cvs-src@FreeBSD.ORG Sat Mar 20 13:44:09 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5552F16A4D2; Sat, 20 Mar 2004 13:44:09 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA62543D39; Sat, 20 Mar 2004 13:44:08 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i2KLi2Xp071833; Sat, 20 Mar 2004 13:44:02 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) i2KLi2OU091986; Sat, 20 Mar 2004 13:44:02 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i2KLi2Fm091985; Sat, 20 Mar 2004 13:44:02 -0800 (PST) (envelope-from marcel) Date: Sat, 20 Mar 2004 13:44:02 -0800 From: Marcel Moolenaar To: John-Mark Gurney Message-ID: <20040320214402.GA91919@dhcp01.pn.xcllnt.net> References: <200403200214.i2K2E3ps052217@repoman.freebsd.org> <20040320080027.GC567@funkthat.com> <20040320085431.GA74398@dhcp01.pn.xcllnt.net> <20040320185640.GD567@funkthat.com> <20040320201610.GC84959@dhcp01.pn.xcllnt.net> <20040320205356.GE567@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040320205356.GE567@funkthat.com> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/dev/uart uart_cpu.h uart_cpu_alpha.c uart_cpu_amd64.c uart_cpu_i386.c uart_cpu_ia64.c uart_cpu_pc98.c uart_cpu_sparc64.c uart_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 21:44:09 -0000 On Sat, Mar 20, 2004 at 12:53:56PM -0800, John-Mark Gurney wrote: > Marcel Moolenaar wrote this message on Sat, Mar 20, 2004 at 12:16 -0800: > > > > Probe order is irrelevant if you specify the device by its I/O port > > > > or memory mapped I/O address. When you need to pinpoint a device > > > > prior to any form of bus enumeration, the unit number is meaningless > > > > and any mechanism that includes a unit number is bogus. That's why > > > > hints are the wrong tool for pinpointing a console or debug port. > > > > > > I hope that you don't have to specify the console via io/memory port.. > > > > Yes you have. This is no different than hints, except that you set > > flags in that case to tell uart(4) that the device is to be used as > > a console or debug port. But you still need to specify the I/O port > > because without it your hint is bogus. > > My objection is to Yet Another Hint Place to stick IO/Memory wiring down > addresses... You're missing the point. The hw.uart.console and hw.uart.dbgport variables do not wire down anything. They simply tell uart(4) that the serial device at that particular address is to be used as a console or debug port. We're not programming any chipsets to put a serial device at that address, nor do we reserve that address in some form or another and automagically have a serial device show up during bus enumeration. Hence, they are not hints and they do not depend on hints. Hints are a thing of the past and useful only on certain platforms. One should not gratuitously and artificially add a dependency to hints. Yes, this also means SCSI busses... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net