Lines Matching refs:fres
369 static int macsonic_ident(struct nubus_rsrc *fres)
371 if (fres->dr_hw == NUBUS_DRHW_ASANTE_LC &&
372 fres->dr_sw == NUBUS_DRSW_SONIC_LC)
374 if (fres->dr_hw == NUBUS_DRHW_SONIC &&
375 fres->dr_sw == NUBUS_DRSW_APPLE) {
377 if (strstr(fres->board->name, "DuoDock"))
383 if (fres->dr_hw == NUBUS_DRHW_SMC9194 &&
384 fres->dr_sw == NUBUS_DRSW_DAYNA)
387 if (fres->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC &&
388 fres->dr_sw == 0) { /* huh? */
553 struct nubus_rsrc *fres;
563 for_each_board_func_rsrc(board, fres) {
564 if (fres->category != NUBUS_CAT_NETWORK ||
565 fres->type != NUBUS_TYPE_ETHERNET)
568 id = macsonic_ident(fres);
572 if (!fres)