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()
180 switch (fres->dr_hw) { in mac8390_ident()
195 if (fres->dr_hw == NUBUS_DRHW_CABLETRON) in mac8390_ident()
204 switch (fres->dr_hw) { in mac8390_ident()
216 if (fres->dr_hw == NUBUS_DRHW_SMC9194 || in mac8390_ident()
217 fres->dr_hw == NUBUS_DRHW_INTERLAN) in mac8390_ident()
287 struct nubus_rsrc *fres, in mac8390_rsrc_init() argument
290 struct nubus_board *board = fres->board; in mac8390_rsrc_init()
305 if (nubus_get_func_dir(fres, &dir) == -1) { in mac8390_rsrc_init()
391 struct nubus_rsrc *fres; in mac8390_device_probe() local
400 for_each_board_func_rsrc(board, fres) { in mac8390_device_probe()
401 if (fres->category != NUBUS_CAT_NETWORK || in mac8390_device_probe()
402 fres->type != NUBUS_TYPE_ETHERNET) in mac8390_device_probe()
405 cardtype = mac8390_ident(fres); in mac8390_device_probe()
409 if (mac8390_rsrc_init(dev, fres, cardtype)) in mac8390_device_probe()
412 if (!fres) in mac8390_device_probe()