summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt_periph.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2007-04-18 04:58:53 +0000
committerscottl <scottl@FreeBSD.org>2007-04-18 04:58:53 +0000
commita40b57339d0ae20db108ee7c13ef670039d1f2c7 (patch)
tree7a504d9115e85179155d0fb6137bd3588944fe08 /sys/cam/cam_xpt_periph.h
parent4db8f3e0cc218ebbc69857ffdd274e67b815cd31 (diff)
downloadFreeBSD-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/cam/cam_xpt_periph.h')
-rw-r--r--sys/cam/cam_xpt_periph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt_periph.h b/sys/cam/cam_xpt_periph.h
index 9c4a3bb..c6b8cc2 100644
--- a/sys/cam/cam_xpt_periph.h
+++ b/sys/cam/cam_xpt_periph.h
@@ -38,8 +38,8 @@
/* Functions accessed by the peripheral drivers */
#ifdef _KERNEL
void xpt_polled_action(union ccb *ccb);
-union ccb *xpt_alloc_ccb(struct cam_sim *sim);
-union ccb *xpt_alloc_ccb_nowait(struct cam_sim *sim);
+union ccb *xpt_alloc_ccb(void);
+union ccb *xpt_alloc_ccb_nowait(void);
void xpt_free_ccb(union ccb *free_ccb);
void xpt_release_ccb(union ccb *released_ccb);
void xpt_schedule(struct cam_periph *perph, u_int32_t new_priority);
OpenPOWER on IntegriCloud