Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/acorn32/podulebus Add prototypes for function point...



details:   https://anonhg.NetBSD.org/src/rev/5de38104e9db
branches:  trunk
changeset: 522428:5de38104e9db
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Feb 18 19:55:01 2002 +0000

description:
Add prototypes for function pointers in struct esc_softc.

diffstat:

 sys/arch/acorn32/podulebus/escvar.h |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r c18d61e99335 -r 5de38104e9db sys/arch/acorn32/podulebus/escvar.h
--- a/sys/arch/acorn32/podulebus/escvar.h       Mon Feb 18 19:50:03 2002 +0000
+++ b/sys/arch/acorn32/podulebus/escvar.h       Mon Feb 18 19:55:01 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: escvar.h,v 1.1 2001/10/05 22:27:55 reinoud Exp $ */
+/* $NetBSD: escvar.h,v 1.2 2002/02/18 19:55:01 bjh21 Exp $ */
 
 /*
  * Copyright (c) 1995 Daniel Widenfalk
@@ -174,13 +174,16 @@
        u_char                   sc_config_flags;
 
 /* Generic DMA functions */
-       int                    (*sc_setup_dma)();
-       int                    (*sc_build_dma_chain)();
-       int                    (*sc_need_bump)();
+       int                    (*sc_setup_dma)(struct esc_softc *, void *,
+                                   int, int);
+       int                    (*sc_build_dma_chain)(struct esc_softc *,
+                                   struct esc_dma_chain *, void *, int);
+       int                    (*sc_need_bump)(struct esc_softc *, void *,
+                                   int);
 
 /* Generic Led data */
        int                      sc_led_status;
-       void                   (*sc_led)();
+       void                   (*sc_led)(struct esc_softc *, int);
 
 /* Nexus list */
        struct nexus             sc_nexus[8];



Home | Main Index | Thread Index | Old Index