]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
net: ethernet: Correcting the offset for EP register in tsn shaper
authorSaurabh Sengar <saurabh.singh@xilinx.com>
Wed, 31 May 2017 06:40:05 +0000 (12:10 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 12:13:46 +0000 (14:13 +0200)
Correcting the register offset relative to base address of Endpoint

Signed-off-by: Saurabh Sengar <saurabhs@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_tsn_shaper.h

index 587862d88aefe1a4dc894067839afa612ab7925a..b86a39f8be63ff3dc4380b6626d9d8013726a664 100644 (file)
@@ -49,7 +49,7 @@ enum hw_port {
 };
 
                             /* EP */ /* TEMAC1 */ /* TEMAC2*/
-static u32 qbv_reg_map[3] = { 0x16000,   0x14000,     0x14000 };
+static u32 qbv_reg_map[3] = { 0x0,   0x14000,     0x14000 };
 
 /* 0x14000     0x14FFC Time Schedule Registers (Control & Status)
  * 0x15000     0x15FFF Time Schedule Control List Entries