diff options
author | Michael Chan <mchan@broadcom.com> | 2013-01-06 13:51:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-07 06:02:08 +0100 |
commit | 857001f06f6bec17cafd567a03b24968902a4744 (patch) | |
tree | 84d64791dbeee5c5c4c71087c05007b6f2f4bd88 /drivers/net/ethernet/broadcom/tg3.h | |
parent | tg3: Add NVRAM support for 5762 (diff) | |
download | linux-857001f06f6bec17cafd567a03b24968902a4744.tar.xz linux-857001f06f6bec17cafd567a03b24968902a4744.zip |
tg3: Improve PCI function number detection.
Simplify the code to detect PCI function number on 5717, 5719, and 5720.
If shared memory does not have proper signature, read the function number
from register directly.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
0 files changed, 0 insertions, 0 deletions