Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/iomd Change signature of dma_intr() to match ot...



details:   https://anonhg.NetBSD.org/src/rev/b500a5d9dac9
branches:  trunk
changeset: 522393:b500a5d9dac9
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Feb 18 11:40:42 2002 +0000

description:
Change signature of dma_intr() to match other interrupt handlers.

diffstat:

 sys/arch/arm/iomd/iomd_dma.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 68a7622dfcf7 -r b500a5d9dac9 sys/arch/arm/iomd/iomd_dma.c
--- a/sys/arch/arm/iomd/iomd_dma.c      Mon Feb 18 09:45:11 2002 +0000
+++ b/sys/arch/arm/iomd/iomd_dma.c      Mon Feb 18 11:40:42 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iomd_dma.c,v 1.3 2002/01/25 19:19:26 thorpej Exp $     */
+/*     $NetBSD: iomd_dma.c,v 1.4 2002/02/18 11:40:42 bjh21 Exp $       */
 
 /*
  * Copyright (c) 1995 Scott Stevens
@@ -139,9 +139,10 @@
 }
 
 int
-dma_intr(dp)
-       struct dma_ctrl *dp;
+dma_intr(cookie)
+       void *cookie;
 {
+       struct dma_ctrl *dp = cookie;
        u_char status = (*dp->dc_st) & DMA_ST_MASK;
        vm_offset_t cur;
        int len;



Home | Main Index | Thread Index | Old Index