Re: generic platform device question

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

 



A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

A: No.
Q: Should I include quotations after my reply?

On Wed, Jun 14, 2006 at 10:03:38AM +0530, kaustav.majumdar@xxxxxxxxx wrote:
> Hi Greg,
> Thanks for the reply.
> So as we will only have multiple instances of device specific structure
> so the global static variables declared in the driver module will also
> have a single instance.
> 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.

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