Re: platform_device question

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

 



On Thu, Aug 10, 2006 at 01:18:38PM -0600, Jim Cromie wrote:
> Drasko Draskovic wrote:
> >Hi all.
> >Can somebody tell me what is exactly struct platform_device for. I 
> >have to write driver for some device that sits on AMBA bus, and I do 
> >not know if I should declare it a n amb_device or plaform_device.
> >
> ICBW, but its closest to a generic-bus, similar to pci, etc,
> but without support for the features those other busses support.
> 
> Its not a 'virtual-class', ie it is directly usable.
> 
> Theres also an isa_device patch, on LKML.

No, that's in the kernel tree now.

> Im not quite sure what it does better than platform_device,
> but I'd wager that the differences between them would highlight
> some reasons to use/not-use platform_device.

It handles isa devices :)

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