Date: Sat, 20 Mar 2004 12:16:10 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: John-Mark Gurney <gurney_j@efn.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 Message-ID: <20040320201610.GC84959@dhcp01.pn.xcllnt.net> In-Reply-To: <20040320185640.GD567@funkthat.com> References: <200403200214.i2K2E3ps052217@repoman.freebsd.org> <20040320080027.GC567@funkthat.com> <20040320085431.GA74398@dhcp01.pn.xcllnt.net> <20040320185640.GD567@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 20, 2004 at 10:56:40AM -0800, John-Mark Gurney wrote: > > > > > 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? > > > > 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. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040320201610.GC84959>