Lines Matching refs:my_ad_caps
890 int my_ad_caps; /* My Advertised capabilities */
931 my_ad_caps = ADVERTISE_CSMA | ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM;
934 my_ad_caps |= ADVERTISE_100BASE4;
936 my_ad_caps |= ADVERTISE_100FULL;
938 my_ad_caps |= ADVERTISE_100HALF;
940 my_ad_caps |= ADVERTISE_10FULL;
942 my_ad_caps |= ADVERTISE_10HALF;
946 my_ad_caps &= ~(ADVERTISE_100BASE4|ADVERTISE_100FULL|ADVERTISE_100HALF);
949 my_ad_caps &= ~(ADVERTISE_100FULL|ADVERTISE_10FULL);
952 SMC_SET_PHY_MII_ADV(lp, phyaddr, my_ad_caps);
953 lp->mii.advertising = my_ad_caps;
964 DBG(SMC_DEBUG_MISC, "%s: phy advertised caps=0x%04x\n", dev->name, my_ad_caps);