net/enic: use macro for attribute weak