Lines Matching refs:fres
166 static enum mac8390_type mac8390_ident(struct nubus_rsrc *fres) in mac8390_ident() argument
168 switch (fres->dr_sw) { in mac8390_ident()
170 switch (fres->dr_hw) { in mac8390_ident()
181 switch (fres->dr_hw) { in mac8390_ident()
198 if (fres->dr_hw == NUBUS_DRHW_CABLETRON) in mac8390_ident()
209 switch (fres->dr_hw) { in mac8390_ident()
222 if (fres->dr_hw == NUBUS_DRHW_SMC9194 || in mac8390_ident()
223 fres->dr_hw == NUBUS_DRHW_INTERLAN) in mac8390_ident()
294 struct nubus_rsrc *fres, in mac8390_rsrc_init() argument
297 struct nubus_board *board = fres->board; in mac8390_rsrc_init()
312 if (nubus_get_func_dir(fres, &dir) == -1) { in mac8390_rsrc_init()
398 struct nubus_rsrc *fres; in mac8390_device_probe() local
407 for_each_board_func_rsrc(board, fres) { in mac8390_device_probe()
408 if (fres->category != NUBUS_CAT_NETWORK || in mac8390_device_probe()
409 fres->type != NUBUS_TYPE_ETHERNET) in mac8390_device_probe()
412 cardtype = mac8390_ident(fres); in mac8390_device_probe()
416 if (mac8390_rsrc_init(dev, fres, cardtype)) in mac8390_device_probe()
419 if (!fres) in mac8390_device_probe()