From 69f54f0fd9db8edb8f7a82ee6f5515ad0529055d Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 20 Feb 2003 20:47:31 +1100 Subject: [PATCH] PPC32: provide __ide_mm_insw etc. --- arch/ppc/kernel/misc.S | 6 ++++-- include/asm-ppc/ide.h | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S index d0d023847313f..7d8e99cb83c21 100644 --- a/arch/ppc/kernel/misc.S +++ b/arch/ppc/kernel/misc.S @@ -837,7 +837,7 @@ _GLOBAL(_outsl) bdnz 00b blr -_GLOBAL(ide_insw) +_GLOBAL(__ide_mm_insw) _GLOBAL(_insw_ns) cmpwi 0,r5,0 mtctr r5 @@ -849,7 +849,7 @@ _GLOBAL(_insw_ns) bdnz 00b blr -_GLOBAL(ide_outsw) +_GLOBAL(__ide_mm_outsw) _GLOBAL(_outsw_ns) cmpwi 0,r5,0 mtctr r5 @@ -861,6 +861,7 @@ _GLOBAL(_outsw_ns) bdnz 00b blr +_GLOBAL(__ide_mm_insl) _GLOBAL(_insl_ns) cmpwi 0,r5,0 mtctr r5 @@ -872,6 +873,7 @@ _GLOBAL(_insl_ns) bdnz 00b blr +_GLOBAL(__ide_mm_outsl) _GLOBAL(_outsl_ns) cmpwi 0,r5,0 mtctr r5 diff --git a/include/asm-ppc/ide.h b/include/asm-ppc/ide.h index 64078d3d1bb8f..fff6a4fc711a1 100644 --- a/include/asm-ppc/ide.h +++ b/include/asm-ppc/ide.h @@ -27,6 +27,11 @@ #include #include +extern void __ide_mm_insw(unsigned long port, void *addr, u32 count); +extern void __ide_mm_outsw(unsigned long port, void *addr, u32 count); +extern void __ide_mm_insl(unsigned long port, void *addr, u32 count); +extern void __ide_mm_outsl(unsigned long port, void *addr, u32 count); + struct ide_machdep_calls { int (*default_irq)(ide_ioreg_t base); ide_ioreg_t (*default_io_base)(int index); -- 2.53.0