mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
bbb6189df4
commit
a2e7699eb5
20 changed files with 6535 additions and 6094 deletions
|
@ -316,16 +316,16 @@ enum qed_int_mode {
|
|||
};
|
||||
|
||||
struct qed_sb_info {
|
||||
struct status_block *sb_virt;
|
||||
dma_addr_t sb_phys;
|
||||
u32 sb_ack; /* Last given ack */
|
||||
u16 igu_sb_id;
|
||||
void __iomem *igu_addr;
|
||||
u8 flags;
|
||||
#define QED_SB_INFO_INIT 0x1
|
||||
#define QED_SB_INFO_SETUP 0x2
|
||||
struct status_block *sb_virt;
|
||||
dma_addr_t sb_phys;
|
||||
u32 sb_ack; /* Last given ack */
|
||||
u16 igu_sb_id;
|
||||
void __iomem *igu_addr;
|
||||
u8 flags;
|
||||
#define QED_SB_INFO_INIT 0x1
|
||||
#define QED_SB_INFO_SETUP 0x2
|
||||
|
||||
struct qed_dev *cdev;
|
||||
struct qed_dev *cdev;
|
||||
};
|
||||
|
||||
enum qed_dev_type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue