pcn_type
static const struct pcn_type pcn_devs[] = {
static const struct pcn_type *pcn_match(u_int16_t, u_int16_t);
if (sc->pcn_type != Am79C978 &&
if (sc->pcn_type == Am79C978)
if (((sc->pcn_type == Am79C971 && phy != PCN_PHYAD_10BT) ||
sc->pcn_type == Am79C973 || sc->pcn_type == Am79C975 ||
sc->pcn_type == Am79C978) && sc->pcn_extphyaddr != -1 &&
if (((sc->pcn_type == Am79C971 && phy != PCN_PHYAD_10BT) ||
sc->pcn_type == Am79C973 || sc->pcn_type == Am79C975 ||
sc->pcn_type == Am79C978) && sc->pcn_extphyaddr == -1)
static const struct pcn_type *
const struct pcn_type *t;
const struct pcn_type *t;
sc->pcn_type = (pcn_chip_id(dev) >> 12) & PART_MASK;
sc->pcn_type, pcn_chipid_name(sc->pcn_type));
int pcn_type;