qed*: Refactoring and rearranging FW API with no functional impact
authorTomer Tayar <Tomer.Tayar@cavium.com>
Wed, 27 Dec 2017 17:30:05 +0000 (19:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 18:59:15 +0000 (13:59 -0500)
commita2e7699eb50fda6450036129f7c0642b3349b879
treef9e01f366f2cc2c1fa2b3e1a4b80be03c951cccf
parentbbb6189df4077cde8592cd2f804bb1122067dd32
qed*: Refactoring and rearranging FW API with no functional impact

This patch refactors and reorders the FW API files in preparation of
upgrading the code to support new FW.

- Make use of the BIT macro in appropriate places.
- Whitespace changes to align values and code blocks.
- Comments are updated (spelling mistakes, removed if not clear).
- Group together code blocks which are related or deal with similar
 matters.

Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 files changed:
drivers/infiniband/hw/qedr/qedr_hsi_rdma.h
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_cxt.c
drivers/net/ethernet/qlogic/qed/qed_debug.c
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
drivers/scsi/qedi/qedi_fw_api.c
include/linux/qed/common_hsi.h
include/linux/qed/eth_common.h
include/linux/qed/fcoe_common.h
include/linux/qed/iscsi_common.h
include/linux/qed/iwarp_common.h
include/linux/qed/qed_if.h
include/linux/qed/rdma_common.h
include/linux/qed/roce_common.h
include/linux/qed/storage_common.h
include/linux/qed/tcp_common.h