commit | fa3959f457109cc7d082b86ea6daae927982815b | [log] [tgz] |
---|---|---|
author | Lennert Buytenhek <buytenh@wantstofly.org> | Thu Apr 24 01:27:02 2008 +0200 |
committer | Dale Farnsworth <dale@farnsworth.org> | Mon Apr 28 21:17:07 2008 -0700 |
tree | 0e1f7aae6f3340d915f61e1489615972c629621d | |
parent | e31a94ed371c70855eb30b77c490d6d85dd4da26 [diff] |
mv643xx_eth: get rid of static variables, allow multiple instances Move mv643xx_eth's static state (ethernet register block base address and MII management interface spinlock) into a struct hanging off the shared platform device. This is necessary to support chips that contain multiple mv643xx_eth silicon blocks. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Acked-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Dale Farnsworth <dale@farnsworth.org>