lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 1 Feb 2006 10:03:24 +0100
FromHarald Welte <>
SubjectRe: [PATCH] [CM4000,CM4040] Add device class bits to enable udev device creation
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@gnumonks.org>          	        http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-02-01 09:21    [from the cache]
©2003-2008