From: Wolfgang Denk Date: Tue, 18 Mar 2008 22:29:17 +0100 Subject: [U-Boot-Users] [PATCH] ColdFire: Fix FEC transmit issue for MCF5275 In-Reply-To: Your message of "Mon, 17 Mar 2008 17:08:16 EST." <1205791696-17263-1-git-send-email-Tsi-Chung.Liew@freescale.com> Message-ID: <20080318212917.68C4724A91@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1205791696-17263-1-git-send-email-Tsi-Chung.Liew@freescale.com> you wrote: > Signed-off-by: TsiChung Liew > --- > drivers/net/mcffec.c | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c > index 3b81258..71d1960 100644 > --- a/drivers/net/mcffec.c > +++ b/drivers/net/mcffec.c > @@ -166,6 +166,13 @@ int fec_send(struct eth_device *dev, volatile void *packet, int length) > /* Activate transmit Buffer Descriptor polling */ > fecp->tdar = 0x01000000; /* Descriptor polling active */ > > + /* FEC fix for MCF5275, FEC unable to initial transmit data packet. > + * A nop will ensure the descriptor polling active completed. > + */ Please note: The preferred style for long (multi-line) comments is: /* * This is the preferred style for multi-line * comments in the Linux kernel source code. * Please use it consistently. * * Description: A column of asterisks on the left side, * with beginning and ending almost-blank lines. */ Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A meeting is an event at which the minutes are kept and the hours are lost.