Message ID | 12eab04fb430b58574731fbab98ee1354f91100c.1714046812.git.siyanteng@loongson.cn (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | stmmac: Add Loongson platform support | expand |
On Thu, Apr 25, 2024 at 09:01:56PM +0800, Yanteng Si wrote: > The loongson gnet will call it in the future. More descriptive commit log: "Export the DW GMAC DMA-ops descriptor so one could be available in the low-level platform drivers. It will be utilized to override some callbacks in order to handle the LS2K2000 GNET device specifics. The GNET controller support is being added in one of the following up commits." Other than that the change looks good. Thanks. Reviewed-by: Serge Semin <fancer.lancer@gmail.com> -Serge(y) > > Signed-off-by: Feiyang Chen <chenfeiyang@loongson.cn> > Signed-off-by: Yinggang Gu <guyinggang@loongson.cn> > Signed-off-by: Yanteng Si <siyanteng@loongson.cn> > --- > drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c > index f161ec9ac490..66c0c22908b1 100644 > --- a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c > +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c > @@ -296,3 +296,4 @@ const struct stmmac_dma_ops dwmac1000_dma_ops = { > .get_hw_feature = dwmac1000_get_hw_feature, > .rx_watchdog = dwmac1000_rx_watchdog, > }; > +EXPORT_SYMBOL_GPL(dwmac1000_dma_ops); > -- > 2.31.4 >
在 2024/5/3 18:27, Serge Semin 写道: > On Thu, Apr 25, 2024 at 09:01:56PM +0800, Yanteng Si wrote: >> The loongson gnet will call it in the future. > More descriptive commit log: > > "Export the DW GMAC DMA-ops descriptor so one could be available in > the low-level platform drivers. It will be utilized to override some > callbacks in order to handle the LS2K2000 GNET device specifics. The > GNET controller support is being added in one of the following up > commits." > > Other than that the change looks good. Thanks. > > Reviewed-by: Serge Semin<fancer.lancer@gmail.com> OK, Thanks! Thanks, Yanteng
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c index f161ec9ac490..66c0c22908b1 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac1000_dma.c @@ -296,3 +296,4 @@ const struct stmmac_dma_ops dwmac1000_dma_ops = { .get_hw_feature = dwmac1000_get_hw_feature, .rx_watchdog = dwmac1000_rx_watchdog, }; +EXPORT_SYMBOL_GPL(dwmac1000_dma_ops);