On Fri, Apr 20, 2007 at 12:53:31PM -0400, Preston A. Elder wrote: > Linux agpgart interface v0.101 (c) Dave Jones > agpgart: DEBUG 0 > agpgart: DEBUG 1 > __pci_register_driver: In function > __pci_register_driver: driver = agpgart-amdk7, multithread = 0 > __pci_register_driver: Before Spinlock > __pci_register_driver: Before List Init > __pci_register_driver: Before Driver Register > __pci_register_driver: Error = 0 > __pci_register_driver: Returning 0 > > The DEBUG 0 and 1 are coming from agp_amdk7_init() > There is a DEBUG 2 at the top of agp_amdk7_probe(), even before > pci_find_capability, but the function never gets called.
bus_add_driver() returns 0 on error, but there's a few different cases it can fail, which isn't helpful. Add some printk's to the error cases there, and see if that gives any more clues. Dave -- http://www.codemonkey.org.uk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/