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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

There are other network devices that do not claim PCI_CLASS_NETWORK_ETHERNET either.

Nor any other PCI_CLASS_NETWORK subclass?

Correct.


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.

What would you recommend as a method for userspace to detect whether given hardware is a network card, supposing that there is no driver bound to it yet?

Note the mention of "weird cases"

You come up with a general method, then you have to deal with exceptions to that general method.

Another example: 8139too and 8139cp both claim to support (0x10EC,0x8139) PCI IDs. The distro installer needs additional information to know to read the PCI revision, which is what determines whether or not to use 8139cp driver.

Sometimes life is just not as simple as you would like it to be :)

	Jeff

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux