Re: [PATCH] PCI: nVidia's MCP61 ethernet card needs quirk for wrong class

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Jiri Kosina <jkosina@...>, Jeff Garzik <jgarzik@...>, Ayaz Abdulla <aabdulla@...>, <linux-pci@...>, <linux-kernel@...>
Date: Monday, October 1, 2007 - 1:03 pm

On Mon, Oct 01, 2007 at 09:25:46AM -0700, Greg KH wrote:

I think Jeff is right on this particular point -- better to have this
worked around in the userspace tool than in the kernel.


Nobody's talking about changing the raw pci data.  What we're talking
about is changing the value read out of

$ cat /sys/bus/pci/devices/0000\:00\:00.0/class 
0x060000

We do tweak at least some of the other similar values (vendor, for sure)
to work around bugs; not sure we have an example for changing the class
value yet.

pciutils knows that the kernel has potentially fixed up the values in
the individual files, and to trust those over the raw data.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] PCI: nVidia's MCP61 ethernet card needs quirk fo..., Matthew Wilcox, (Mon Oct 1, 1:03 pm)