Source
/*
Ported to U-Boot by Christian Pellegrin <chri@ascensit.com>
Based on sources from the Linux kernel (pcnet_cs.c, 8390.h) and
eCOS(if_dp83902a.c, if_dp83902a.h). Both of these 2 wonderful world
are GPL, so this is, of course, GPL.
*/
/* Generic NS8390 register definitions. */
/* This file is part of Donald Becker's 8390 drivers, and is distributed
under the same license. Auto-loading of 8390.o only in v2.2 - Paul G.
Some of these names and comments originated from the Crynwr
packet drivers, which are distributed under the GPL. */
/* Some generic ethernet register configurations. */
/* For register EN0_ISR */
/* EN0_RXCR: broadcasts, no multicast,errors */
/* EN0_RXCR: Accept no packets */
/* EN0_TXCR: Normal transmit mode */
/* EN0_TXCR: Transmitter off */
/* Register accessed at EN_CMD, the 8390 base addr. */
/* Stop and reset the chip */
/* Start the chip, clear reset */
/* Transmit a frame */
/* Remote read */
/* Remote write */
/* Remote DMA */
/* Select page chip registers */
/* using the two high-order bits */
/* Page 3 is invalid. */
/*
* Only generate indirect loads given a machine that needs them.
* - removed AMIGA_PCMCIA from this list, handled as ISA io now
*/
/* The command register (for all pages) */
/* Page 0 register offsets. */
/* Low byte of current local dma addr RD */
/* Starting page of ring bfr WR */
/* High byte of current local dma addr RD */
/* Ending page +1 of ring bfr WR */
/* Boundary page of ring bfr RD WR */
/* Transmit status reg RD */
/* Transmit starting page WR */
/* Number of collision reg RD */
/* Low byte of tx byte count WR */
/* FIFO RD */
/* High byte of tx byte count WR */
/* Interrupt status reg RD WR */
/* low byte of current remote dma address RD */