commit | 051d3cbd96909b2fe6b5038e7bbe77f41356db05 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Feb 27 12:51:27 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 27 12:51:27 2006 -0800 |
tree | 6decc4a2a4f1c3df66df5d78602ab8b4f971375d | |
parent | de5f503cfbe4f942492269c6bd97a16a4d61e488 [diff] |
[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>