Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 23:29:23 +0100
From:      Nicolas Souchu <nsouch@free.fr>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        arch@FreeBSD.ORG, Rodolphe Ortalo <ortalo@laas.fr>
Subject:   Re: the mythical syscons redesign document ( was Re: Porting wscons )
Message-ID:  <20030123232923.E12164@armor.fastether>
In-Reply-To: <20030123071232.GA80532@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Wed, Jan 22, 2003 at 11:12:32PM -0800
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:
> > 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...

But would you find the same HW on totally different bus architectures? The same
graphic chipset that would work with ISA and PCI? No. Thus the bus has not to be
too abstracted. I think one should abstract the graphic chipset from *its* bus
(PCI in many cases) and that's all.

As you say, PCI standard has defined... and I think this definition can be
implemented much more simply than FreeBSD does, at least for booting a
console. This simple code could be written for different architectures to
init the same driver on any arch/OS before the rest of the OS bus abstraction.

This is how the vga/tga adapter work (init prior to bus abstraction)
but without any bus abstraction. On the other hand KGI provides this
abstraction and thus is candidate for early init of complex graphic drivers.

-- 
Nicholas Souchu - nsouch@free.fr - nsouch@FreeBSD.org

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?20030123232923.E12164>