commit | 857001f06f6bec17cafd567a03b24968902a4744 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Sun Jan 06 12:51:09 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 06 21:02:08 2013 -0800 |
tree | 84d64791dbeee5c5c4c71087c05007b6f2f4bd88 | |
parent | c86a8560e2dd800b619056c25b3f0ab8f5c59156 [diff] |
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>