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_eisa.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_eisa.c')
-rw-r--r-- | sys/dev/advansys/adv_eisa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/advansys/adv_eisa.c b/sys/dev/advansys/adv_eisa.c index 77b2a92..87ff8dd 100644 --- a/sys/dev/advansys/adv_eisa.c +++ b/sys/dev/advansys/adv_eisa.c @@ -32,7 +32,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: adv_eisa.c,v 1.1 1998/09/15 07:05:39 gibbs Exp $ */ #include "eisa.h" @@ -76,9 +76,9 @@ static int adveisaattach(struct eisa_device *e_dev); * The overrun buffer shared amongst all EISA 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 eisa_driver adv_eisa_driver = { |