Searched refs:byte_test (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smsc911x.c | 2182 unsigned int byte_test, mask; in smsc911x_init() local 2224 byte_test = smsc911x_reg_read(pdata, BYTE_TEST); in smsc911x_init() 2225 SMSC_TRACE(pdata, probe, "BYTE_TEST: 0x%08X", byte_test); in smsc911x_init() 2226 if (byte_test == 0x43218765) { in smsc911x_init() 2233 byte_test = smsc911x_reg_read(pdata, BYTE_TEST); in smsc911x_init() 2235 byte_test = smsc911x_reg_read(pdata, BYTE_TEST); in smsc911x_init() 2238 if (byte_test != 0x87654321) { in smsc911x_init() 2239 SMSC_WARN(pdata, drv, "BYTE_TEST: 0x%08X", byte_test); in smsc911x_init() 2240 if (((byte_test >> 16) & 0xFFFF) == (byte_test & 0xFFFF)) { in smsc911x_init()
|