From: Lennert Buytenhek Date: Wed, 23 Apr 2008 23:27:02 +0000 (+0200) Subject: mv643xx_eth: get rid of static variables, allow multiple instances X-Git-Tag: v2.6.26-rc2~23^2~2^2~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa3959f457109cc7d082b86ea6daae927982815b;p=pandora-kernel.git 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 Acked-by: Nicolas Pitre Signed-off-by: Dale Farnsworth --- Reading git-diff-tree failed