• Dave Jones's avatar
    [AGPGART] Various Intel/EM64T AGP fixes. · 3bf263ee
    Dave Jones authored
    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)
    3bf263ee
intel-mch-agp.c 16 KB