diff options
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index 0319d640f728..eec8d34b6c88 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h | |||
@@ -228,7 +228,7 @@ struct stmmac_desc_ops { | |||
228 | int (*get_rx_owner) (struct dma_desc *p); | 228 | int (*get_rx_owner) (struct dma_desc *p); |
229 | void (*set_rx_owner) (struct dma_desc *p); | 229 | void (*set_rx_owner) (struct dma_desc *p); |
230 | /* Get the receive frame size */ | 230 | /* Get the receive frame size */ |
231 | int (*get_rx_frame_len) (struct dma_desc *p); | 231 | int (*get_rx_frame_len) (struct dma_desc *p, int rx_coe_type); |
232 | /* Return the reception status looking at the RDES1 */ | 232 | /* Return the reception status looking at the RDES1 */ |
233 | int (*rx_status) (void *data, struct stmmac_extra_stats *x, | 233 | int (*rx_status) (void *data, struct stmmac_extra_stats *x, |
234 | struct dma_desc *p); | 234 | struct dma_desc *p); |
@@ -261,8 +261,8 @@ struct stmmac_dma_ops { | |||
261 | struct stmmac_ops { | 261 | struct stmmac_ops { |
262 | /* MAC core initialization */ | 262 | /* MAC core initialization */ |
263 | void (*core_init) (void __iomem *ioaddr) ____cacheline_aligned; | 263 | void (*core_init) (void __iomem *ioaddr) ____cacheline_aligned; |
264 | /* Support checksum offload engine */ | 264 | /* Enable and verify that the IPC module is supported */ |
265 | int (*rx_coe) (void __iomem *ioaddr); | 265 | int (*rx_ipc) (void __iomem *ioaddr); |
266 | /* Dump MAC registers */ | 266 | /* Dump MAC registers */ |
267 | void (*dump_regs) (void __iomem *ioaddr); | 267 | void (*dump_regs) (void __iomem *ioaddr); |
268 | /* Handle extra events on specific interrupts hw dependent */ | 268 | /* Handle extra events on specific interrupts hw dependent */ |