[PATCH RFC 2/3] dt:net:stmmac: Add support to dwmac version 3.610 and 3.710
    Giuseppe CAVALLARO 
    peppe.cavallaro at st.com
       
    Tue Jul  2 18:04:33 EST 2013
    
    
  
On 7/2/2013 8:42 AM, Srinivas KANDAGATLA wrote:
> Are you happy with the setting pmt based on compatible string or do you
> think passing pmt as another property to device tree makes more sense?
I prefer to pass pmt as another property but indeed this is not a big
problem because all the new chips have the HW cap. register to fix
at run-time the driver capability.
This field, as others, was really useful on old mac generations where
sometime the PMT was synthesized, sometime not.
The code should be safe enough because if, for example,
we have a new GMAC but w/o the extended module for PMT, so at probing
time the driver will fix all by looking at the HW cap register and
it will be never able to do WoL.
ciao
peppe
    
    
More information about the devicetree-discuss
mailing list