diff options
author | gibbs <gibbs@FreeBSD.org> | 1998-12-22 18:14:15 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1998-12-22 18:14:15 +0000 |
commit | b6ee7c1b3f3185be3c4e0f5feb5ae993c070d9c8 (patch) | |
tree | 84253503ac2f2bb4838ca5f991728944ab3f0ad6 /sys/dev/advansys/adv_pci.c | |
parent | b4aed04769ad4f1b1f8b3f272920da8c55b2ee0d (diff) | |
download | FreeBSD-src-b6ee7c1b3f3185be3c4e0f5feb5ae993c070d9c8.zip FreeBSD-src-b6ee7c1b3f3185be3c4e0f5feb5ae993c070d9c8.tar.gz |
Staticize the overrun buffer so that they are not shared between
cards of different bus types as each bus type may have a different
bus mapping.
Submitted by: Eivind Eklund <eivind@yes.no>
Diffstat (limited to 'sys/dev/advansys/adv_pci.c')
-rw-r--r-- | sys/dev/advansys/adv_pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c index f05c164..dd81e88 100644 --- a/sys/dev/advansys/adv_pci.c +++ b/sys/dev/advansys/adv_pci.c @@ -47,7 +47,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_pci.c,v 1.2 1998/12/07 21:58:45 archie Exp $ + * $Id: adv_pci.c,v 1.3 1998/12/14 06:32:54 dillon Exp $ */ #include <pci.h> @@ -83,9 +83,9 @@ static void advpciattach(pcici_t config_id, int unit); * The overrun buffer shared amongst all PCI adapters. */ static u_int8_t* overrun_buf; -bus_dma_tag_t overrun_dmat; -bus_dmamap_t overrun_dmamap; -bus_addr_t overrun_physbase; +static bus_dma_tag_t overrun_dmat; +static bus_dmamap_t overrun_dmamap; +static bus_addr_t overrun_physbase; static struct pci_device adv_pci_driver = { "adv", |