[lkml]   [2006]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: what's a platform device?
On Wed, Feb 22, 2006 at 03:47:40PM -0600, Kumar Gala wrote:
> Guys,
> I was hoping to get your opinion on a question I had. The question comes
> down to what we think a "platform device" is.
> The situation I have is an FPGA connected over PCI. The FPGA implements
> various device functionality (serial ports, I2C controller, IR, etc.) as a
> single PCI device/function. The FPGA breaks any notion of a true PCI
> device, it uses PCI as a device interconnect more than anything else.
> In talking to Greg about this, he suggested I just create a new bus_type
> for this similar to what is being done for usb-serial. As I started to
> think about what I wanted ended up being a platform_device plus a sysfs
> entry for the MMIO region.
> So, it seems that a "platform device" is a pretty generic concept now. Do
> you guys thing its acceptable to use a platform device for my needs or
> should I create some new bus_type? Do we have a better definition of what
> a platform device is or might be?

Well, your FPGA is a pci device, right? It's only the devices that hang
off of it that you are concerned about. I really think you should make
your own bus type, as it's not much work, and it would not disturb the
existing platform devices, which do not know about mmio regions like


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-02-23 05:44    [W:0.170 / U:1.796 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site