Re: [PATCH RFC 2/3] dt:net:stmmac: Add support to dwmac version 3.610and 3.710

From: Giuseppe CAVALLARO
Date: Tue Jul 02 2013 - 04:04:58 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/