Re: [RFC] pcmcia: bus pcmcia_bus_type, driver_socket as interface

From: Christoph Hellwig (hch@infradead.org)
Date: Mon Feb 24 2003 - 12:43:12 EST


On Mon, Feb 24, 2003 at 05:22:59PM +0100, Dominik Brodowski wrote:
> Hi!
>
> Patch #1: pcmcia-2.5.62-bus_drivers-3
> These patches add a new bus_type pcmcia_bus_type, and registers all pcmcia
> drivers with this bus. This is still done using the "old" registration
> calls; but over the long term this will move -- so that the pcmcia core
> knows about module->owner, for example.
>
> Patch #2: pcmcia-2.5.62-ds-1
> This starts a change of "Driver Servies" to become a "interface" to
> pcmcia_socket-class devices. The interface_add_data call is commented out
> due to a driver model bug (deadlock) Patrick Mochel already knows about. Due
> to this, removing a driver services module or a socket won't currently work.

This looks really nice! Could you post an example driver converted to use
pcmcia_register_driver() and friends?

-
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 Feb 28 2003 - 22:00:20 EST