Re: [UPDATED PATCH] pcmcia: add bus_type pcmcia_bus_type, struct

John Weber (weber@sixbit.org)
Sun, 02 Mar 2003 14:37:26 -0500


Dominik Brodowski wrote:
> This patch adds a new bus_type pcmcia_bus_type, and registers all pcmcia
> drivers with this bus within the old register_pccard_driver()
> function.
>
> Alternatively, a new registration function "pcmcia_register_driver()"
> (and its counterpart, "pcmcia_unregister_driver()") can be used --
> the pcnet_cs.c driver is converted as an example.
>
> This updated version fixes the compilation breakage seen with gcc-2.95.3
> because of incompatible C99 initializers (sorry, Russell).

I've applied this patch, and have run the kernel for a few days without
problems.

Do you have an example driver ported to this new api? I can help
convert drivers.

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