From mboxrd@z Thu Jan 1 00:00:00 1970 From: Prashant Sreedharan Subject: Re: [bisected] tg3 broken in 3.18.0? Date: Fri, 19 Dec 2014 10:53:48 -0800 Message-ID: <1419015228.27773.3.camel@prashant> References: <20141213210251.GA12812@teela.fritz.box> <548EF90A.5070607@gmail.com> <1418750141.4248.3.camel@LTIRV-MCHAN1.corp.ad.broadcom.com> <54907300.9050902@gmail.com> <1418759684.4248.12.camel@LTIRV-MCHAN1.corp.ad.broadcom.com> <1418930889.3433.8.camel@prashant> <20141218202637.GA2930@teela.fritz.box> <1418955047.3433.27.camel@prashant> <54945D79.2070008@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Marcelo Ricardo Leitner , Bjorn Helgaas , Nils Holland , Michael Chan , David Miller , netdev , "linux-pci@vger.kernel.org" , Rafael Wysocki To: Return-path: In-Reply-To: Sender: linux-pci-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, 2014-12-19 at 10:24 -0800, Rajat Jain wrote: > One of the reasons to replace the condition (*l == 0xffff0001) with > (*l & 0xffff) == 0x0001) was that some devices apparently returned > 0001 for device id to indicate CRS, but returned actual vendor id in > the vendor ID field (hence the need to ignore vendor field). > > Are we saying that the tg3 device returns 0x0001 for the device ID and > yet expects it to be treated as a good value (not CRS)? > No it should not be treated as a good value, this commit has surfaced/exposed a problem in 5722 chipset which was previously masked.