Lines Matching refs:leaf
835 struct medialeaf *leaf = &mtable->mleaf[i]; in parse_eeprom() local
838 leaf->type = 0; in parse_eeprom()
839 leaf->media = p[0] & 0x3f; in parse_eeprom()
840 leaf->leafdata = p; in parse_eeprom()
845 switch(leaf->type = p[1]) { in parse_eeprom()
848 leaf->media = p[2] & 0x0f; in parse_eeprom()
852 leaf->media = 11; in parse_eeprom()
864 leaf->media = p[2] & MEDIA_MASK; in parse_eeprom()
865 switch (leaf->media) { in parse_eeprom()
874 leaf->media = 19; in parse_eeprom()
876 leaf->leafdata = p + 2; in parse_eeprom()
880 if (tulip_debug > 1 && leaf->media == 11) { in parse_eeprom()
881 unsigned char *bp = leaf->leafdata; in parse_eeprom()
889 tp->nic_name, i, medianame[leaf->media], leaf->media, in parse_eeprom()
890 leaf->type < 6 ? block_name[leaf->type] : "UNKNOWN", in parse_eeprom()
891 leaf->type); in parse_eeprom()