summaryrefslogtreecommitdiff
path: root/sys/dev/sym
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2013-06-05 01:22:59 +0000
committerMarius Strobl <marius@FreeBSD.org>2013-06-05 01:22:59 +0000
commit743f0a55b04b362f12bcf4dbeb218a85d82c5340 (patch)
treeb11c5968ab6f88261b3ea6e8b3f0dab5fa543a33 /sys/dev/sym
parentdb228ec9b583859bc093c6aa0137923620ccd699 (diff)
Notes
Diffstat (limited to 'sys/dev/sym')
-rw-r--r--sys/dev/sym/sym_hipd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index b438800185b1..8dc7361c596e 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -613,7 +613,7 @@ static m_addr_t ___dma_getp(m_pool_s *mp)
{
m_vtob_s *vbp;
void *vaddr = NULL;
- bus_addr_t baddr;
+ bus_addr_t baddr = 0;
vbp = __sym_calloc(&mp0, sizeof(*vbp), "VTOB");
if (!vbp)
@@ -7871,7 +7871,6 @@ sym_setup_data_and_start(hcb_p np, struct ccb_scsiio *csio, ccb_p cp)
xpt_freeze_simq(np->sim, 1);
csio->ccb_h.status |= CAM_RELEASE_SIMQ;
}
- return;
}
/*
@@ -8057,7 +8056,7 @@ static void sym_action2(struct cam_sim *sim, union ccb *ccb)
if ((np->features & FE_WIDE) != 0)
cpi->hba_inquiry |= PI_WIDE_16;
cpi->target_sprt = 0;
- cpi->hba_misc = 0;
+ cpi->hba_misc = PIM_UNMAPPED;
if (np->usrflags & SYM_SCAN_TARGETS_HILO)
cpi->hba_misc |= PIM_SCANHILO;
if (np->usrflags & SYM_AVOID_BUS_RESET)