Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-09 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Friday, July 09, 2010 6:31 PM > To: Prafulla Wadaskar; u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA > issue fixed using volatile > > Le

Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-09 Thread Albert ARIBAUD
Le 09/07/2010 13:53, Albert ARIBAUD a écrit : > Le 09/07/2010 13:11, Prafulla Wadaskar a écrit : > >> You can use volatile qualifier for the variables in DMA specific code >> instead of modifying structures, >> Try to use memory barrier or something like that- >> Some ref : http://gcc.gnu.org/ml/g

Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-09 Thread Albert ARIBAUD
Le 09/07/2010 13:11, Prafulla Wadaskar a écrit : > You can use volatile qualifier for the variables in DMA specific code instead > of modifying structures, > Try to use memory barrier or something like that- > Some ref : http://gcc.gnu.org/ml/gcc/2003-04/msg01180.html > may be someone c-expert on

Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-09 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.arib...@free.fr] > Sent: Friday, July 09, 2010 3:24 PM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de > Subject: Re: [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed > using volatile > Snip.. > >> diff --git a/drivers/net/

Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-09 Thread Albert ARIBAUD
e >> Subject: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue >> fixed using volatile > > For each patch post, there must be some informative explanation about a patch > that helps everybody to understand the objective of the patch, this is mostly > applicable for all you

Re: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-09 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Albert Aribaud > Sent: Friday, July 09, 2010 12:04 PM > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue > fixe

[U-Boot] [PATCH V2 3/6] mv_egiga: bugfix: DMA issue fixed using volatile

2010-07-08 Thread Albert Aribaud
Signed-off-by: Albert Aribaud --- drivers/net/mv_egiga.c |2 +- drivers/net/mv_egiga.h | 206 2 files changed, 104 insertions(+), 104 deletions(-) diff --git a/drivers/net/mv_egiga.c b/drivers/net/mv_egiga.c index 0da4c4b..96e6a5a 100644 ---