Lines Matching defs:yge_dev
2123 struct yge_dev { struct
2124 dev_info_t *d_dip;
2126 const char *d_product;
2127 const char *d_model;
2129 caddr_t d_regs;
2130 ddi_acc_handle_t d_regsh;
2131 ddi_acc_handle_t d_pcih;
2133 uint8_t d_hw_id;
2134 uint8_t d_hw_rev;
2135 yge_bus_t d_bustype;
2136 uint8_t d_num_port;
2137 int d_ramsize; /* amount of SRAM on NIC */
2138 uint32_t d_pmd; /* physical media type */
2139 uint32_t d_coppertype;
2140 uint32_t d_intrmask;
2141 uint32_t d_intrhwemask;
2142 uint32_t d_pflags;
2143 boolean_t d_suspended;
2144 int d_clock;
2145 yge_port_t *d_port[2];
2146 int d_txqsize;
2147 int d_rxqsize;
2148 int d_txqstart[2];
2149 int d_txqend[2];
2150 int d_rxqstart[2];
2151 int d_rxqend[2];
2153 yge_ring_t d_status_ring;
2154 int d_process_limit;
2155 int d_stat_cons;
2157 kmutex_t d_txlock;
2158 kmutex_t d_rxlock;
2159 kmutex_t d_phylock;
2162 ddi_taskq_t *d_task_q;
2163 kcondvar_t d_task_cv;
2164 kmutex_t d_task_mtx;
2165 int d_task_flags;
2169 ddi_periodic_t d_periodic;
2172 ddi_intr_handle_t *d_intrh;
2173 int d_intrsize;
2174 uint_t d_intrpri;
2175 int d_intrcap;
2176 int d_intrcnt;