drivers: eth: Kconfig.sam_gmac: Add sam4e support for queues
Fixed the ETH_SAM_GMAC_QUEUES config by adding if-statements per SoC series. Signed-off-by: Vincent van der Locht <vincent@vlotech.nl> Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
parent
93a0e4aa6d
commit
d1f51db366
|
@ -15,7 +15,9 @@ if ETH_SAM_GMAC
|
|||
config ETH_SAM_GMAC_QUEUES
|
||||
int "Number of active hardware TX and RX queues"
|
||||
default 1
|
||||
range 1 $(dt_node_int_prop_int,/soc/ethernet@40050088,num-queues)
|
||||
range 1 $(dt_node_int_prop_int,/soc/ethernet@40050088,num-queues) if SOC_SERIES_SAME70 || \
|
||||
SOC_SERIES_SAMV71
|
||||
range 1 $(dt_node_int_prop_int,/soc/ethernet@40034000,num-queues) if SOC_SERIES_SAM4E
|
||||
help
|
||||
Select the number of hardware queues used by the driver. Packets will be
|
||||
routed to appropriate queues based on their priority.
|
||||
|
|
Loading…
Reference in a new issue