/titanic_50/usr/src/uts/common/io/mii/ |
H A D | mii.c | 1649 uint16_t bmsr; in _mii_probe_phy() local 1668 bmsr = phy_read(ph, MII_STATUS); in _mii_probe_phy() 1669 bmsr = phy_read(ph, MII_STATUS); in _mii_probe_phy() 1670 if ((bmsr == 0) || (bmsr == 0xffff)) { in _mii_probe_phy() 1675 if (bmsr & MII_STATUS_EXTSTAT) { in _mii_probe_phy() 1696 ph->phy_cap_aneg = !!(bmsr & MII_STATUS_CANAUTONEG); in _mii_probe_phy() 1697 ph->phy_cap_100_t4 = !!(bmsr & MII_STATUS_100_BASE_T4); in _mii_probe_phy() 1698 ph->phy_cap_100_fdx = !!(bmsr & MII_STATUS_100_BASEX_FD); in _mii_probe_phy() 1699 ph->phy_cap_100_hdx = !!(bmsr & MII_STATUS_100_BASEX); in _mii_probe_phy() 1700 ph->phy_cap_10_fdx = !!(bmsr & MII_STATUS_10_FD); in _mii_probe_phy() [all …]
|
/titanic_50/usr/src/uts/common/io/chxge/com/ |
H A D | my3126.c | 87 status = cphy->bmsr ^ val16; in my3126_interrupt_handler() 92 cphy->bmsr = val16; in my3126_interrupt_handler() 211 cphy->bmsr = 0; in my3126_phy_create()
|
H A D | cphy.h | 84 u16 bmsr; member
|
/titanic_50/usr/src/uts/common/io/mxfe/ |
H A D | mxfe.c | 1259 unsigned bmsr; in mxfe_startphymii() local 1270 bmsr = mxfe_miiread(mxfep, phyaddr, MII_STATUS); in mxfe_startphymii() 1271 if ((bmsr != 0) && (bmsr != 0xffff)) { in mxfe_startphymii() 1290 if (bmsr & MII_STATUS_100_BASE_T4) { in mxfe_startphymii() 1335 bmsr = mxfe_miiread(mxfep, phyaddr, MII_STATUS); in mxfe_startphymii() 1344 if (!(bmsr & MII_STATUS_100_BASE_T4)) { in mxfe_startphymii() 1348 if (!(bmsr & MII_STATUS_100_BASEX_FD)) { in mxfe_startphymii() 1352 if (!(bmsr & MII_STATUS_100_BASEX)) { in mxfe_startphymii() 1356 if (!(bmsr & MII_STATUS_10_FD)) { in mxfe_startphymii() 1360 if (!(bmsr & MII_STATUS_10)) { in mxfe_startphymii() [all …]
|
/titanic_50/usr/src/uts/common/io/bfe/ |
H A D | bfe.c | 548 uint16_t bmsr, bmcr, anar; in bfe_startup_phy() local 563 bmsr = bfe_read_phy(bfe, MII_STATUS); in bfe_startup_phy() 574 bfe->bfe_chip.bmsr = bmsr; in bfe_startup_phy() 597 if (bmsr & MII_STATUS_100_BASEX_FD) { in bfe_startup_phy() 609 if (bmsr & MII_STATUS_100_BASE_T4) { in bfe_startup_phy() 621 if (bmsr & MII_STATUS_100_BASEX) { in bfe_startup_phy() 633 if (bmsr & MII_STATUS_10_FD) { in bfe_startup_phy() 645 if (bmsr & MII_STATUS_10) { in bfe_startup_phy() 657 if (bmsr & MII_STATUS_CANAUTONEG) { in bfe_startup_phy() 681 if (bfe->bfe_adv_aneg && (bmsr & MII_STATUS_CANAUTONEG)) { in bfe_startup_phy() [all …]
|
H A D | bfe.h | 215 uint32_t bmsr; member
|
/titanic_50/usr/src/uts/common/io/nxge/ |
H A D | nxge_mac.c | 4796 mii_bmsr_t bmsr; in nxge_mii_xcvr_init() local 4859 (uint8_t)(uint32_t)(&mii_regs->bmsr), in nxge_mii_xcvr_init() 4861 (uint8_t)(uint64_t)(&mii_regs->bmsr), in nxge_mii_xcvr_init() 4863 &bmsr.value)) != NXGE_OK) in nxge_mii_xcvr_init() 4866 param_arr[param_autoneg].value &= bmsr.bits.auto_neg_able; in nxge_mii_xcvr_init() 4867 param_arr[param_anar_100T4].value &= bmsr.bits.link_100T4; in nxge_mii_xcvr_init() 4868 param_arr[param_anar_100fdx].value &= bmsr.bits.link_100fdx; in nxge_mii_xcvr_init() 4870 param_arr[param_anar_10fdx].value &= bmsr.bits.link_10fdx; in nxge_mii_xcvr_init() 4876 statsp->mac_stats.cap_autoneg = bmsr.bits.auto_neg_able; in nxge_mii_xcvr_init() 4877 statsp->mac_stats.cap_100T4 = bmsr.bits.link_100T4; in nxge_mii_xcvr_init() [all …]
|
/titanic_50/usr/src/grub/grub-0.97/netboot/ |
H A D | tg3.c | 675 uint32_t bmsr, dummy; in tg3_setup_copper_phy() local 693 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy() 694 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy() 695 if (!(bmsr & BMSR_LSTATUS)) in tg3_setup_copper_phy() 700 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy() 701 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy() 704 bmsr = 0; in tg3_setup_copper_phy() 706 if (!(bmsr & BMSR_LSTATUS)) { in tg3_setup_copper_phy() 711 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy() 714 tg3_readphy(tp, MII_BMSR, &bmsr); in tg3_setup_copper_phy() [all …]
|
H A D | tulip.c | 1971 unsigned int bmsr, lpa, negotiated, new_csr6; in tulip_check_duplex() local 1973 bmsr = mdio_read(nic, tp->phys[0], 1); in tulip_check_duplex() 1979 "%#x.\n", tp->nic_name, bmsr, lpa); in tulip_check_duplex() 1982 if (bmsr == 0xffff) in tulip_check_duplex() 1984 if ((bmsr & 4) == 0) { in tulip_check_duplex()
|
/titanic_50/usr/src/uts/common/sys/nxge/ |
H A D | nxge_mii.h | 61 uchar_t bmsr; /* Basic mode status register */ member
|
H A D | nxge.h | 733 mii_bmsr_t bmsr; /* xcvr status at last poll. */ member
|