diff options
| -rw-r--r-- | drivers/net/tg3.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index e7dc653d5bd6..e8e92c853e89 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
| @@ -9408,6 +9408,15 @@ static int __devinit tg3_is_sun_570X(struct tg3 *tp) | |||
| 9408 | return 0; | 9408 | return 0; |
| 9409 | if (venid == PCI_VENDOR_ID_SUN) | 9409 | if (venid == PCI_VENDOR_ID_SUN) |
| 9410 | return 1; | 9410 | return 1; |
| 9411 | |||
| 9412 | /* TG3 chips onboard the SunBlade-2500 don't have the | ||
| 9413 | * subsystem-vendor-id set to PCI_VENDOR_ID_SUN but they | ||
| 9414 | * are distinguishable from non-Sun variants by being | ||
| 9415 | * named "network" by the firmware. Non-Sun cards will | ||
| 9416 | * show up as being named "ethernet". | ||
| 9417 | */ | ||
| 9418 | if (!strcmp(pcp->prom_name, "network")) | ||
| 9419 | return 1; | ||
| 9411 | } | 9420 | } |
| 9412 | return 0; | 9421 | return 0; |
| 9413 | } | 9422 | } |
