Subject: Re: multi function PCI devices with shared registers
To: Roger Brooks <R.S.Brooks@liverpool.ac.uk>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-kern
Date: 03/03/1999 15:23:44
On Wed, Mar 03, 1999 at 02:18:42PM +0000, Roger Brooks wrote:
> On 3 Mar 1999, Johan Danielsson wrote:
>
> >cgd@netbsd.org (Chris G. Demetriou) writes:
> >
> >> In the short run, you're probably best going with some ad hoc gross
> >> hack.
>
> Could one deal with this by constructing a "bus" on the card? E.g.
>
> sillycard* at pci? dev ? function ?
> sillycardbus* at sillycard?
>
> device_a* at sillycardbus? <some config data probably required>
> device_b* at sillycardbus? <some config data probably required>
Well... normally you'd do:
sillycard* at pci? dev ? function ?
device_a* at sillycard? config foo
device_b* at sillycard? config bar
-is