Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/sparc Minor comment update; remove unused code.



details:   https://anonhg.NetBSD.org/src/rev/9517923c6e0e
branches:  trunk
changeset: 495136:9517923c6e0e
user:      pk <pk%NetBSD.org@localhost>
date:      Sat Jul 22 21:23:05 2000 +0000

description:
Minor comment update; remove unused code.

diffstat:

 sys/arch/sparc/sparc/iommu.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r b80e85bac8b1 -r 9517923c6e0e sys/arch/sparc/sparc/iommu.c
--- a/sys/arch/sparc/sparc/iommu.c      Sat Jul 22 20:54:56 2000 +0000
+++ b/sys/arch/sparc/sparc/iommu.c      Sat Jul 22 21:23:05 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iommu.c,v 1.49 2000/07/04 14:05:34 pk Exp $ */
+/*     $NetBSD: iommu.c,v 1.50 2000/07/22 21:23:05 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -475,7 +475,7 @@
 
 
 /*
- * IOMMU DMA map functions
+ * IOMMU DMA map functions.
  */
 int
 iommu_dmamap_create(t, size, nsegments, maxsegsz, boundary, flags, dmamp)
@@ -522,9 +522,6 @@
 {
        bus_size_t sgsize;
        u_long align, voff;
-#if 0
-       u_long ex_start, ex_end;
-#endif
        int s, error;
        int pagesz = PAGE_SIZE;
 
@@ -556,7 +553,7 @@
 }
 
 /*
- * IOMMU DMA map functions.
+ * Prepare buffer for DMA transfer.
  */
 int
 iommu_dmamap_load(t, map, buf, buflen, p, flags)



Home | Main Index | Thread Index | Old Index