On Thu, Jul 03, 2008 at 11:58:59PM +0200, Stefan Reinauer wrote:
Absolutely. The ultimate goal is to kill dev_find_pci_device completely.
This will not always be possible, because devices have interactions.
Example:
function setup_link_between_a_and_b:
- Set bit X in device A
- Set bit Y in device B
- Poll bit Z in device A until a link between A and B is valid
Now, you have to put that function either in device A or device B.
It probably goes outside both A and B. I think that's what you intend with the links.
//Peter