Lines Matching refs:fres
376 static int macsonic_ident(struct nubus_rsrc *fres)
378 if (fres->dr_hw == NUBUS_DRHW_ASANTE_LC &&
379 fres->dr_sw == NUBUS_DRSW_SONIC_LC)
381 if (fres->dr_hw == NUBUS_DRHW_SONIC &&
382 fres->dr_sw == NUBUS_DRSW_APPLE) {
384 if (strstr(fres->board->name, "DuoDock"))
390 if (fres->dr_hw == NUBUS_DRHW_SMC9194 &&
391 fres->dr_sw == NUBUS_DRSW_DAYNA)
394 if (fres->dr_hw == NUBUS_DRHW_APPLE_SONIC_LC &&
395 fres->dr_sw == 0) { /* huh? */
560 struct nubus_rsrc *fres;
570 for_each_board_func_rsrc(board, fres) {
571 if (fres->category != NUBUS_CAT_NETWORK ||
572 fres->type != NUBUS_TYPE_ETHERNET)
575 id = macsonic_ident(fres);
579 if (!fres)