summaryrefslogtreecommitdiffstats
path: root/sys/alpha/pci
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1999-08-25 08:25:58 +0000
committerdfr <dfr@FreeBSD.org>1999-08-25 08:25:58 +0000
commitcb5fc2f6bee5da04ea95ae786b184ac7ab05dcc7 (patch)
tree3a60c1f0f92c83756ff74f1babcdbec548b04b75 /sys/alpha/pci
parent96da61e3835fd60f0f6971518b1afdf166967217 (diff)
downloadFreeBSD-src-cb5fc2f6bee5da04ea95ae786b184ac7ab05dcc7.zip
FreeBSD-src-cb5fc2f6bee5da04ea95ae786b184ac7ab05dcc7.tar.gz
Some very minor changes to the ISA dma code.
Diffstat (limited to 'sys/alpha/pci')
-rw-r--r--sys/alpha/pci/cia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/pci/cia.c b/sys/alpha/pci/cia.c
index c121804..43d6bc3 100644
--- a/sys/alpha/pci/cia.c
+++ b/sys/alpha/pci/cia.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cia.c,v 1.20 1999/07/01 20:25:39 peter Exp $
+ * $Id: cia.c,v 1.21 1999/07/29 16:44:22 gallatin Exp $
*/
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -784,7 +784,7 @@ cia_init_sgmap(void)
/*
* First setup Window 0 to map 8Mb to 16Mb with an
- * sgmap. Allocate the map aligned to a 32 boundary.
+ * sgmap. Allocate the map aligned to a 32k boundary.
*/
REGVAL(CIA_PCI_W0BASE) = (CIA_SGMAP_BASE
| CIA_PCI_WnBASE_SG_EN
@@ -803,7 +803,7 @@ cia_init_sgmap(void)
(pmap_kextract((vm_offset_t) sgtable) >> CIA_PCI_TnBASE_SHIFT);
chipset.sgmap = sgmap_map_create(CIA_SGMAP_BASE,
- CIA_SGMAP_BASE + CIA_SGMAP_SIZE,
+ CIA_SGMAP_BASE + CIA_SGMAP_SIZE - 1,
cia_sgmap_map, sgtable);
if (cia_ispyxis) {
OpenPOWER on IntegriCloud