Deleted Added
full compact
28c28
< * $FreeBSD: head/sys/cam/cam_sim.h 139743 2005-01-05 22:34:37Z imp $
---
> * $FreeBSD: head/sys/cam/cam_sim.h 168752 2007-04-15 08:49:19Z scottl $
58a59
> struct mtx *mtx,
92a94
> struct mtx *mtx;
99,100c101,103
< #define CAM_SIM_REL_TIMEOUT_PENDING 0x01
< struct callout_handle c_handle;
---
> #define CAM_SIM_REL_TIMEOUT_PENDING 0x01
> #define CAM_SIM_MPSAFE 0x02
> struct callout callout;
101a105,115
>
> /* "Pool" of inactive ccbs managed by xpt_alloc_ccb and xpt_free_ccb */
> SLIST_HEAD(,ccb_hdr) ccb_freeq;
> /*
> * Maximum size of ccb pool. Modified as devices are added/removed
> * or have their * opening counts changed.
> */
> u_int max_ccbs;
> /* Current count of allocated ccbs */
> u_int ccb_count;
>
103a118,120
> #define CAM_SIM_LOCK(sim) mtx_lock((sim)->mtx);
> #define CAM_SIM_UNLOCK(sim) mtx_unlock((sim)->mtx);
>