]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[TG3]: Fix Sun tg3 variant detection.
authorDavid S. Miller <davem@davemloft.net>
Mon, 27 Feb 2006 20:51:27 +0000 (12:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Feb 2006 20:51:27 +0000 (12:51 -0800)
commit051d3cbd96909b2fe6b5038e7bbe77f41356db05
tree6decc4a2a4f1c3df66df5d78602ab8b4f971375d
parentde5f503cfbe4f942492269c6bd97a16a4d61e488
[TG3]: Fix Sun tg3 variant detection.

Some Sun parts don't have PCI_VENDOR_ID_SUN in the subsystem
vendor ID.  So add another fallback test, which is the name
of the OBP firmware device tree node.  If it's a Sun part we'll
get "network", else it will be named "ethernet".

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c