diff options
Diffstat (limited to 'drivers/scsi/bfa/bfa_ioc.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc.c b/drivers/scsi/bfa/bfa_ioc.c index a8f745420f32..cd532444ffd9 100644 --- a/drivers/scsi/bfa/bfa_ioc.c +++ b/drivers/scsi/bfa/bfa_ioc.c | |||
@@ -15,11 +15,11 @@ | |||
15 | * General Public License for more details. | 15 | * General Public License for more details. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #include "bfad_drv.h" | ||
18 | #include "bfa_ioc.h" | 19 | #include "bfa_ioc.h" |
19 | #include "bfi_ctreg.h" | 20 | #include "bfi_ctreg.h" |
20 | #include "bfa_defs.h" | 21 | #include "bfa_defs.h" |
21 | #include "bfa_defs_svc.h" | 22 | #include "bfa_defs_svc.h" |
22 | #include "bfad_drv.h" | ||
23 | 23 | ||
24 | BFA_TRC_FILE(CNA, IOC); | 24 | BFA_TRC_FILE(CNA, IOC); |
25 | 25 | ||
@@ -1428,12 +1428,12 @@ static void | |||
1428 | bfa_ioc_send_enable(struct bfa_ioc_s *ioc) | 1428 | bfa_ioc_send_enable(struct bfa_ioc_s *ioc) |
1429 | { | 1429 | { |
1430 | struct bfi_ioc_ctrl_req_s enable_req; | 1430 | struct bfi_ioc_ctrl_req_s enable_req; |
1431 | struct bfa_timeval_s tv; | 1431 | struct timeval tv; |
1432 | 1432 | ||
1433 | bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, | 1433 | bfi_h2i_set(enable_req.mh, BFI_MC_IOC, BFI_IOC_H2I_ENABLE_REQ, |
1434 | bfa_ioc_portid(ioc)); | 1434 | bfa_ioc_portid(ioc)); |
1435 | enable_req.ioc_class = ioc->ioc_mc; | 1435 | enable_req.ioc_class = ioc->ioc_mc; |
1436 | bfa_os_gettimeofday(&tv); | 1436 | do_gettimeofday(&tv); |
1437 | enable_req.tv_sec = be32_to_cpu(tv.tv_sec); | 1437 | enable_req.tv_sec = be32_to_cpu(tv.tv_sec); |
1438 | bfa_ioc_mbox_send(ioc, &enable_req, sizeof(struct bfi_ioc_ctrl_req_s)); | 1438 | bfa_ioc_mbox_send(ioc, &enable_req, sizeof(struct bfi_ioc_ctrl_req_s)); |
1439 | } | 1439 | } |