]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Read device port count from the shmem
authorSudarsana Reddy Kalluru <skalluru@marvell.com>
Thu, 21 Feb 2019 14:03:31 +0000 (06:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2019 18:51:08 +0000 (10:51 -0800)
commit36b42aed6baf81e6598696b21bcf29fc46a06d3b
tree70fd0ddd5f07ab2d9ac9413f38f208072f17c9ce
parent813504675772dd1a9270b223a13dc43789d1fc63
qed: Read device port count from the shmem

Read port count from the shared memory instead of driver deriving this
value. This change simplifies the driver implementation and also avoids
any dependencies for finding the port-count.

Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_l2.c
drivers/net/ethernet/qlogic/qed/qed_mcp.h
drivers/net/ethernet/qlogic/qed/qed_ptp.c