mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +00:00
net: macb: Add SG support for Zynq SOC family
Enable SG support for Zynq SOC family devices. Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6ab13b2769
commit
7baaa9092d
@ -2741,8 +2741,7 @@ static const struct macb_config emac_config = {
|
|||||||
|
|
||||||
|
|
||||||
static const struct macb_config zynqmp_config = {
|
static const struct macb_config zynqmp_config = {
|
||||||
.caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE |
|
.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO,
|
||||||
MACB_CAPS_JUMBO,
|
|
||||||
.dma_burst_length = 16,
|
.dma_burst_length = 16,
|
||||||
.clk_init = macb_clk_init,
|
.clk_init = macb_clk_init,
|
||||||
.init = macb_init,
|
.init = macb_init,
|
||||||
@ -2750,8 +2749,7 @@ static const struct macb_config zynqmp_config = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const struct macb_config zynq_config = {
|
static const struct macb_config zynq_config = {
|
||||||
.caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE |
|
.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_NO_GIGABIT_HALF,
|
||||||
MACB_CAPS_NO_GIGABIT_HALF,
|
|
||||||
.dma_burst_length = 16,
|
.dma_burst_length = 16,
|
||||||
.clk_init = macb_clk_init,
|
.clk_init = macb_clk_init,
|
||||||
.init = macb_init,
|
.init = macb_init,
|
||||||
|
Loading…
Reference in New Issue
Block a user