diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-09-15 04:03:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:20 -0400 |
commit | 26a940e21752e0de8f068f77dad606a7d1986937 (patch) | |
tree | 88e46225e19c4c72fa6914a21afb28c6ea52bfc6 /arch/mips/au1000/common/dbdma.c | |
parent | 64abf64d10b3a547becefeb26394dfbefac273fb (diff) |
Cleaned up AMD Au1200 IDE driver:
- converted to platform bus
- removed pci dependencies
- removed virt_to_phys/phys_to_virt calls
System now can root off of a disk.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README
new file mode 100644
Diffstat (limited to 'arch/mips/au1000/common/dbdma.c')
-rw-r--r-- | arch/mips/au1000/common/dbdma.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c index 8f78c2fe7cf5..eb5803aed91b 100644 --- a/arch/mips/au1000/common/dbdma.c +++ b/arch/mips/au1000/common/dbdma.c | |||
@@ -197,6 +197,12 @@ find_dbdev_id (u32 id) | |||
197 | return NULL; | 197 | return NULL; |
198 | } | 198 | } |
199 | 199 | ||
200 | void * au1xxx_ddma_get_nextptr_virt(au1x_ddma_desc_t *dp) | ||
201 | { | ||
202 | return phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); | ||
203 | } | ||
204 | EXPORT_SYMBOL(au1xxx_ddma_get_nextptr_virt); | ||
205 | |||
200 | u32 | 206 | u32 |
201 | au1xxx_ddma_add_device(dbdev_tab_t *dev) | 207 | au1xxx_ddma_add_device(dbdev_tab_t *dev) |
202 | { | 208 | { |