Lines Matching defs:to

8  * This code is derived from software contributed to The NetBSD Foundation
148 * to it.
177 /* Attempt to map the NIC space. */
183 /* Attempt to map the ASIC space. */
189 /* Attempt to map the memory space. */
198 * This is really only useful to see if something that looks like
199 * the board is there; after all, we're already talking to it at
254 * to it.
311 * The 3Com ASIC defaults to rather strange settings for the CR
312 * after a reset. It's important to set it again after the
317 /* Wait a bit for the NIC to recover from the reset. */
344 * Attempt to clear WTS. If it doesn't clear, then this is a
352 /* The 3c503 forces the WTS bit to a one if this is a 16-bit board. */
369 * FIFO threshold to 8, No auto-init Remote DMA,
397 * We need to override the way dp8390_config() set up our
400 * We have an entire 8k window to put the transmit buffers on the
402 * fast enough to overlap the loading of one full-size packet, trying
403 * to load more than 2 buffers can actually leave the transmitter idle
468 * are compared to 20 bits of the address on the ISA, and if they
469 * match, the shared memory is disabled. We se them to 0xffff0...
495 * We have to do this after we initialize the GA, but we
496 * have to do that after calling dp8390_config(), which
497 * wants to test memory. Put this noop here, and then
532 printf("%s: failed to clear shared memory at offset 0x%x\n",
539 * copy 'len' from NIC to host using shared memory. The 'len' is rounded
540 * up to a word - ok as long as mbufs are word-sized.
543 ec_readmem(struct ec_softc *esc, int from, u_int8_t *to, int len)
552 bus_space_read_region_2(memt, memh, from, (u_int16_t *)to,
555 bus_space_read_region_1(memt, memh, from, to, len);
587 * in a different page; switch to it.
655 * Switch back to receive page.
671 /* Does copy wrap to lower addr in ring buffer? */
675 /* Copy amount up to end of NIC memory. */