Re: generic platform device question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jun 17, 2006 at 10:03:48AM +0530, kaustav.majumdar@xxxxxxxxx wrote:
> > > If it is so, then I have a doubt regarding the sl811_cs.c
> > > There the platform_device structure is static global.
> > > After allocating the resources, we pass the resources to the
> sl811-hcd
> > > through this structure.
> > > As it is a global structure, then we can not create more than one
> > > instance of it. So what if we will have more than one sl811 device?
> As
> > > only one platform_device instance is possible, is it possible to
> have
> > > more than one sl811 device operating in one time?
> > 
> > Do you have hardware with more than one sl811 controller in it?  I
> think
> > that this driver just "knows" that this is not possible to do.
> > 
> I suppose sl811 is also supported as PC card (from the presence of
> sl811_cs). So if we will have two PC cards then the situation arises.

Possibly, but this still might work properly, have you tried it?

And any specific driver questions, like this one, should go to the
author of the driver.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux