Subject: multi function PCI devices with shared registers
To: None <>
From: Johan Danielsson <>
List: tech-kern
Date: 03/03/1999 00:05:09
Let's say I have a PCI device with more than one function, and the
device has some I/O map register that is shared between the two
functions (that is the register points to the same io address).

How can this be handled when attaching the device? I would like to get
a pointer (or something) to the first function when attaching the

The same problem arises with registers that `should be written only
through function 0'.

Is there some code that does something like this in the tree?