From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 26 Jan 2012 16:52:33 +0100 Subject: [U-Boot] [RFC Patch] e1000: Fix PCI memory addressing and fix for receive data polling In-Reply-To: <4F2152F5.2040408@rw-gmbh.de> References: <4F2152F5.2040408@rw-gmbh.de> Message-ID: <4F2176C1.70106@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 On 26/01/2012 14:19, Ralf R?sch wrote: > Sorry, you will find now my fixes in attachment > > Hi all, Hi Ralf, > > I had some problem when using your e1000-code on a MIPS target. > Attached you will find two fixes which I would like to propose for > discussion. > > - Fix 1: this has the same reason as in commit > f81ecb5d3300bf92d17302d3712f30585c182da9 Anyway, can you also describe *which* bug / behavior have you found ? > - Fix 2: has to do with "C Language Operator Precedence". > I would say the expression taken by the ! operator has precedence before > the & operator. > So any bit in rd->status other than E1000_RXD_STAT_DD stops correct > detection of data reception. > (What i do not know is, if it is possible that any other bit than > E1000_RXD_STAT_DD can get active) This seems to me a bug. However, you must send right patches for review / discussion. You find two issues, and you must send one patch for each issue that will be fixed. Please have a look at: http://www.denx.de/wiki/U-Boot/Patches It describes how to submit patches in the right format. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================