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

Re: passing device parameters to driver



On Fri, 31 Mar 2006, Bahadir Balban wrote:

On 3/31/06, Bahadir Balban <bilgehan.balban@xxxxxxxxx> wrote:
during driver/device matching. The irq number is an example. The
rationale is that it's defined on the device's side,

Also forgot to say, all this applies for a struct platform_device, since it is declared at compile time rather than probed by a bus and get filled at run-time.

My understanding of the platform_device API is, that it is used for devices, not residing on a "real" bus (like PCI, ISA with PNP, I2C, SCSI, USB,...) and which thus cannot be really detected. Examples of such devices, I think, are legacy ISA UARTs, could be PS/2 ports. Apart from that platform_devices are used on various platforms where devices are connected directly to the CPU's local bus, e.g., on many embedded architectures.


HTH
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany

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