Lines Matching +full:0 +full:x78000000
23 u32 phy_reg = ioread32(ioaddr + 0xB8); in pnic_do_nway()
26 if (phy_reg & 0x78000000) { /* Ignore baseT4 */ in pnic_do_nway()
27 if (phy_reg & 0x20000000) dev->if_port = 5; in pnic_do_nway()
28 else if (phy_reg & 0x40000000) dev->if_port = 3; in pnic_do_nway()
29 else if (phy_reg & 0x10000000) dev->if_port = 4; in pnic_do_nway()
30 else if (phy_reg & 0x08000000) dev->if_port = 0; in pnic_do_nway()
32 new_csr6 = (dev->if_port & 1) ? 0x01860000 : 0x00420000; in pnic_do_nway()
33 iowrite32(0x32 | (dev->if_port & 1), ioaddr + CSR12); in pnic_do_nway()
35 iowrite32(0x1F868, ioaddr + 0xB8); in pnic_do_nway()
36 if (phy_reg & 0x30000000) { in pnic_do_nway()
38 new_csr6 |= 0x00000200; in pnic_do_nway()
56 int phy_reg = ioread32(ioaddr + 0xB8); in pnic_lnk_change()
69 tp->csr6 = 0x00420000 | (tp->csr6 & 0x0000fdff); in pnic_lnk_change()
71 iowrite32(0x30, ioaddr + CSR12); in pnic_lnk_change()
72 iowrite32(0x0201F078, ioaddr + 0xB8); /* Turn on autonegotiation. */ in pnic_lnk_change()
105 if (tulip_check_duplex(dev) > 0) in pnic_timer()
110 int new_csr6 = tp->csr6 & ~0x40C40200; in pnic_timer()
111 int phy_reg = ioread32(ioaddr + 0xB8); in pnic_timer()
117 if (phy_reg & 0x04000000) { /* Remote link fault */ in pnic_timer()
118 iowrite32(0x0201F078, ioaddr + 0xB8); in pnic_timer()
120 tp->nwayset = 0; in pnic_timer()
121 } else if (phy_reg & 0x78000000) { /* Ignore baseT4 */ in pnic_timer()
130 ioread32(ioaddr + 0xB8)); in pnic_timer()
135 } else if (dev->if_port == 0) { in pnic_timer()
137 iowrite32(0x33, ioaddr + CSR12); in pnic_timer()
138 new_csr6 = 0x01860000; in pnic_timer()
139 iowrite32(0x1F868, ioaddr + 0xB8); in pnic_timer()
141 dev->if_port = 0; in pnic_timer()
142 iowrite32(0x32, ioaddr + CSR12); in pnic_timer()
143 new_csr6 = 0x00420000; in pnic_timer()
144 iowrite32(0x1F078, ioaddr + 0xB8); in pnic_timer()