Re: need help with pci_module_init

Kai Germaschewski (kai-germaschewski@uiowa.edu)
Fri, 16 Aug 2002 22:24:32 -0500 (CDT)


On Fri, 16 Aug 2002 harish.vasudeva@amd.com wrote:

> pci_module_init() works fine only the first time i load my driver.
> subsequent loads will fail with this call returning -19!! any clues?

-19 is -ENODEV, i.e. pci_module_init() doesn't find any devices that match
your driver. That's most likely since they're still considered owned by
the previously loaded driver (your module as well), which forgot to
pci_unregister_driver() at unload time.

--Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/