]> git.baikalelectronics.ru Git - uboot.git/commit
net: rtl8139: Introduce device private data
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 9 May 2020 20:34:39 +0000 (22:34 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commit736162a896fac870314565c1e4cc52869cded201
tree6777e4c9523bba9ecc333e46da7d71968f95a8d9
parent702818ec8f52cd6257444122399095fed4fae88f
net: rtl8139: Introduce device private data

Introduce rtl8139_pdata, which is a super-structure around eth_device
and tracks per-device state, here the device IO address, PCI BDF, RX
and TX ring position. Pass this structure around instead of the old
non-DM eth_device in preparation for DM conversion.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/rtl8139.c