• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/

Lines Matching defs:to

26  *      v0.005: started to play around with LANCE-DMA. This driver will not
29 * v0.006: added pointer arrays to lance_private and setup routine for
32 * v0.007: Big shit. The LANCE seems to use a different DMA mechanism to
37 * seems to be correct. HK
39 * v0.008: mods to make PMAX_LANCE work. 01/09/1999 triemer
45 * PMAX requirement to only use halfword accesses to the
48 * v0.011: Converted the PMAD to the driver model. macro
177 * as seen from the CPU is (max) 128 kB long and has to be on an 128 kB
183 * four 32-bit words by the IOASIC. This leads to a strange padding:
267 /* Pointers to the ring buffers as seen from the CPU */
271 /* Pointers to the ring buffers as seen from the LANCE */
283 * so we have to give the structure an extra member making rap pointing
321 /* Point back to csr0 */
329 static void cp_to_buf(const int type, void *to, const void *from, int len)
335 memcpy(to, from, len);
338 tp = (unsigned short *) to;
357 tp = (unsigned short *) to;
385 static void cp_from_buf(const int type, void *to, const void *from, int len)
391 memcpy(to, from, len);
394 tp = (unsigned short *) to;
415 tp = (unsigned short *) to;
527 /* Wait for the lance to complete initialization */
628 /* Return the packet to the pool */
920 /* Now, give the packet to the lance */
1055 printk(KERN_ERR "%s: Unable to allocate etherdev, aborting.\n",
1117 "%s: Unable to reserve MMIO resource\n",
1213 /* Copy the ethernet address to the device structure, later to the
1246 /* busmaster_regval (CSR3) should be zero according to the PMAD-AA
1256 * use a timer to try again later when necessary. -DaveM
1265 "%s: Unable to register netdev, aborting.\n", name);