phy_attrs
struct device_attribute *phy_attrs[SAS_PHY_ATTRS + 1];
SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, 1)
SETUP_TEMPLATE_RW(phy_attrs, field, S_IRUGO | S_IWUSR, 1, \
SETUP_TEMPLATE_RW(phy_attrs, field, S_IRUGO | S_IWUSR, 1, \
SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func)
SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, 1)
SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func)
i->phy_attr_cont.ac.attrs = &i->phy_attrs[0];
i->phy_attrs[count] = NULL;
struct phy_attrs attrs;