Skip to content
Commit 051d3cbd authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent de5f503c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment