Searched refs:phyaddr (Results 1 – 2 of 2) sorted by relevance
| /plan9/sys/src/9/pc/ |
| H A D | ether82557.c | 410 int i, len, phyaddr; in ifstat() local 475 phyaddr = ctlr->eeprom[6] & 0x00FF; in ifstat() 476 len += snprint(p+len, READSTR-len, "\nphy %2d:", phyaddr); in ifstat() 481 miir(ctlr, phyaddr, i)); in ifstat() 1056 int anar, anlpar, bmcr, bmsr, i, k, medium, phyaddr, x; in reset() local 1134 phyaddr = ctlr->eeprom[6] & 0x00FF; in reset() 1141 phyaddr = -1; in reset() 1149 phyaddr = scanphy(ctlr); in reset() 1152 if(phyaddr >= 0){ in reset() 1162 anar = miir(ctlr, phyaddr, 0x04); in reset() [all …]
|
| H A D | etherelnk3.c | 1797 int anar, anlpar, i, j, phyaddr, phystat, port, timeo, x; in etherelnk3reset() local 1954 phyaddr = 0; in etherelnk3reset() 1956 phyaddr = scanphy(port); in etherelnk3reset() 1958 phyaddr = 24; in etherelnk3reset() 1960 XCVRDEBUG(" %2.2uX", miir(port, phyaddr, i)); in etherelnk3reset() 1964 phystat = miir(port, phyaddr, 0x01); in etherelnk3reset() 1970 XCVRDEBUG(" %2.2uX", miir(port, phyaddr, 0x01)); in etherelnk3reset() 1973 anar = miir(port, phyaddr, 0x04); in etherelnk3reset() 1974 anlpar = miir(port, phyaddr, 0x05) & 0x03E0; in etherelnk3reset() 1976 miir(port, phyaddr, 0x00); in etherelnk3reset() [all …]
|