On Fri, Mar 18, 2005 at 10:12:05AM +0100, Toralf Lund wrote:I'm not able to test that right now (not on the right system), but did you try the exact code I submitted? It would be *very* helpful if someone could verify that it leads to a crash, before I go any further.
Am I seeing an issue with the PCI functions here, or is it just that I fail to spot an obvious mistake in the module itself?
I think it's a problem in your code. I built and ran the following
example module just fine (based on your example, which wasn't the
smallest or cleanest...), with no oops. Does this code work for you?
Oh, and the pci_find* functions are depreciated, do not use them, theyI think pci_find* are used because the code is supposed to be compatible with Linux 2.4 as well. Or did pci_get* exist there, too?
are going away in the near future. Please use the pci_get* functions
instead.