]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Discover phy address once
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 17 Feb 2010 15:17:01 +0000 (15:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 01:27:38 +0000 (17:27 -0800)
commitf47fdf83011e564024be449fe3369ffe6343cc0a
tree7002135dea5246364c2a17a6f037c050c50b4cb8
parentfea6039cd3ca2ad98362695936c058a2ba019008
tg3: Discover phy address once

The phy address will not change after it has been identified.  Move the
discovery code to a location that only gets executed once.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c