Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 11:06:40 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Trimming the default /boot/device.hints
Message-ID:  <200902061106.41235.jhb@freebsd.org>
In-Reply-To: <498C55BB.3030606@icyb.net.ua>
References:  <200901260947.32870.jhb@freebsd.org> <200902060937.55724.jhb@freebsd.org> <498C55BB.3030606@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 February 2009 10:22:35 am Andriy Gapon wrote:
> on 06/02/2009 16:37 John Baldwin said the following:
> > 
> > Yes, it only needs the hint for it to be a console device.
> > 
> 
> I am slightly confused as to how that hint works then, it's not like a
> standard isa hint it seems.
> Can it somehow be built-in (into the code)?

It works "normally" during the new-bus attach, but the low-level console code 
probably checks for it early on as well.  The serial console code works that 
way.  The uart(4) and sio(4) drivers explicitly look for uart/sio hints to 
find possible console devices.  This is separate from when the ISA bus adds 
uart/sio devices from the hints later on.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902061106.41235.jhb>