Lines Matching defs:ugcp

765 	struct usbgem_conf	*ugcp;
778 ugcp = kmem_zalloc(sizeof (*ugcp), KM_SLEEP);
785 (void) sprintf(ugcp->usbgc_name, "%s%d", drv_name, unit);
786 ugcp->usbgc_ppa = unit;
788 ugcp->usbgc_ifnum = 0;
789 ugcp->usbgc_alt = 0;
791 ugcp->usbgc_tx_list_max = 64;
793 ugcp->usbgc_rx_header_len = RX_HEADER_SIZE;
794 ugcp->usbgc_rx_list_max = 64;
797 ugcp->usbgc_tx_timeout = USBGEM_TX_TIMEOUT;
798 ugcp->usbgc_tx_timeout_interval = USBGEM_TX_TIMEOUT_INTERVAL;
801 ugcp->usbgc_flow_control = FLOW_CONTROL_RX_PAUSE;
807 ugcp->usbgc_flow_control = FLOW_CONTROL_NONE;
810 ugcp->usbgc_mii_link_watch_interval =
812 ugcp->usbgc_mii_an_watch_interval =
814 ugcp->usbgc_mii_reset_timeout = MII_RESET_TIMEOUT; /* 1 sec */
815 ugcp->usbgc_mii_an_timeout = MII_AN_TIMEOUT; /* 5 sec */
816 ugcp->usbgc_mii_an_wait = (25*ONESEC)/10;
817 ugcp->usbgc_mii_linkdown_timeout = MII_LINKDOWN_TIMEOUT;
819 ugcp->usbgc_mii_an_delay = ONESEC/10;
820 ugcp->usbgc_mii_linkdown_action = MII_ACTION_RSA;
821 ugcp->usbgc_mii_linkdown_timeout_action = MII_ACTION_RESET;
822 ugcp->usbgc_mii_dont_reset = B_FALSE;
823 ugcp->usbgc_mii_hw_link_detection = B_TRUE;
828 ugcp->usbgc_attach_chip = &udmf_attach_chip;
829 ugcp->usbgc_reset_chip = &udmf_reset_chip;
830 ugcp->usbgc_init_chip = &udmf_init_chip;
831 ugcp->usbgc_start_chip = &udmf_start_chip;
832 ugcp->usbgc_stop_chip = &udmf_stop_chip;
833 ugcp->usbgc_multicast_hash = &udmf_mcast_hash;
835 ugcp->usbgc_set_rx_filter = &udmf_set_rx_filter;
836 ugcp->usbgc_set_media = &udmf_set_media;
837 ugcp->usbgc_get_stats = &udmf_get_stats;
838 ugcp->usbgc_interrupt = &udmf_interrupt;
841 ugcp->usbgc_tx_make_packet = &udmf_tx_make_packet;
842 ugcp->usbgc_rx_make_packet = &udmf_rx_make_packet;
845 ugcp->usbgc_mii_probe = &udmf_mii_probe;
846 ugcp->usbgc_mii_init = &udmf_mii_init;
847 ugcp->usbgc_mii_config = &usbgem_mii_config_default;
848 ugcp->usbgc_mii_read = &udmf_mii_read;
849 ugcp->usbgc_mii_write = &udmf_mii_write;
850 ugcp->usbgc_mii_addr_min = 1;
853 ugcp->usbgc_min_mtu = ETHERMTU;
854 ugcp->usbgc_max_mtu = ETHERMTU;
855 ugcp->usbgc_default_mtu = ETHERMTU;
861 dp = usbgem_do_attach(dip, ugcp, lp, sizeof (struct udmf_dev));
863 kmem_free(ugcp, sizeof (*ugcp));