{ .compatible = "xlnx,ten-gig-eth-mac", .data = &axienet_10g_config}, {}, };MODULE_DEVICE_TABLE(of, axienet_of_match);/** * axienet_probe - Axi Ethernet probe function. * @pdev: Pointer to platform device structure. @@ -2041,6 +2051,14 @@ static int axienet_probe(struct pl...
of_node, "xlnx,ten-gig-eth-mac"))2119- lp->is_10Gmac = 1;2120 2122 2121 2123 lp->eth_hasnobuf = of_property_read_bool(pdev->dev.of_node,2122 2124 "xlnx,eth-hasnobuf"); 2123 2125 2124- if (!lp->eth_hasnobuf && !lp->is_10Gmac)...