diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-02-23 05:47:36 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-02-23 05:47:36 +0000 |
commit | 5688edd0032e2541fedeaa58a3f918aa0af73835 (patch) | |
tree | 50726cb63cfc4a82afc34c955a6de30d742f0611 /sys/cam/cam_xpt.h | |
parent | 17f2e510e6ae66722eeb73d65b12574eca7a9f3c (diff) | |
download | FreeBSD-src-5688edd0032e2541fedeaa58a3f918aa0af73835.zip FreeBSD-src-5688edd0032e2541fedeaa58a3f918aa0af73835.tar.gz |
Add an xpt_rescan function and a thread that will field
rescan requests. The purpose of this is to allow a SIM
(or other entities) to request a bus rescan and have it
then fielded in a different (process) context from the
caller.
There are probably better ways to accomplish this, but
it's a very small change that helps solve a number of
problems.
Reviewed by: Justin, Ken and Scott.
MFC after: 2 weeks
Diffstat (limited to 'sys/cam/cam_xpt.h')
-rw-r--r-- | sys/cam/cam_xpt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.h b/sys/cam/cam_xpt.h index a84feae..f8557f9 100644 --- a/sys/cam/cam_xpt.h +++ b/sys/cam/cam_xpt.h @@ -72,6 +72,7 @@ struct cam_sim *xpt_path_sim(struct cam_path *path); struct cam_periph *xpt_path_periph(struct cam_path *path); void xpt_async(u_int32_t async_code, struct cam_path *path, void *async_arg); +void xpt_rescan(union ccb *ccb); #endif /* _KERNEL */ #endif /* _CAM_CAM_XPT_H */ |