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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Oct 08 2002 - 17:51:35 EST


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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:28 EST