From owner-freebsd-arch Thu Jan 23 14:15:12 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CDAA37B401 for ; Thu, 23 Jan 2003 14:15:11 -0800 (PST) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CF8D43F13 for ; Thu, 23 Jan 2003 14:15:10 -0800 (PST) (envelope-from nsouch@free.fr) Received: from armor.fastether (nas-cbv-11-62-147-116-81.dial.proxad.net [62.147.116.81]) by postfix4-2.free.fr (Postfix) with SMTP id 13F8FC0E0 for ; Thu, 23 Jan 2003 23:15:09 +0100 (CET) Received: (qmail 12355 invoked by uid 1001); 23 Jan 2003 22:29:23 -0000 Date: Thu, 23 Jan 2003 23:29:23 +0100 From: Nicolas Souchu To: Marcel Moolenaar Cc: arch@FreeBSD.ORG, Rodolphe Ortalo Subject: Re: the mythical syscons redesign document ( was Re: Porting wscons ) Message-ID: <20030123232923.E12164@armor.fastether> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030123071232.GA80532@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Wed, Jan 22, 2003 at 11:12:32PM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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