Re: [U-Boot] [PATCH v2] net: macb: fix mapping of registers

2019-01-22 Thread Joe Hershberger
On Thu, Dec 27, 2018 at 11:59 AM Ramon Fried wrote: > > Some architectures (MIPS) needs mapping to access IOMEM. > Fix that. > > Fixes: f1dcc19b213d ("net: macb: Convert to driver model") > > Signed-off-by: Ramon Fried Acked-by: Joe Hershberger ___ U-

[U-Boot] [PATCH v2] net: macb: fix mapping of registers

2018-12-27 Thread Ramon Fried
Some architectures (MIPS) needs mapping to access IOMEM. Fix that. Fixes: f1dcc19b213d ("net: macb: Convert to driver model") Signed-off-by: Ramon Fried --- v2: add casting to phys_addr_t to prevent warning from compiler. drivers/net/macb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

Re: [U-Boot] [PATCH v2] net: macb: fix mapping of registers

2018-12-19 Thread Daniel Schwierzeck
Am 18.12.18 um 21:49 schrieb Ramon Fried: > Some architectures (MIPS) needs mapping to access IOMEM. > Fix that. > > Fixes: f1dcc19b213d ("net: macb: Convert to driver model") > > Signed-off-by: Ramon Fried > --- > v2: switched to use dev_reamp_addr() to reduce boilerplate code. > (as sugg

[U-Boot] [PATCH v2] net: macb: fix mapping of registers

2018-12-18 Thread Ramon Fried
Some architectures (MIPS) needs mapping to access IOMEM. Fix that. Fixes: f1dcc19b213d ("net: macb: Convert to driver model") Signed-off-by: Ramon Fried --- v2: switched to use dev_reamp_addr() to reduce boilerplate code. (as suggested by Daniel Schwierzeck) drivers/net/macb.c | 4 +++- 1