|
@@ -123,6 +123,7 @@ struct plat_stmmacenet_data {
|
|
|
int bugged_jumbo;
|
|
|
int pmt;
|
|
|
int force_sf_dma_mode;
|
|
|
+ int force_thresh_dma_mode;
|
|
|
int riwt_off;
|
|
|
void (*fix_mac_speed)(void *priv, unsigned int speed);
|
|
|
void (*bus_setup)(void __iomem *ioaddr);
|
|
@@ -159,6 +160,8 @@ Where:
|
|
|
o pmt: core has the embedded power module (optional).
|
|
|
o force_sf_dma_mode: force DMA to use the Store and Forward mode
|
|
|
instead of the Threshold.
|
|
|
+ o force_thresh_dma_mode: force DMA to use the Shreshold mode other than
|
|
|
+ the Store and Forward mode.
|
|
|
o riwt_off: force to disable the RX watchdog feature and switch to NAPI mode.
|
|
|
o fix_mac_speed: this callback is used for modifying some syscfg registers
|
|
|
(on ST SoCs) according to the link speed negotiated by the
|