/* * Data Buffer Descriptor. Data buffers must be aligned on 32 byte * boundary for both, receive and transmit.
*/ struct db_dest { struct db_dest *pnext;
u32 *vaddr;
dma_addr_t dma_addr;
};
/* * The transmit and receive descriptors are memory * mapped registers.
*/ struct tx_dma {
u32 status;
u32 buff_stat;
u32 len;
u32 pad;
};
int mac_enabled; /* whether MAC is currently enabled and running * (req. for mdio)
*/
int old_link; /* used by au1000_adjust_link */ int old_speed; int old_duplex;
struct mii_bus *mii_bus;
/* PHY configuration */ int phy_static_config; int phy_search_highest_addr; int phy1_search_mac0;
int phy_addr; int phy_busid; int phy_irq;
/* These variables are just for quick access * to certain regs addresses.
*/ struct mac_reg *mac; /* mac registers */
u32 *enable; /* address of MAC Enable Register */ void __iomem *macdma; /* base of MAC DMA port */ void *vaddr; /* virtual address of rx/tx buffers */
dma_addr_t dma_addr; /* dma address of rx/tx buffers */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.