Staging
v0.5.1
https://github.com/torvalds/linux
Revision 84dd619e4dc3b0b1c40dafd98c90fd950bce7bc5 authored by Dale Farnsworth on 03 March 2007, 13:40:28 UTC, committed by Jeff Garzik on 06 March 2007, 11:14:54 UTC
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>
1 parent b2cbbd8
History
Tip revision: 84dd619e4dc3b0b1c40dafd98c90fd950bce7bc5 authored by Dale Farnsworth on 03 March 2007, 13:40:28 UTC
mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data
Tip revision: 84dd619
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.9 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 82.0 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top