diff options
author | imp <imp@FreeBSD.org> | 2009-02-08 08:13:36 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-02-08 08:13:36 +0000 |
commit | fd5959df47a24b0bbdb7ab8bf6dbf5bb3ae35309 (patch) | |
tree | 1876ea16f9ee29aa1bbdecad9e048ec0d5dc50c0 /sys/mips/mips/busdma_machdep.c | |
parent | de0440230a608745b647cff0dc9189aa3628ada1 (diff) | |
download | FreeBSD-src-fd5959df47a24b0bbdb7ab8bf6dbf5bb3ae35309.zip FreeBSD-src-fd5959df47a24b0bbdb7ab8bf6dbf5bb3ae35309.tar.gz |
Retire NO_DMA completely.
Diffstat (limited to 'sys/mips/mips/busdma_machdep.c')
-rw-r--r-- | sys/mips/mips/busdma_machdep.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/mips/mips/busdma_machdep.c b/sys/mips/mips/busdma_machdep.c index ee3e170..e62cadc 100644 --- a/sys/mips/mips/busdma_machdep.c +++ b/sys/mips/mips/busdma_machdep.c @@ -187,7 +187,6 @@ busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) * with the tag are meant to never be defered. * XXX Should have a way to identify which driver is responsible here. */ -#ifndef NO_DMA static void dflt_lock(void *arg, bus_dma_lock_op_t op) { @@ -197,7 +196,6 @@ dflt_lock(void *arg, bus_dma_lock_op_t op) printf("DRIVER_ERROR: busdma dflt_lock called\n"); #endif } -#endif static __inline bus_dmamap_t _busdma_alloc_dmamap(void) @@ -238,7 +236,6 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, bus_size_t maxsegsz, int flags, bus_dma_lock_t *lockfunc, void *lockfuncarg, bus_dma_tag_t *dmat) { -#ifndef NO_DMA bus_dma_tag_t newtag; int error = 0; @@ -313,10 +310,6 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, CTR4(KTR_BUSDMA, "%s returned tag %p tag flags 0x%x error %d", __func__, newtag, (newtag != NULL ? newtag->flags : 0), error); return (error); -#else - return ENOSYS; -#endif - } int |