Home | History | Annotate | Download | only in netboot

Lines Matching defs:ram

51  *        - Autoset memory mapped RAM. Check for free memory and then
52 * configure RAM correctly.
90 * RAM - used for the 16KB shared memory
96 * SK_ADDR defines the address where the RAM will be mapped into the real
105 * to choose the RAM address. That's why we only can choose the RAM address
145 #define SK_POS3 ioaddr+3 /* Base address of RAM */
274 * We have 16KB RAM which can be accessed by the LANCE. In the
363 * SK_G16 RAM
368 * The Network components are: dual ported RAM, Prom, I/O Reg, Status-,
371 * dual ported RAM: This is the only memory region which the LANCE chip
398 unsigned char ram[0x3fc0]; /* 16KB dual ported ram */
409 * This is the structure for the dual ported ram. We
417 * RAM and nowhere else.
436 struct SK_ram *ram; /* dual ported ram structure */
636 /* Copy data into dual ported ram */
638 memcpy(&p->ram->tmdbuf[p->tmdnum][0], d, ETH_ALEN); /* dst */
639 memcpy(&p->ram->tmdbuf[p->tmdnum][ETH_ALEN], nic->node_addr, ETH_ALEN); /* src */
640 p->ram->tmdbuf[p->tmdnum][ETH_ALEN + ETH_ALEN] = t >> 8; /* type */
641 p->ram->tmdbuf[p->tmdnum][ETH_ALEN + ETH_ALEN + 1] = t; /* type */
642 memcpy(&p->ram->tmdbuf[p->tmdnum][ETH_HLEN], pack, s);
645 p->ram->tmdbuf[p->tmdnum][s++] = 0;
646 p->ram->tmde[p->tmdnum].status2 = 0x0;
781 unsigned int rom_addr; /* used to store RAM address used for POS_ADDR */
789 * place in the ram and set SK_ADDR if found. TODO.
798 outb(SK_ROM_RAM_OFF, SK_POS2); /* Boot_ROM + RAM off */
799 outb(POS_ADDR, SK_POS3); /* Set RAM address */
800 outb(SK_ROM_RAM_ON, SK_POS2); /* RAM on, BOOT_ROM on */
802 SK_print_pos(nic, "POS registers after ROM, RAM config");
821 PRINTF(("## %s: We did not find SK_G16 at RAM location.\n",
831 p->ram = (struct SK_ram *) rom_addr; /* Set dual ported RAM addr */
832 p->tmdhead = &(p->ram)->tmde[0]; /* Set TMD head */
833 p->rmdhead = &(p->ram)->rmde[0]; /* Set RMD head */
836 (unsigned int) ioaddr, (unsigned int) p->ram, nic->node_addr);
842 p->tmdbufs[i] = p->ram->tmdbuf[i];
847 p->rmdbufs[i] = p->ram->rmdbuf[i];
951 (p->ram)->ib.mode = mode; /* Set operation mode */
955 (p->ram)->ib.paddr[i] = *(nic->node_addr+i);
960 (p->ram)->ib.laddr[i] = 0; /* We do not use logical addressing */
965 (p->ram)->ib.rdrp = (int) p->rmdhead | RMDNUMMASK;
966 (p->ram)->ib.tdrp = (int) p->tmdhead | TMDNUMMASK;
973 * LANCE addresses the RAM from 0x0000 to 0x3fbf and has no access to
976 * In structure SK_ram is defined that the first thing in ram
1015 (unsigned int) &(p->ram)->ib);
1129 printf("## %s: RAM Details.\n"
1130 "## RAM at %#hX tmdhead: %#hX rmdhead: %#hX initblock: %#hX\n",
1132 (unsigned int) p->ram,
1135 (unsigned int) &(p->ram)->ib);