diff options
author | Mandy Lavi <mandy.lavi@freescale.com> | 2013-06-06 09:08:06 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-06-06 19:10:37 (GMT) |
commit | 67bedd38be71c8f6e104c8b390cb280f8fa2141f (patch) | |
tree | 31cada6e8701dca7d7de0861530e897076119b53 /drivers/net/ethernet/freescale | |
parent | 6b179d6d9a7be4377df8dd1fdaae4b259adf9fb9 (diff) | |
download | linux-fsl-qoriq-67bedd38be71c8f6e104c8b390cb280f8fa2141f.tar.xz |
fmd: B4/T4: Changed allocation of liodnBase to the Host Command
Changed allocation of liodnBase to the Host Command.
For Fmanv3 platforms the first (index 1) Offline Port is not used
therefore the liodnBase should be set starting with index 2 not 1
CR:ENGR00261726
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c index dde00e5..eadb36f 100644 --- a/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c +++ b/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_fm.c @@ -329,7 +329,11 @@ typedef _Packed struct { static const uint8_t phys1GRxPortId[] = {0x8,0x9,0xa,0xb,0xc,0xd,0xe,0xf}; static const uint8_t phys10GRxPortId[] = {0x10,0x11}; +#if (DPAA_VERSION >= 11) + static const uint8_t physOhPortId[] = {/* 0x1, */0x2,0x3,0x4,0x5,0x6,0x7}; +#else static const uint8_t physOhPortId[] = {0x1,0x2,0x3,0x4,0x5,0x6,0x7}; +#endif static const uint8_t phys1GTxPortId[] = {0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f}; static const uint8_t phys10GTxPortId[] = {0x30,0x31}; |