From owner-cvs-all@FreeBSD.ORG Sat Mar 20 00:00:35 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 047B216A4CE for ; Sat, 20 Mar 2004 00:00:35 -0800 (PST) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id D688D43D31 for ; Sat, 20 Mar 2004 00:00:34 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 6066 invoked from network); 20 Mar 2004 08:00:34 -0000 Received: from dsl017-045-168.spk4.dsl.speakeasy.net (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 Mar 2004 08:00:34 -0000 Received: from hydrogen.funkthat.com (sbapqb@localhost.funkthat.com [127.0.0.1])i2K80SOE053498; Sat, 20 Mar 2004 00:00:33 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i2K80RMe053497; Sat, 20 Mar 2004 00:00:27 -0800 (PST) Date: Sat, 20 Mar 2004 00:00:27 -0800 From: John-Mark Gurney To: Marcel Moolenaar Message-ID: <20040320080027.GC567@funkthat.com> References: <200403200214.i2K2E3ps052217@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403200214.i2K2E3ps052217@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html 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-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2004 08:00:35 -0000 Marcel Moolenaar wrote this message on Fri, Mar 19, 2004 at 18:14 -0800: > The reasons for introducing these variables are: > 1. Hints have side-effects. They reserve the unit number for use by > isa or acpi devices and therefore cannot be used to select a pci > device. Also, the use of a unit number to select a device prior see below.. Hints are SUPPOSE to reserve a unit number of any bus... > to bus enumeration is nonsense. The new variables have no side- > effects and are not based on unit numbers. > 2. Hints don't have the expression power to allow the sysadmin to > select UARTs that are not legacy PC devices and need the support > of compile-time constants to give the sysadmin some level of > flexibility. Hun? I don't follow this one? Hints are suppose to be bus generic methods of tieing down any device on the subsystem so that you know exactly the correct device between reboots... If PCI adn/or other busses don't understand hints, then this is a bug in the bus and should not introduce a new method of providing hints... > The hw.uart.console and hw.uart.dbgport variables specify a list of > attributes. An attribute is a tag-value pair, seperated by a colon. > Attributes are seperated by a comma. Where possible, tags are the > same as those in /etc/remote (only br and pa in practice). Details > can be found in the manpage (not part of this commit). I don't see how this prevents problems with probe order suddenly changing and you don't have the same console you thought you had... also, how do you handle this before devfs is up? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."