summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/adv_isa.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1998-12-22 18:14:15 +0000
committergibbs <gibbs@FreeBSD.org>1998-12-22 18:14:15 +0000
commitb6ee7c1b3f3185be3c4e0f5feb5ae993c070d9c8 (patch)
tree84253503ac2f2bb4838ca5f991728944ab3f0ad6 /sys/i386/isa/adv_isa.c
parentb4aed04769ad4f1b1f8b3f272920da8c55b2ee0d (diff)
downloadFreeBSD-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/i386/isa/adv_isa.c')
-rw-r--r--sys/i386/isa/adv_isa.c8
1 files changed, 4 insertions, 4 deletions
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 <sys/param.h>
@@ -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[] =
OpenPOWER on IntegriCloud