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-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html