summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1996-12-27 13:06:31 +0000
committerkato <kato@FreeBSD.org>1996-12-27 13:06:31 +0000
commit67dfb2c29f3d6f5913bb1ad6a592412807496ef9 (patch)
tree54d8d44226e21d55b608d7340d2025143970948f
parent2443b8802d024df524e814ecad123b03825bab84 (diff)
downloadFreeBSD-src-67dfb2c29f3d6f5913bb1ad6a592412807496ef9.zip
FreeBSD-src-67dfb2c29f3d6f5913bb1ad6a592412807496ef9.tar.gz
Staticize dmapageport and isa_dmarangecheck.
-rw-r--r--sys/pc98/pc98/pc98.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/pc98/pc98/pc98.c b/sys/pc98/pc98/pc98.c
index 0b0f59b..e25d54e 100644
--- a/sys/pc98/pc98/pc98.c
+++ b/sys/pc98/pc98/pc98.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
- * $Id: pc98.c,v 1.10 1996/10/29 08:36:23 asami Exp $
+ * $Id: pc98.c,v 1.11 1996/11/14 08:46:16 asami Exp $
*/
/*
@@ -573,8 +573,7 @@ static u_int8_t dma_inuse = 0; /* User for acquire/release */
/* high byte of address is stored in this port for i-th dma channel */
#ifdef PC98
-/* SCSI driver use the variable */
-int dmapageport[4] = { 0x27, 0x21, 0x23, 0x25 };
+static int dmapageport[4] = { 0x27, 0x21, 0x23, 0x25 };
#else /* IBM-PC */
static int dmapageport[8] = { 0x87, 0x83, 0x81, 0x82, 0x8f, 0x8b, 0x89, 0x8a };
#endif
@@ -856,7 +855,7 @@ void isa_dmadone(int flags, caddr_t addr, int nbytes, int chan)
* Return true if special handling needed.
*/
-int
+static int
isa_dmarangecheck(caddr_t va, u_int length, int chan) {
vm_offset_t phys, priorpage = 0, endva;
u_int dma_pgmsk = (chan & 4) ? ~(128*1024-1) : ~(64*1024-1);
OpenPOWER on IntegriCloud