Skip to content

Commit eef1247

Browse files
NET:ETH:ALTERA: HSSI and non-HSSI to be compiled independently
1 parent 3a5b109 commit eef1247

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/altera/intel_fpga_eth_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,6 +2254,7 @@ static const struct xtile_spec_ops ftile_data = {
22542254

22552255
static const struct xtile_spec_ops gts_data = {
22562256
.dma_ops = &altera_dtype_prefetcher,
2257+
#ifdef CONFIG_INTEL_FPGA_GTS_TILE
22572258
.tile = {
22582259
.reset = gts_ehip_reset,
22592260
.deassert_reset = gts_ehip_deassert_reset,
@@ -2268,6 +2269,7 @@ static const struct xtile_spec_ops gts_data = {
22682269
intel_fpga_gts_set_ethtool_ops,
22692270
.check_dts_param = gts_check_dts_param,
22702271
},
2272+
#endif
22712273
};
22722274

22732275
static const struct of_device_id intel_fpga_xtile_ll_ids[] = {

0 commit comments

Comments
 (0)