Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751647AbWJMM3O (ORCPT ); Fri, 13 Oct 2006 08:29:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751654AbWJMM3O (ORCPT ); Fri, 13 Oct 2006 08:29:14 -0400 Received: from gate.crashing.org ([63.228.1.57]:37291 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S1751647AbWJMM3N (ORCPT ); Fri, 13 Oct 2006 08:29:13 -0400 Subject: Re: [linux-pm] Bug in PCI core From: Benjamin Herrenschmidt To: Martin Mares Cc: Adam Belay , Alan Stern , Greg KH , linux-pci@atrey.karlin.mff.cuni.cz, Linux-pm mailing list , Kernel development list In-Reply-To: References: <1160701263.4792.179.camel@localhost.localdomain> <1160729427.26091.98.camel@localhost.localdomain> <1160731004.4792.245.camel@localhost.localdomain> Content-Type: text/plain Date: Fri, 13 Oct 2006 22:25:50 +1000 Message-Id: <1160742350.4792.257.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 23 On Fri, 2006-10-13 at 11:31 +0200, Martin Mares wrote: > Hi! > > > For example, currently, if I power off the ethernet of my mac, or the > > firewire chip (which are powered off if the module isn't loaded), lspci > > will get the device id and vendor id right ... but won't get the class > > code. > > Ehm, you aren't using any recent pciutils, are you? ;-) Whatever came with the distro that complained about the problem back then :) I agree that the problem is fixed on the kernel level (sysfs) and I'm happy to hear that pciutils is fixed too :) So we can probably do what Adam suggest and just return errors or ff's Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/