linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] at91_ide: remove unused ide_mm_{outb,inb}
@ 2009-04-07  3:41 Stanislaw Gruszka
  2009-04-07  9:06 ` Sergei Shtylyov
  2009-04-07 18:30 ` Bartlomiej Zolnierkiewicz
  0 siblings, 2 replies; 3+ messages in thread
From: Stanislaw Gruszka @ 2009-04-07  3:41 UTC (permalink / raw)
  To: linux-ide

Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
---
Patch is against pata-2.6 .
 
 drivers/ide/at91_ide.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/drivers/ide/at91_ide.c b/drivers/ide/at91_ide.c
index 4f3725d..c48dc61 100644
--- a/drivers/ide/at91_ide.c
+++ b/drivers/ide/at91_ide.c
@@ -174,16 +174,6 @@ static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd,
 	leave_16bit(chipselect, mode);
 }
 
-static u8 ide_mm_inb(unsigned long port)
-{
-	return readb((void __iomem *) port);
-}
-
-static void ide_mm_outb(u8 value, unsigned long port)
-{
-	writeb(value, (void __iomem *) port);
-}
-
 static void at91_ide_set_pio_mode(ide_drive_t *drive, const u8 pio)
 {
 	struct ide_timing *timing;
-- 
1.4.4.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] at91_ide: remove unused ide_mm_{outb,inb}
  2009-04-07  3:41 [PATCH 1/2] at91_ide: remove unused ide_mm_{outb,inb} Stanislaw Gruszka
@ 2009-04-07  9:06 ` Sergei Shtylyov
  2009-04-07 18:30 ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2009-04-07  9:06 UTC (permalink / raw)
  To: Stanislaw Gruszka; +Cc: linux-ide

Hello.

Stanislaw Gruszka wrote:
> Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
>   
[...]
> diff --git a/drivers/ide/at91_ide.c b/drivers/ide/at91_ide.c
> index 4f3725d..c48dc61 100644
> --- a/drivers/ide/at91_ide.c
> +++ b/drivers/ide/at91_ide.c
> @@ -174,16 +174,6 @@ static void at91_ide_output_data(ide_drive_t *drive, struct ide_cmd *cmd,
>  	leave_16bit(chipselect, mode);
>  }
>  
> -static u8 ide_mm_inb(unsigned long port)
> -{
> -	return readb((void __iomem *) port);
> -}
> -
> -static void ide_mm_outb(u8 value, unsigned long port)
> -{
> -	writeb(value, (void __iomem *) port);
> -}
> -
>  static void at91_ide_set_pio_mode(ide_drive_t *drive, const u8 pio)
>  {
>  	struct ide_timing *timing;
>   

   Oops, that should have been a part of my patch removing 
at91_ide_tf_{load|read}(). I'll recast...

MBR, Sergei



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] at91_ide: remove unused ide_mm_{outb,inb}
  2009-04-07  3:41 [PATCH 1/2] at91_ide: remove unused ide_mm_{outb,inb} Stanislaw Gruszka
  2009-04-07  9:06 ` Sergei Shtylyov
@ 2009-04-07 18:30 ` Bartlomiej Zolnierkiewicz
  1 sibling, 0 replies; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2009-04-07 18:30 UTC (permalink / raw)
  To: Stanislaw Gruszka; +Cc: linux-ide, Sergei Shtylyov

On Tuesday 07 April 2009 05:41:59 Stanislaw Gruszka wrote:
> Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>

applied

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-07 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  3:41 [PATCH 1/2] at91_ide: remove unused ide_mm_{outb,inb} Stanislaw Gruszka
2009-04-07  9:06 ` Sergei Shtylyov
2009-04-07 18:30 ` 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).