diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2010-03-05 22:38:44 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-07 02:57:51 -0500 |
commit | d1c61f8ef582055569de76a86fa1984f9b6698cf (patch) | |
tree | 8fdde39bb65007096eebf834470a6d787a69b394 /drivers/scsi/bfa/bfa_ioc_cb.c | |
parent | 95aa060decd2472d319c3f12b0b1b699a5f35058 (diff) |
[SCSI] bfa: Remove unused header files and did some cleanup.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_ioc_cb.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc_cb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc_cb.c b/drivers/scsi/bfa/bfa_ioc_cb.c index 1fa052ef9ce0..3ce85319f739 100644 --- a/drivers/scsi/bfa/bfa_ioc_cb.c +++ b/drivers/scsi/bfa/bfa_ioc_cb.c | |||
@@ -63,13 +63,13 @@ bfa_ioc_set_cb_hwif(struct bfa_ioc_s *ioc) | |||
63 | ioc->ioc_hwif = &hwif_cb; | 63 | ioc->ioc_hwif = &hwif_cb; |
64 | } | 64 | } |
65 | 65 | ||
66 | static uint32_t * | 66 | static u32 * |
67 | bfa_ioc_cb_fwimg_get_chunk(struct bfa_ioc_s *ioc, uint32_t off) | 67 | bfa_ioc_cb_fwimg_get_chunk(struct bfa_ioc_s *ioc, u32 off) |
68 | { | 68 | { |
69 | return bfi_image_cb_get_chunk(off); | 69 | return bfi_image_cb_get_chunk(off); |
70 | } | 70 | } |
71 | 71 | ||
72 | static uint32_t | 72 | static u32 |
73 | bfa_ioc_cb_fwimg_get_size(struct bfa_ioc_s *ioc) | 73 | bfa_ioc_cb_fwimg_get_size(struct bfa_ioc_s *ioc) |
74 | { | 74 | { |
75 | return bfi_image_cb_size; | 75 | return bfi_image_cb_size; |
@@ -102,7 +102,7 @@ bfa_ioc_cb_notify_hbfail(struct bfa_ioc_s *ioc) | |||
102 | /** | 102 | /** |
103 | * Host to LPU mailbox message addresses | 103 | * Host to LPU mailbox message addresses |
104 | */ | 104 | */ |
105 | static struct { uint32_t hfn_mbox, lpu_mbox, hfn_pgn; } iocreg_fnreg[] = { | 105 | static struct { u32 hfn_mbox, lpu_mbox, hfn_pgn; } iocreg_fnreg[] = { |
106 | { HOSTFN0_LPU_MBOX0_0, LPU_HOSTFN0_MBOX0_0, HOST_PAGE_NUM_FN0 }, | 106 | { HOSTFN0_LPU_MBOX0_0, LPU_HOSTFN0_MBOX0_0, HOST_PAGE_NUM_FN0 }, |
107 | { HOSTFN1_LPU_MBOX0_8, LPU_HOSTFN1_MBOX0_8, HOST_PAGE_NUM_FN1 } | 107 | { HOSTFN1_LPU_MBOX0_8, LPU_HOSTFN1_MBOX0_8, HOST_PAGE_NUM_FN1 } |
108 | }; | 108 | }; |
@@ -110,7 +110,7 @@ static struct { uint32_t hfn_mbox, lpu_mbox, hfn_pgn; } iocreg_fnreg[] = { | |||
110 | /** | 110 | /** |
111 | * Host <-> LPU mailbox command/status registers | 111 | * Host <-> LPU mailbox command/status registers |
112 | */ | 112 | */ |
113 | static struct { uint32_t hfn, lpu; } iocreg_mbcmd[] = { | 113 | static struct { u32 hfn, lpu; } iocreg_mbcmd[] = { |
114 | { HOSTFN0_LPU0_CMD_STAT, LPU0_HOSTFN0_CMD_STAT }, | 114 | { HOSTFN0_LPU0_CMD_STAT, LPU0_HOSTFN0_CMD_STAT }, |
115 | { HOSTFN1_LPU1_CMD_STAT, LPU1_HOSTFN1_CMD_STAT } | 115 | { HOSTFN1_LPU1_CMD_STAT, LPU1_HOSTFN1_CMD_STAT } |
116 | }; | 116 | }; |
@@ -192,7 +192,7 @@ static bfa_status_t | |||
192 | bfa_ioc_cb_pll_init(struct bfa_ioc_s *ioc) | 192 | bfa_ioc_cb_pll_init(struct bfa_ioc_s *ioc) |
193 | { | 193 | { |
194 | bfa_os_addr_t rb = ioc->pcidev.pci_bar_kva; | 194 | bfa_os_addr_t rb = ioc->pcidev.pci_bar_kva; |
195 | uint32_t pll_sclk, pll_fclk; | 195 | u32 pll_sclk, pll_fclk; |
196 | 196 | ||
197 | /* | 197 | /* |
198 | * Hold semaphore so that nobody can access the chip during init. | 198 | * Hold semaphore so that nobody can access the chip during init. |