Re: [PATCH] [CM4000,CM4040] Add device class bits to enable udev device creation
From: Harald Welte
Date: Wed Feb 01 2006 - 04:16:35 EST
On Tue, Jan 31, 2006 at 10:59:32PM -0500, Dmitry Torokhov wrote:
> On Tuesday 31 January 2006 05:10, Harald Welte wrote:
> > @@ -756,6 +762,10 @@ static struct pcmcia_driver reader_drive
> > static int __init cm4040_init(void)
> > {
> > printk(KERN_INFO "%s\n", version);
> > + cmx_class = class_create(THIS_MODULE, "cmx");
> > + if (!cmx_class)
> > + return -1;
> > +
> >
>
>
> Hi,
>
> What is "cmx" exactly? Can we have more descriptive name for a class,
> please?
'cmx' is the prefix of the device names, how the original vendor drivers
named their devices. 'cmm' in the cm4000 case is 'card man mobile'.
'cmx' is its successor, cm4040.
I'll rename the classes, thanks for your suggestion.
--
- Harald Welte <laforge@xxxxxxxxxxxx> http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Attachment:
pgp00000.pgp
Description: PGP signature