diff options
author | anholt <anholt@FreeBSD.org> | 2006-09-27 06:38:54 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2006-09-27 06:38:54 +0000 |
commit | 687e0af10da081a8c014f45a29c0d22a6faafca3 (patch) | |
tree | fb6732f7fe9042f2707a20c286029fb51f568408 /share/examples/mdoc/example.9 | |
parent | 931f6e6735b06305e2514efc4e7bc5b726cdc05a (diff) | |
download | FreeBSD-src-687e0af10da081a8c014f45a29c0d22a6faafca3.zip FreeBSD-src-687e0af10da081a8c014f45a29c0d22a6faafca3.tar.gz |
Add support for 945G/GM AGP chipsets.
The key problem was that the aperture size detection using the MSAC bit
doesn't work -- the bit appears to be set even when it shouldn't be. Linux
takes a different approach, testing for a bit of the GMADR (PCIR_BAR(2)) being
set. However, as I don't think that's a safe way to test aperture size, we
just allocate the resource and check its size. This also pointed out that
agp_generic_attach hadn't been allocating our aperture resource, which may
have caused problems in some cases.
Also corrected is a minor copy-and-pasteo in an error case.
PR: kern/103079
Submitted by: mnag
Tested on: i945GM, i915GM
MFC after: 2 weeks
Diffstat (limited to 'share/examples/mdoc/example.9')
0 files changed, 0 insertions, 0 deletions