> agp_intel_probe() calls pci_find_capability(PCI_CAP_ID_AGP)> but doesn't check the return value (should be zero in this case) prior> to moving into the switch.> > > The patch below checks for a valid cap_ptr prior to printing the> message, now at KERN_WARNING level (it's not really an error, is it?)

The real problem is that agpgart doesn't properly fill in the pci_idtable but claims all devices and then does it's own probing internally.