]> 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>
Tue, 20 Jun 2017 12:13:30 +0000 (14:13 +0200)
commit78321f5473e48b8da8bc83028bd7fc5e1ba27b30
tree343efc9a1fc736408c533a6d59e5fa884cd4a50e
parentd17ef8bebb1f244033e1ba532fe305b204e17d83
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