Re: [RFC] embedded struct device Re: [patch] IDE driver model update

Alan Cox (alan@lxorguk.ukuu.org.uk)
08 Oct 2002 23:51:35 +0100


> > That's because normally pci_unregister_driver() or whatever is called in
> > cleanup_module(), but obviously to be able to call it the refcount has to
> > be zero already...
>
> That's true for drivers, but not for devices. Nonetheless, it's a big
> problem that I've hoped would magically go away. Of course it won't, but I
> don't have a solution for it off hand...

Is it actually cleanly solvable without sticking the refcounts in the
layer they belong not in driverfs ?

-
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/