Searched refs:rev_type (Results 1 – 2 of 2) sorted by relevance
169 unsigned rev_type = 0; in mac89x0_device_probe() local221 rev_type = readreg(dev, PRODUCT_ID_ADD); in mac89x0_device_probe()222 lp->chip_type = rev_type &~ REVISON_BITS; in mac89x0_device_probe()223 lp->chip_revision = ((rev_type & REVISON_BITS) >> 8) + 'A'; in mac89x0_device_probe()
1315 unsigned rev_type = 0; in cs89x0_probe1() local1351 rev_type = readreg(dev, PRODUCT_ID_ADD); in cs89x0_probe1()1352 lp->chip_type = rev_type & ~REVISON_BITS; in cs89x0_probe1()1353 lp->chip_revision = ((rev_type & REVISON_BITS) >> 8) + 'A'; in cs89x0_probe1()