]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drivers: net: ethernet: axienet: correcting the parsing of device tree for axienet
authorSaurabh Sengar <saurabh.singh@xilinx.com>
Mon, 1 May 2017 10:00:26 +0000 (15:30 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 Mar 2018 14:18:07 +0000 (15:18 +0100)
commit354b1219ea2b020fb933f35dc2584a80a8aef3ce
treeba32c6c00524984285eb1e24634130f5e6071239
parent0ef08a034cbbb044559876ee400fba9d1cb5e5a7
drivers: net: ethernet: axienet: correcting the parsing of device tree for axienet

When TSN flags are enable it shouldn't effect AXIENET device tree parsing.
Hence added an extra is_tsn check at runtime, making parsing of both the
drivers exclusive irrespective of which flag is enabled.

Signed-off-by: Saurabh Sengar <saurabhs@xilinx.com>
Acked-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c