Lines Matching refs:rgep

187 rge_param_register(rge_t *rgep)
197 dip = rgep->devinfo;
198 nddpp = &rgep->nd_data_p;
201 if (rgep->chipid.mac_ver == MAC_VER_8101E)
212 ndp = &rgep->nd_params[tmplp->ndp_info];
250 if (rgep->chipid.mac_ver == MAC_VER_8101E) {
262 rge_nd_init(rge_t *rgep)
273 if (rge_param_register(rgep) != DDI_SUCCESS)
284 dip = rgep->devinfo;
288 rge_log(rgep, "%s property is %d",
293 rgep->param_adv_autoneg = 1;
294 rgep->param_adv_1000fdx = 1;
295 rgep->param_adv_1000hdx = 1;
296 rgep->param_adv_100fdx = 0;
297 rgep->param_adv_100hdx = 0;
298 rgep->param_adv_10fdx = 0;
299 rgep->param_adv_10hdx = 0;
303 rgep->param_adv_autoneg = 1;
304 rgep->param_adv_1000fdx = 0;
305 rgep->param_adv_1000hdx = 0;
306 rgep->param_adv_100fdx = 1;
307 rgep->param_adv_100hdx = 1;
308 rgep->param_adv_10fdx = 0;
309 rgep->param_adv_10hdx = 0;
313 rgep->param_adv_autoneg = 1;
314 rgep->param_adv_1000fdx = 0;
315 rgep->param_adv_1000hdx = 0;
316 rgep->param_adv_100fdx = 0;
317 rgep->param_adv_100hdx = 0;
318 rgep->param_adv_10fdx = 1;
319 rgep->param_adv_10hdx = 1;
337 rgep->param_adv_autoneg = 0;
338 rgep->param_adv_1000fdx = 1;
339 rgep->param_adv_1000hdx = 1;
340 rgep->param_adv_100fdx = 1;
341 rgep->param_adv_100hdx = 1;
342 rgep->param_adv_10fdx = 1;
343 rgep->param_adv_10hdx = 1;
347 rge_log(rgep, "%s property is %d",
349 rge_log(rgep, "%s property is %d",
355 rgep->param_adv_100fdx = 0;
356 rgep->param_adv_100hdx = 0;
357 rgep->param_adv_10fdx = 0;
358 rgep->param_adv_10hdx = 0;
362 rgep->param_adv_1000fdx = 0;
363 rgep->param_adv_1000hdx = 0;
364 rgep->param_adv_10fdx = 0;
365 rgep->param_adv_10hdx = 0;
369 rgep->param_adv_1000fdx = 0;
370 rgep->param_adv_1000hdx = 0;
371 rgep->param_adv_100fdx = 0;
372 rgep->param_adv_100hdx = 0;
379 rgep->param_adv_1000hdx = 0;
380 rgep->param_adv_100hdx = 0;
381 rgep->param_adv_10hdx = 0;
385 rgep->param_adv_1000fdx = 0;
386 rgep->param_adv_100fdx = 0;
387 rgep->param_adv_10fdx = 0;
397 rgep->param_adv_autoneg,
398 rgep->param_adv_pause, rgep->param_adv_asym_pause,
399 rgep->param_adv_1000fdx, rgep->param_adv_1000hdx,
400 rgep->param_adv_100fdx, rgep->param_adv_100hdx,
401 rgep->param_adv_10fdx, rgep->param_adv_10hdx));
407 rge_nd_ioctl(rge_t *rgep, queue_t *wq, mblk_t *mp, struct iocblk *iocp)
415 (void *)rgep, (void *)wq, (void *)mp, (void *)iocp));
417 ASSERT(mutex_owned(rgep->genlock));
423 rge_error(rgep, "rge_nd_ioctl: invalid cmd 0x%x", cmd);
436 ok = nd_getset(wq, rgep->nd_data_p, mp);
445 if (rgep->param_loop_mode != RGE_LOOP_NONE) {
456 ndp = &rgep->nd_params[PARAM_ADV_AUTONEG_CAP];
458 ok = nd_getset(wq, rgep->nd_data_p, mp);
486 rge_nd_cleanup(rge_t *rgep)
488 nd_free(&rgep->nd_data_p);