summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/fsl_mcdmafec.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-10 16:38:40 -0500
committerTom Rini <trini@konsulko.com>2020-01-10 16:38:40 -0500
commitef2f0d323652c1162937df668b33b3bfe0ca3904 (patch)
treef957b7e9edcf79403f8a582d17dc4103f293fc10 /arch/m68k/include/asm/fsl_mcdmafec.h
parentc00bd81ae0d6eb1f94e26b31be3a64cadaa05bcb (diff)
parent4f731c795d75aee548f6886f4f0da0a49a99354d (diff)
Merge branch '2020-01-10-master-imports'
- Android image support enhancements - Assorted ARM fixes and enhancements - m68k update
Diffstat (limited to 'arch/m68k/include/asm/fsl_mcdmafec.h')
-rw-r--r--arch/m68k/include/asm/fsl_mcdmafec.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/arch/m68k/include/asm/fsl_mcdmafec.h b/arch/m68k/include/asm/fsl_mcdmafec.h
index c283ad4a95..de6c548faf 100644
--- a/arch/m68k/include/asm/fsl_mcdmafec.h
+++ b/arch/m68k/include/asm/fsl_mcdmafec.h
@@ -72,20 +72,21 @@ struct fec_info_dma {
int phyname_init;
cbd_t *rxbd; /* Rx BD */
cbd_t *txbd; /* Tx BD */
- uint rxIdx;
- uint txIdx;
+ uint rx_idx;
+ uint tx_idx;
char *txbuf;
int initialized;
struct fec_info_dma *next;
-
- u16 rxTask; /* DMA receive Task Number */
- u16 txTask; /* DMA Transmit Task Number */
- u16 rxPri; /* DMA Receive Priority */
- u16 txPri; /* DMA Transmit Priority */
- u16 rxInit; /* DMA Receive Initiator */
- u16 txInit; /* DMA Transmit Initiator */
- u16 usedTbdIdx; /* next transmit BD to clean */
- u16 cleanTbdNum; /* the number of available transmit BDs */
+ u16 rx_task; /* DMA receive Task Number */
+ u16 tx_task; /* DMA Transmit Task Number */
+ u16 rx_pri; /* DMA Receive Priority */
+ u16 tx_pri; /* DMA Transmit Priority */
+ u16 rx_init; /* DMA Receive Initiator */
+ u16 tx_init; /* DMA Transmit Initiator */
+ u16 used_tbd_idx; /* next transmit BD to clean */
+ u16 clean_tbd_num; /* the number of available transmit BDs */
+ int to_loop;
+ struct mii_dev *bus;
};
/* Bit definitions and macros for IEVENT */