Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10961
b: refs/heads/master
c: 8c93650
h: refs/heads/master
i:
  10959: 1736b11
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent d4411b2 commit 1a603c6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b188ffe876382ecc009ceb4fe033fd6ec7ba4ede
refs/heads/master: 8c93650890a33318263880dec36603a6d5749b7e
28 changes: 28 additions & 0 deletions trunk/arch/mips/kernel/dma-no-isa.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2004 by Ralf Baechle
*
* Dummy ISA DMA functions for systems that don't have ISA but share drivers
* with ISA such as legacy free PCI.
*/
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/spinlock.h>

DEFINE_SPINLOCK(dma_spin_lock);

int request_dma(unsigned int dmanr, const char * device_id)
{
return -EINVAL;
}

void free_dma(unsigned int dmanr)
{
}

EXPORT_SYMBOL(dma_spin_lock);
EXPORT_SYMBOL(request_dma);
EXPORT_SYMBOL(free_dma);

0 comments on commit 1a603c6

Please sign in to comment.