Re: [PATCH 2/3] net: ethernet: bgmac: Make IDM register space optional

From
Jon Mason <hidden>
Date
2017-07-17 19:05:47
Also in
linux-arm-kernel, lkml, netdev
Reply to
Abhishek Shah, 2017-07-17
On Mon, Jul 17, 2017 at 2:37 PM, Abhishek Shah
[off-list ref] wrote:
Hi Jon,
quoted
This also will need to be added to
drivers/net/ethernet/broadcom/bgmac-bcma.c.  Otherwise, the driver
will no longer work for those platforms.  Since this was already
accepted, please push out a fix ASAP.
I do not see how the bcma driver [bgmac-bcma.c] will no longer work.
The whole idea behind introducing this  BGMAC_FEAT_IDM_MASK bit
was to keep bcma driver's functionality intact.

The BGMAC_FEAT_IDM_MASK bit is explicitly set by the bgmac-platform driver
and is unset inside the same if the idm register base is provided.

For BCMA driver case, I do not touch BGMAC_FEAT_IDM_MASK bit, i.e. it
is *not* set.
And if it is not set, each idm operation done in bgmac.c will take place.
Please explain if I am missing something here.
Sorry, I had it flipped in my mind.  Please disregard.

Regards,
Abhishek
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (8 messages) 8 messages, 3 authors, last reply 2017-07-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help