Subject: Re: multi function PCI devices with shared registers
To: None <grefen@hprc.tandem.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 03/04/1999 10:54:45
On Thu, 04 Mar 1999 18:09:40 +0100 
 Stefan Grefen <grefen@hprc.tandem.com> wrote:

 > 		tpa[i].pa_tag[i] = pci_make_tag(pc,bus,dev,i);

Nope, pci_make_tag() is not an exported PCI function.  Drivers have
no business doing that.

There are other ways to do it, tho.  Search all of foodevs[] for devices
on your <bus/device> and, since it's a horrible hack, use members of its
softc as needed :-)

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>