From owner-freebsd-alpha@FreeBSD.ORG Mon Jan 5 18:43:25 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A340B16A4CE for ; Mon, 5 Jan 2004 18:43:25 -0800 (PST) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACBDF43D45 for ; Mon, 5 Jan 2004 18:43:23 -0800 (PST) (envelope-from phyx@freeshell.org) Received: from webmail.freeshell.org (IDENT:nobody@vinland.freeshell.org [192.94.73.6]) by sdf.lonestar.org (8.12.10/8.12.10) with SMTP id i062hK6u008429 for ; Tue, 6 Jan 2004 02:43:20 GMT Received: from 66.227.165.200 (SquirrelMail authenticated user phyx) by webmail.freeshell.org with HTTP; Mon, 5 Jan 2004 21:43:20 -0500 (EST) Message-ID: <49449.66.227.165.200.1073357000.squirrel@webmail.freeshell.org> In-Reply-To: <3FF95AE6.30103@mindspring.com> References: <3FF95AE6.30103@mindspring.com> Date: Mon, 5 Jan 2004 21:43:20 -0500 (EST) From: "S.C. Gehl" To: freebsd-alpha@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Re: xfree86supportforAS1200 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2004 02:43:25 -0000 Cheers... sorry for the excessive quote... it's a bitch to edit/format a ong letter in 'links' ...I can not find freebsdPci.c nor can I find Pci.h I have looked in both fbsd-current and xf-current. Have you made any head way on this? I have barely just begun to learn C, so this is a great way for me to jump in head first... but honestly I am not sure where to jump. The letter seems to say where, and it makes sense. I am glad that they are aware of the source of the problem.. but where are these files! -Sean. > Just wanted to get some comments or opinions on the AS1200 > suggestions received from the XFree86 mailing list as > quoted below. > > > > FBSD_AS1200 wrote (in a message from Saturday 3) > > Thank you for the reference. I have read the note but > still don't feel > > any closer to finding support for my system. The > Domain.note appears to > > be geared toward sun linux systems. While the note did > mention > > multi-domain alpha systems (I assume this is a ref to > multi pci-host > > bridges) I am still not clear on how I should implement > an XFree86 > > system on an AlphaServer 1200 under FreeBSD. I think I > MUST be missing a > > point or two... Would it be possible to find further > documentation on > > this issue so I can get up to speed on X development. > From the post I > > have been reading on XFree86 and FreeBSD mailing list > there are several > > people with multi-pci bus alpha systems that would like > to assist in > > getting XFree up and running under a BSD variant. Thank > you for your > > assistance! > > I'm sorry, I don't know any other written documentation > that could > help you. > What you need is to implement the xf86GetPciDomain(), > xf86MapDomainMemory(), > xf86MapDomainIO() and xf86ReadDomainMemory(). functions in > freebsdPci.c. Once you've done this, you can edit Pci.h > and remove > the INCLUDE_XF86_NO_DOMAIN for FreeBSD/alpha. Then the > XFree86 drivers > will be able to access the video card(s) independently of > the bus they > are attached to. > > There can be 2 approaches for that : > > - if the FreeBSD kernel already provides an API to > enumerate the PCI > host bridges and the configuration space and memory > mappings for > each host bridge, use that (this is what freebsdPci.c > currently does > for a single host bridge). > > - it there's no such interface available, then you need to > develop a > driver that will poke directly into the main chipset I/O > registers > to probe the various host bridges and handle their > memory mappings > from userland. This is for instance what sparcPci.c does > for SunOS. > > Don't hesitate to join the devel@xfree86 mailing list and > ask more > questions here if needed. This list is more appropriate > for > developpement related questions. > > Looking forward for your contributions. > > Matthieu > > > _______________________________________________ > freebsd-alpha@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-alpha > To unsubscribe, send any mail to > "freebsd-alpha-unsubscribe@freebsd.org" >