Lines Matching refs:fres
403 static int macsonic_ident(struct nubus_rsrc *fres) in macsonic_ident() argument
405 if (fres->dr_hw == NUBUS_DRHW_ASANTE_LC && in macsonic_ident()
406 fres->dr_sw == NUBUS_DRSW_SONIC_LC) in macsonic_ident()
408 if (fres->dr_hw == NUBUS_DRHW_SONIC && in macsonic_ident()
409 fres->dr_sw == NUBUS_DRSW_APPLE) { in macsonic_ident()
411 if (strstr(fres->board->name, "DuoDock")) in macsonic_ident()
417 if (fres->dr_hw == NUBUS_DRHW_SMC9194 && in macsonic_ident()
418 fres->dr_sw == NUBUS_DRSW_DAYNA) in macsonic_ident()
421 if (fres->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC && in macsonic_ident()
422 fres->dr_sw == 0) { /* huh? */ in macsonic_ident()
583 struct nubus_rsrc *fres; in mac_sonic_nubus_probe() local
593 for_each_board_func_rsrc(board, fres) { in mac_sonic_nubus_probe()
594 if (fres->category != NUBUS_CAT_NETWORK || in mac_sonic_nubus_probe()
595 fres->type != NUBUS_TYPE_ETHERNET) in mac_sonic_nubus_probe()
598 id = macsonic_ident(fres); in mac_sonic_nubus_probe()
602 if (!fres) in mac_sonic_nubus_probe()