Lines Matching defs:ugcp

766 	struct usbgem_conf	*ugcp;
787 ugcp = kmem_zalloc(sizeof (*ugcp), KM_SLEEP);
790 (void) sprintf(ugcp->usbgc_name,
793 ugcp->usbgc_ppa = urf_ppa;
795 ugcp->usbgc_ppa = unit;
797 ugcp->usbgc_ifnum = 0;
798 ugcp->usbgc_alt = 0;
800 ugcp->usbgc_tx_list_max = 16;
803 ugcp->usbgc_rx_header_len = 0;
804 ugcp->usbgc_rx_list_max = 64;
807 ugcp->usbgc_tx_timeout = USBGEM_TX_TIMEOUT;
808 ugcp->usbgc_tx_timeout_interval = ONESEC;
811 ugcp->usbgc_flow_control = FLOW_CONTROL_RX_PAUSE;
814 ugcp->usbgc_mii_link_watch_interval = ONESEC;
815 ugcp->usbgc_mii_an_watch_interval = ONESEC/5;
816 ugcp->usbgc_mii_reset_timeout = MII_RESET_TIMEOUT; /* 1 sec */
817 ugcp->usbgc_mii_an_timeout = MII_AN_TIMEOUT; /* 5 sec */
818 ugcp->usbgc_mii_an_wait = (25*ONESEC)/10;
819 ugcp->usbgc_mii_linkdown_timeout = MII_LINKDOWN_TIMEOUT;
821 ugcp->usbgc_mii_an_delay = ONESEC/10;
822 ugcp->usbgc_mii_linkdown_action = MII_ACTION_RSA;
823 ugcp->usbgc_mii_linkdown_timeout_action = MII_ACTION_RESET;
824 ugcp->usbgc_mii_dont_reset = B_FALSE;
829 ugcp->usbgc_attach_chip = &urf_attach_chip;
830 ugcp->usbgc_reset_chip = &urf_reset_chip;
831 ugcp->usbgc_init_chip = &urf_init_chip;
832 ugcp->usbgc_start_chip = &urf_start_chip;
833 ugcp->usbgc_stop_chip = &urf_stop_chip;
834 ugcp->usbgc_multicast_hash = &urf_mcast_hash;
836 ugcp->usbgc_set_rx_filter = &urf_set_rx_filter;
837 ugcp->usbgc_set_media = &urf_set_media;
838 ugcp->usbgc_get_stats = &urf_get_stats;
840 ugcp->usbgc_interrupt = &urf_interrupt;
842 ugcp->usbgc_interrupt = NULL;
845 ugcp->usbgc_tx_make_packet = &urf_tx_make_packet;
846 ugcp->usbgc_rx_make_packet = &urf_rx_make_packet;
849 ugcp->usbgc_mii_probe = &usbgem_mii_probe_default;
850 ugcp->usbgc_mii_init = &usbgem_mii_init_default;
851 ugcp->usbgc_mii_config = &usbgem_mii_config_default;
852 ugcp->usbgc_mii_read = &urf_mii_read;
853 ugcp->usbgc_mii_write = &urf_mii_write;
856 ugcp->usbgc_min_mtu = ETHERMTU;
857 ugcp->usbgc_max_mtu = ETHERMTU;
858 ugcp->usbgc_default_mtu = ETHERMTU;
865 dp = usbgem_do_attach(dip, ugcp, lp, sizeof (struct urf_dev));
867 kmem_free(ugcp, sizeof (*ugcp));