Lines Matching defs:ugcp

1248 	struct usbgem_conf	*ugcp;
1288 ugcp = kmem_zalloc(sizeof (*ugcp), KM_SLEEP);
1295 (void) sprintf(ugcp->usbgc_name, "%s%d", drv_name, unit);
1296 ugcp->usbgc_ppa = unit;
1298 ugcp->usbgc_ifnum = 0;
1299 ugcp->usbgc_alt = 0;
1301 ugcp->usbgc_tx_list_max = 64;
1303 ugcp->usbgc_rx_header_len = 0;
1304 ugcp->usbgc_rx_list_max = 64;
1307 ugcp->usbgc_tx_timeout = USBGEM_TX_TIMEOUT;
1308 ugcp->usbgc_tx_timeout_interval = USBGEM_TX_TIMEOUT_INTERVAL;
1315 ugcp->usbgc_flow_control = FLOW_CONTROL_RX_PAUSE;
1318 ugcp->usbgc_mii_link_watch_interval = ONESEC;
1319 ugcp->usbgc_mii_an_watch_interval = ONESEC/5;
1320 ugcp->usbgc_mii_reset_timeout = MII_RESET_TIMEOUT; /* 1 sec */
1321 ugcp->usbgc_mii_an_timeout = MII_AN_TIMEOUT; /* 5 sec */
1322 ugcp->usbgc_mii_an_wait = 0;
1323 ugcp->usbgc_mii_linkdown_timeout = MII_LINKDOWN_TIMEOUT;
1325 ugcp->usbgc_mii_an_delay = ONESEC/10;
1326 ugcp->usbgc_mii_linkdown_action = MII_ACTION_RSA;
1327 ugcp->usbgc_mii_linkdown_timeout_action = MII_ACTION_RESET;
1328 ugcp->usbgc_mii_dont_reset = B_FALSE;
1329 ugcp->usbgc_mii_hw_link_detection = B_TRUE;
1330 ugcp->usbgc_mii_stop_mac_on_linkdown = B_FALSE;
1335 ugcp->usbgc_attach_chip = &axf_attach_chip;
1336 ugcp->usbgc_reset_chip = &axf_reset_chip;
1337 ugcp->usbgc_init_chip = &axf_init_chip;
1338 ugcp->usbgc_start_chip = &axf_start_chip;
1339 ugcp->usbgc_stop_chip = &axf_stop_chip;
1340 ugcp->usbgc_multicast_hash = &axf_mcast_hash;
1342 ugcp->usbgc_set_rx_filter = &axf_set_rx_filter;
1343 ugcp->usbgc_set_media = &axf_set_media;
1344 ugcp->usbgc_get_stats = &axf_get_stats;
1345 ugcp->usbgc_interrupt = &axf_interrupt;
1348 ugcp->usbgc_tx_make_packet = &axf_tx_make_packet;
1349 ugcp->usbgc_rx_make_packet = &axf_rx_make_packet;
1352 ugcp->usbgc_mii_probe = &axf_mii_probe;
1353 ugcp->usbgc_mii_init = &axf_mii_init;
1354 ugcp->usbgc_mii_config = &usbgem_mii_config_default;
1355 ugcp->usbgc_mii_read = &axf_mii_read;
1356 ugcp->usbgc_mii_write = &axf_mii_write;
1359 ugcp->usbgc_min_mtu = ETHERMTU;
1360 ugcp->usbgc_max_mtu = ETHERMTU;
1361 ugcp->usbgc_default_mtu = ETHERMTU;
1368 dp = usbgem_do_attach(dip, ugcp, lp, sizeof (struct axf_dev));
1370 kmem_free(ugcp, sizeof (*ugcp));