moved declaration of nextdma_intr into correct header file.

This commit is contained in:
dbj 1999-03-04 14:18:25 +00:00
parent 0abd947255
commit bb8f1300ce
3 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_xevar.h,v 1.1.1.1 1998/06/09 07:53:05 dbj Exp $ */
/* $NetBSD: if_xevar.h,v 1.2 1999/03/04 14:18:25 dbj Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
* All rights reserved.
@ -34,6 +34,3 @@ struct xe_softc {
struct nextdma_config sc_rxdma;
struct nextdma_config sc_txdma;
};
void nextdma_init __P((struct nextdma_config *));
int nextdma_intr __P((struct nextdma_config *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: nextdma.c,v 1.13 1999/03/02 12:11:25 dbj Exp $ */
/* $NetBSD: nextdma.c,v 1.14 1999/03/04 14:18:26 dbj Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
* All rights reserved.
@ -68,7 +68,6 @@ int nextdma_debug = 0;
struct nextdma_config *debugernd;
struct nextdma_config *debugexnd;
int nextdma_intr __P((void *));
void next_dmamap_sync __P((bus_dma_tag_t, bus_dmamap_t, bus_addr_t,
bus_size_t, int));
int next_dma_continue __P((struct nextdma_config *));
@ -120,8 +119,8 @@ nextdma_config(nd)
nextdma_init(nd);
isrlink_autovec(nextdma_intr, nd, NEXT_I_IPL(nd->nd_intr), 10);
INTR_ENABLE(nd->nd_intr);
isrlink_autovec(nextdma_intr, nd, NEXT_I_IPL(nd->nd_intr), 10);
INTR_ENABLE(nd->nd_intr);
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: nextdmavar.h,v 1.4 1998/12/30 03:05:29 dbj Exp $ */
/* $NetBSD: nextdmavar.h,v 1.5 1999/03/04 14:18:26 dbj Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
* All rights reserved.
@ -65,3 +65,5 @@ void nextdma_start __P((struct nextdma_config *, u_long));
/* query to see if nextdma is finished */
int nextdma_finished __P(( struct nextdma_config *));
void nextdma_reset __P((struct nextdma_config *));
int nextdma_intr __P((void *));