Hello. Jiri Slaby wrote:
Switch to using pci_get_slot() to get to the function 1 of HPT36x/374 chips -- there's no need for the driver itself to walk the list of the PCI devices, and it also forgets to check the bus number of the device found.
It's better, but you missed to call pci_dev_put() in some __exit function.
If you knew the PCI IDE drivers better, you'd know there's simply no __exit functions in them. ;-)
WBR, Sergei - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html