diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2007-03-03 14:40:28 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-06 12:14:54 +0100 |
commit | 84dd619e4dc3b0b1c40dafd98c90fd950bce7bc5 (patch) | |
tree | 939d601f7abda95e3f4919af2a371873f0c66928 /drivers/ieee1394/dv1394-private.h | |
parent | pcnet32: Fix PCnet32 performance bug on non-coherent architecutres (diff) | |
download | linux-84dd619e4dc3b0b1c40dafd98c90fd950bce7bc5.tar.xz linux-84dd619e4dc3b0b1c40dafd98c90fd950bce7bc5.zip |
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 <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ieee1394/dv1394-private.h')
0 files changed, 0 insertions, 0 deletions