pci_unregister_driver() problem?

From: OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Date: Tue Nov 12 2002 - 17:38:43 EST


Hi,

I'm playing the pcmcia of 2.5.47 on my new machine. And, I got the
Oops after yenta_socket.o was unloaded. It seems pci_unregister_driver()
doesn't call pci_driver->remove(). So, pcmcia driver couldn't release
the resouce.

This reproduce it,

    # modprobe yenta_socket
    # modprobe -r yenta_socket
    ... happen the interrupt, because it was shared irq
    Oops

I think driver-model(?) expects using dev->release(), in this
case. Corrent? And, How should it fix?

Regards

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-
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/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:27 EST