tech-kern archive

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

Re: specific platform check in driver match routine

On Mon, Jun 10, 2013 at 11:51:27AM +0200, Frank Kardel wrote:
> platform. E.g. isa bus based GPIO registers there are present on a 
> Soekris net6501 only.

Often in such cases the pci bridges have specific PCI IDs that can be used
to positively identify the system. You can use pci_find_device() then.

Another option (if you can identify the device by other means earlier)
is to create device-properties on the parent device and have the match
function check those.


Home | Main Index | Thread Index | Old Index