]> git.hungrycats.org Git - linux/commit
[AGPGART] Various Intel/EM64T AGP fixes.
authorDave Jones <davej@redhat.com>
Wed, 12 May 2004 12:50:18 +0000 (13:50 +0100)
committerDave Jones <davej@delerium.codemonkey.org.uk>
Wed, 12 May 2004 12:50:18 +0000 (13:50 +0100)
commit3bf263ee92eb1b5eaf138f92ee4631c6a47fd8a1
tree5c9bd102d3d7025cd4bf40b00b18bd9f65acaea4
parent9e3a7662863604ffd295c00cd547796c7ef25c4d
[AGPGART] Various Intel/EM64T AGP fixes.

From Andi Kleen.

- Add full PCI IDs to the module table for intel-agp and intel-mch-agp.
Don't use PCI_ANY_ID for device, since the drivers cannot handle unknown
devices anyways.
This fixes the problems with them loading both when compiled in and
also helps external tools that use the module PCI table to find the
correct driver.
- Remove wrong hack in intel-mch-agp that checked for long mode.
EM64T capability has nothing to do with the MCH version.
To avoid double probing the fix above is better.
- Handle the case of no AGP capability (unlikely, but better to handle it)
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-mch-agp.c