Lines Matching defs:hp100_private
151 struct hp100_private { struct
152 spinlock_t lock;
153 char id[HP100_SIG_LEN];
154 u_short chip;
155 u_short soft_model;
156 u_int memory_size;
157 u_int virt_memory_size;
158 u_short rx_ratio; /* 1 - 99 */
159 u_short priority_tx; /* != 0 - priority tx */
160 u_short mode; /* PIO, Shared Mem or Busmaster */
161 u_char bus;
162 struct pci_dev *pci_dev;
163 short mem_mapped; /* memory mapped access */
164 void __iomem *mem_ptr_virt; /* virtual memory mapped area, maybe NULL */
165 unsigned long mem_ptr_phys; /* physical memory mapped area */
166 short lan_type; /* 10Mb/s, 100Mb/s or -1 (error) */
167 int hub_status; /* was login to hub successful? */
168 u_char mac1_mode;
169 u_char mac2_mode;
170 u_char hash_bytes[8];
173 hp100_ring_t *rxrhead; /* Head (oldest) index into rxring */
174 hp100_ring_t *rxrtail; /* Tail (newest) index into rxring */
175 hp100_ring_t *txrhead; /* Head (oldest) index into txring */
176 hp100_ring_t *txrtail; /* Tail (newest) index into txring */
178 hp100_ring_t rxring[MAX_RX_PDL];
179 hp100_ring_t txring[MAX_TX_PDL];
181 u_int *page_vaddr_algn; /* Aligned virtual address of allocated page */
182 u_long whatever_offset; /* Offset to bus/phys/dma address */
183 int rxrcommit; /* # Rx PDLs committed to adapter */
184 int txrcommit; /* # Tx PDLs committed to adapter */