First page Back Continue Last page Overview Graphics
The resource mechanism
Each device managed by a particular driver typically uses different hardware resources: addresses for the I/O registers, DMA channels, IRQ lines, etc.
These informations can be represented using the struct resource, and an array of struct resource is associated to a platform_device
Allows a driver to be instantiated for multiple devices functioning similarly, but with different addresses, IRQs, etc.