Subject: Re: ThinkPad T61p
To: None <port-amd64@netbsd.org>
From: Arto Huusko <arto.huusko@pp2.inet.fi>
List: port-amd64
Date: 09/27/2007 12:46:41
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---2134806491-1353742246-1190886401=:17708
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Wed, 26 Sep 2007, Arto Huusko wrote:

> On jmcneill-pm branch agp attaches, but with these messages:
>
> agp0 at pchb0: can't find internal VGA device config space
> agp0: using generic power management

Okay, since I don't have an integrated Intel gfx, agp_i810 obviously
can't attach to it, and should use agp_intel instead (or?).
Attached diff (against jmcneill-pm) is required to agp_i810 to make
this happen.

But this does not make it go. The AGP bridge device is presumably this
device (if I understand the agp stuff correctly):

ppb0 at pci0 dev 1 function 0: Intel product 0x2a01 (rev. 0x0c)

And that is not supported by agp_intel.c. Without changes to agp_intel
I get this attach message:

agp0 at pchb0: using generic initialization for Intel AGP
agp0: can't map aperture


Assuming I looked at right places, I don't see any support for this in
FreeBSD. OpenBSD seems to have support (agp_intel.c 1.4, agp.c 1.6, and
other files maybe).

I'll try  to adapt it and see if it works (though agp_intel seems quite
different compared to NetBSD).
---2134806491-1353742246-1190886401=:17708
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=agp_i810.diff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.64.0709271246410.17708@maailma.local>
Content-Description: agp_i810
Content-Disposition: attachment; filename=agp_i810.diff

SW5kZXg6IGFncF9pODEwLmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJD
UyBmaWxlOiAvY3Zzcm9vdC9zcmMvc3lzL2Rldi9wY2kvYWdwX2k4MTAuYyx2
DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNDEuNi42DQpkaWZmIC1yMS40MS42
LjYgYWdwX2k4MTAuYw0KMjA2YTIwNw0KPiAJCWNhc2UgUENJX1BST0RVQ1Rf
SU5URUxfODI5NjVQTV9IQjoNCg==

---2134806491-1353742246-1190886401=:17708--