Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 07:58:08 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        arch@FreeBSD.ORG
Subject:   Re: the mythical syscons redesign document ( was Re: Porting wscons )
Message-ID:  <20030123205808.GA17281@cirb503493.alcatel.com.au>
In-Reply-To: <20030123071232.GA80532@dhcp01.pn.xcllnt.net>
References:  <20030122010246.52789.qmail@web13404.mail.yahoo.com> <1043236066.28124.6.camel@builder02.qubesoft.com> <20030122223626.B8449@armor.fastether> <20030122220029.GD590@dhcp01.pn.xcllnt.net> <20030123075556.A10370@armor.fastether> <20030123071232.GA80532@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 22, 2003 at 11:12:32PM -0800, Marcel Moolenaar wrote:
>On Thu, Jan 23, 2003 at 07:55:56AM +0100, Nicolas Souchu wrote:
>> I agree. But booting a true PCI/AGP (and not ISA) graphic card without
>> the bus stuff initialized seems very hard.
>
>Yes and no. The PCI standard has defined the legacy memory address of
>the frame buffer and the legacy I/O port range for compatibility. I
>expect that we can safely probe that. I don't know how this works in
>non-PCI system though...

I think this is only true of VGA devices.  Definitely the DEC TGA
does not have any legacy address support - it has to be initialised
as a generic PCI device and then written to using its proprietary
command set.  And based on other comments in this thread, I think
that USB keyboards don't have legacy AT-keyboard support either.

>The approach I took on the ia64 branch is to have a xxx_machdep.c in
>sys/$ARCH/$ARCH for every device xxx that can be a low level console.

Whilst I don't see any alternative, this is a fairly expensive approach
since the number of MD files starts growing alarmingly as the number of
architectures and console devices increases.  (Though it's definitely
better than having lots of MD code buried in supposedly MI files).

Peter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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