linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libata-sff: Fix documentation
@ 2007-09-20 14:03 Alan Cox
  2007-09-20 19:59 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2007-09-20 14:03 UTC (permalink / raw)
  To: akpm, linux-ide, jeff

Code moved to ioread/iowrite but the comment didn't
Also note a posting issue

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23rc6-mm1/drivers/ata/libata-sff.c linux-2.6.23rc6-mm1/drivers/ata/libata-sff.c
--- linux.vanilla-2.6.23rc6-mm1/drivers/ata/libata-sff.c	2007-09-18 15:32:51.000000000 +0100
+++ linux-2.6.23rc6-mm1/drivers/ata/libata-sff.c	2007-09-18 16:18:05.000000000 +0100
@@ -257,7 +261,7 @@
 	dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
 	iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
 
-	/* Strictly, one may wish to issue a readb() here, to
+	/* Strictly, one may wish to issue an ioread8() here, to
 	 * flush the mmio write.  However, control also passes
 	 * to the hardware at this point, and it will interrupt
 	 * us when we are to resume control.  So, in effect,
@@ -267,6 +271,9 @@
 	 * is expected, so I think it is best to not add a readb()
 	 * without first all the MMIO ATA cards/mobos.
 	 * Or maybe I'm just being paranoid.
+	 *
+	 * FIXME: The posting of this write means I/O starts are
+	 * unneccessarily delayed for MMIO
 	 */
 }
 

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

* Re: [PATCH] libata-sff: Fix documentation
  2007-09-20 14:03 [PATCH] libata-sff: Fix documentation Alan Cox
@ 2007-09-20 19:59 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-09-20 19:59 UTC (permalink / raw)
  To: Alan Cox; +Cc: akpm, linux-ide

Alan Cox wrote:
> Code moved to ioread/iowrite but the comment didn't
> Also note a posting issue
> 
> Signed-off-by: Alan Cox <alan@redhat.com>
> 
> diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23rc6-mm1/drivers/ata/libata-sff.c linux-2.6.23rc6-mm1/drivers/ata/libata-sff.c
> --- linux.vanilla-2.6.23rc6-mm1/drivers/ata/libata-sff.c	2007-09-18 15:32:51.000000000 +0100
> +++ linux-2.6.23rc6-mm1/drivers/ata/libata-sff.c	2007-09-18 16:18:05.000000000 +0100
> @@ -257,7 +261,7 @@
>  	dmactl = ioread8(ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
>  	iowrite8(dmactl | ATA_DMA_START, ap->ioaddr.bmdma_addr + ATA_DMA_CMD);
>  
> -	/* Strictly, one may wish to issue a readb() here, to
> +	/* Strictly, one may wish to issue an ioread8() here, to
>  	 * flush the mmio write.  However, control also passes
>  	 * to the hardware at this point, and it will interrupt
>  	 * us when we are to resume control.  So, in effect,
> @@ -267,6 +271,9 @@
>  	 * is expected, so I think it is best to not add a readb()
>  	 * without first all the MMIO ATA cards/mobos.
>  	 * Or maybe I'm just being paranoid.
> +	 *
> +	 * FIXME: The posting of this write means I/O starts are
> +	 * unneccessarily delayed for MMIO

applied



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

end of thread, other threads:[~2007-09-20 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20 14:03 [PATCH] libata-sff: Fix documentation Alan Cox
2007-09-20 19:59 ` Jeff Garzik

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).