* [PATCH] ide-h8300: remove mm_{inw|outw}()
@ 2009-04-01 17:34 Sergei Shtylyov
2009-04-02 19:19 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 2+ messages in thread
From: Sergei Shtylyov @ 2009-04-01 17:34 UTC (permalink / raw)
To: bzolnier; +Cc: linux-ide
Remove two no longer used functions that I've overlooked...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
---
The patch is atop of the pata-2.6 series...
drivers/ide/ide-h8300.c | 22 ----------------------
1 files changed, 22 deletions(-)
Index: linux-2.6/drivers/ide/ide-h8300.c
===================================================================
--- linux-2.6.orig/drivers/ide/ide-h8300.c
+++ linux-2.6/drivers/ide/ide-h8300.c
@@ -22,28 +22,6 @@
(r); \
})
-static void mm_outw(u16 d, unsigned long a)
-{
- __asm__("mov.b %w0,r2h\n\t"
- "mov.b %x0,r2l\n\t"
- "mov.w r2,@%1"
- :
- :"r"(d),"r"(a)
- :"er2");
-}
-
-static u16 mm_inw(unsigned long a)
-{
- register u16 r __asm__("er0");
- __asm__("mov.w @%1,r2\n\t"
- "mov.b r2l,%x0\n\t"
- "mov.b r2h,%w0"
- :"=r"(r)
- :"r"(a)
- :"er2");
- return r;
-}
-
static void h8300_tf_load(ide_drive_t *drive, struct ide_cmd *cmd)
{
ide_hwif_t *hwif = drive->hwif;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ide-h8300: remove mm_{inw|outw}()
2009-04-01 17:34 [PATCH] ide-h8300: remove mm_{inw|outw}() Sergei Shtylyov
@ 2009-04-02 19:19 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2009-04-02 19:19 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: linux-ide
On Wednesday 01 April 2009, Sergei Shtylyov wrote:
> Remove two no longer used functions that I've overlooked...
>
> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-02 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 17:34 [PATCH] ide-h8300: remove mm_{inw|outw}() Sergei Shtylyov
2009-04-02 19:19 ` Bartlomiej Zolnierkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).