Lines Matching refs:fres
168 static enum mac8390_type mac8390_ident(struct nubus_rsrc *fres) in mac8390_ident() argument
170 switch (fres->dr_sw) { in mac8390_ident()
172 switch (fres->dr_hw) { in mac8390_ident()
183 switch (fres->dr_hw) { in mac8390_ident()
200 if (fres->dr_hw == NUBUS_DRHW_CABLETRON) in mac8390_ident()
211 switch (fres->dr_hw) { in mac8390_ident()
224 if (fres->dr_hw == NUBUS_DRHW_SMC9194 || in mac8390_ident()
225 fres->dr_hw == NUBUS_DRHW_INTERLAN) in mac8390_ident()
289 struct nubus_rsrc *fres, in mac8390_rsrc_init() argument
292 struct nubus_board *board = fres->board; in mac8390_rsrc_init()
307 if (nubus_get_func_dir(fres, &dir) == -1) { in mac8390_rsrc_init()
393 struct nubus_rsrc *fres; in mac8390_device_probe() local
402 for_each_board_func_rsrc(board, fres) { in mac8390_device_probe()
403 if (fres->category != NUBUS_CAT_NETWORK || in mac8390_device_probe()
404 fres->type != NUBUS_TYPE_ETHERNET) in mac8390_device_probe()
407 cardtype = mac8390_ident(fres); in mac8390_device_probe()
411 if (mac8390_rsrc_init(dev, fres, cardtype)) in mac8390_device_probe()
414 if (!fres) in mac8390_device_probe()