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

From: Jeff Garzik
Date: Mon Oct 01 2007 - 10:55:02 EST


Jiri Kosina wrote:
On Mon, 1 Oct 2007, Jeff Garzik wrote:

PCI: nVidia's MCP61 ethernet card needs quirk for wrong class
The MCP61 ethernet controller from nVidia (NVENET_19) contains wrong
PCI class:
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev
a2)
i.e. it identifies itself as a bridge. Fix this.
Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
What is the problem that is present without this patch?

Userspace tools that are used to configure network are probable not to detect this device as a network card and therefore not provide means to configure the device (this is a case at least with yast, I don't know what is the situation with other configurators).

There might be also other situations, I don't know. Userspace really should know the proper class of the device, shouldn't it?

There are other network devices that do not claim PCI_CLASS_NETWORK_ETHERNET either. Since this is a purely cosmetic issue -- said userland tools would need to support weird cases _anyway_ -- I am not inclined to apply the patch.

The kernel could do a lot to make things "prettier," but that would lead to lots of additional code bloat. It's easier to export the world as it is, and let the chips fall where they may.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/