43af940c54
The pdev->id is used in several places for different purpose. All these uses assume it's always the id of fec device which is >= 0. However this is only true for non-DT case. When DT plays, pdev->id is always -1, which will break these pdev->id users. Instead of fixing all these users one by one, this patch introduces a new member 'dev_id' to 'struct fec_enet_private' for holding the correct fec device id, and replaces all the existing uses of pdev->id with this dev_id. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
3com | ||
8390 | ||
adaptec | ||
adi | ||
aeroflex | ||
alteon | ||
amd | ||
apple | ||
atheros | ||
broadcom | ||
brocade | ||
cadence | ||
chelsio | ||
cirrus | ||
cisco | ||
davicom | ||
dec | ||
dlink | ||
emulex | ||
faraday | ||
freescale | ||
fujitsu | ||
hp | ||
i825xx | ||
ibm | ||
icplus | ||
intel | ||
marvell | ||
mellanox | ||
micrel | ||
microchip | ||
myricom | ||
natsemi | ||
neterion | ||
nuvoton | ||
nvidia | ||
octeon | ||
oki-semi | ||
packetengines | ||
pasemi | ||
qlogic | ||
racal | ||
rdc | ||
realtek | ||
renesas | ||
seeq | ||
sfc | ||
sgi | ||
silan | ||
sis | ||
smsc | ||
stmicro | ||
sun | ||
tehuti | ||
ti | ||
tile | ||
toshiba | ||
tundra | ||
via | ||
xilinx | ||
xircom | ||
xscale | ||
dnet.c | ||
dnet.h | ||
ethoc.c | ||
fealnx.c | ||
jme.c | ||
jme.h | ||
Kconfig | ||
korina.c | ||
lantiq_etop.c | ||
Makefile | ||
mipsnet.c | ||
netx-eth.c | ||
s6gmac.c |