From b6ee7c1b3f3185be3c4e0f5feb5ae993c070d9c8 Mon Sep 17 00:00:00 2001 From: gibbs Date: Tue, 22 Dec 1998 18:14:15 +0000 Subject: 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 --- sys/i386/isa/adv_isa.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/i386/isa/adv_isa.c') diff --git a/sys/i386/isa/adv_isa.c b/sys/i386/isa/adv_isa.c index d0c2d4a..7e9b84d 100644 --- a/sys/i386/isa/adv_isa.c +++ b/sys/i386/isa/adv_isa.c @@ -44,7 +44,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_isa.c,v 1.6 1998/10/12 18:53:33 imp Exp $ + * $Id: adv_isa.c,v 1.7 1998/11/10 06:44:54 gibbs Exp $ */ #include @@ -71,9 +71,9 @@ * The overrun buffer shared amongst all ISA/VL 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; /* Possible port addresses an ISA or VL adapter can live at */ u_int16_t adv_isa_ioports[] = -- cgit v1.1