diff options
author | scottl <scottl@FreeBSD.org> | 2007-04-18 04:58:53 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-04-18 04:58:53 +0000 |
commit | a40b57339d0ae20db108ee7c13ef670039d1f2c7 (patch) | |
tree | 7a504d9115e85179155d0fb6137bd3588944fe08 /sys/dev/isp/isp_freebsd.c | |
parent | 4db8f3e0cc218ebbc69857ffdd274e67b815cd31 (diff) | |
download | FreeBSD-src-a40b57339d0ae20db108ee7c13ef670039d1f2c7.zip FreeBSD-src-a40b57339d0ae20db108ee7c13ef670039d1f2c7.tar.gz |
Revert a driver API change to xpt_alloc_ccb that isn't necessary. Fix a
couple of associated error checks.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 6c4fd06..85b292f 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -2148,7 +2148,7 @@ isp_make_here(ispsoftc_t *isp, int tgt) * Allocate a CCB, create a wildcard path for this bus, * and schedule a rescan. */ - ccb = xpt_alloc_ccb_nowait(isp->isp_osinfo.sim); + ccb = xpt_alloc_ccb_nowait(); if (ccb == NULL) { isp_prt(isp, ISP_LOGWARN, "unable to alloc CCB for rescan"); CAMLOCK_2_ISPLOCK(mpt); |