Subject: Re: multi function PCI devices with shared registers
To: None <>
From: Jason Thorpe <>
List: tech-kern
Date: 03/04/1999 10:54:45
On Thu, 04 Mar 1999 18:09:40 +0100 
 Stefan Grefen <> 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 <>