From: Dale Farnsworth Date: Sat, 3 Mar 2007 13:40:28 +0000 (-0700) Subject: mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data X-Git-Tag: v2.6.21-rc3~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84dd619e4dc3b0b1c40dafd98c90fd950bce7bc5;p=pandora-kernel.git mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data We were using the platform_device.id field to identify which ethernet port is used for mv643xx_eth device. This is not generally correct. It will be incorrect, for example, if a hardware platform uses a single port but not the first port. Here, we add an explicit port_number field to struct mv643xx_eth_platform_data. This makes the mv643xx_eth_platform_data structure required, but that isn't an issue since all users currently provide it already. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed