Re: [PATCH 02/13] net: rtl8139: Rework eeprom_delay() macro

2020-04-16 Thread Joe Hershberger
On Sun, Apr 12, 2020 at 5:04 PM Marek Vasut wrote: > > The macro assumes ee_addr variable to be present when it's being > used. Rework the macro into a function instead and pass it an > argument specifying the register base address, to make it future > proof for DM conversion. > > Signed-off-by: M

[PATCH 02/13] net: rtl8139: Rework eeprom_delay() macro

2020-04-12 Thread Marek Vasut
The macro assumes ee_addr variable to be present when it's being used. Rework the macro into a function instead and pass it an argument specifying the register base address, to make it future proof for DM conversion. Signed-off-by: Marek Vasut Cc: Joe Hershberger --- drivers/net/rtl8139.c | 31