diff options
author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1998-12-22 18:14:15 +0000 |
---|---|---|
committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1998-12-22 18:14:15 +0000 |
commit | b2608b2c738b759e57a007fdc921f47d3ff54cf8 (patch) | |
tree | baf07a929a8731004e651253590c19fbe7151b66 /sys/pci/adv_pci.c | |
parent | a4660251792b92c08b8969a227d0e689bed364d4 (diff) | |
download | src-b2608b2c738b759e57a007fdc921f47d3ff54cf8.tar.gz src-b2608b2c738b759e57a007fdc921f47d3ff54cf8.zip |
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>
Notes
Notes:
svn path=/head/; revision=42012
Diffstat (limited to 'sys/pci/adv_pci.c')
-rw-r--r-- | sys/pci/adv_pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/adv_pci.c b/sys/pci/adv_pci.c index f05c164ff455..dd81e881d686 100644 --- a/sys/pci/adv_pci.c +++ b/sys/pci/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", |