summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-05-07 18:04:50 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-05-07 18:04:50 +0000
commit1d9c3ddb36fcbf193c305b31726f46beb0028405 (patch)
treedccf10ae61e0577c3a82fd3645eb0dd646716510 /sys/cam/cam_xpt.c
parentd26e40cb270f2df3d838565c1465f0172ae77390 (diff)
downloadFreeBSD-src-1d9c3ddb36fcbf193c305b31726f46beb0028405.zip
FreeBSD-src-1d9c3ddb36fcbf193c305b31726f46beb0028405.tar.gz
*sigh* I must have been on something that night. Make xpt_periph an
extern with the original in cam_xpt.c instead of replicating xpt_periph in all the sources using it (and hence not initialising it)
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index a084e0f..53ff288 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -528,6 +528,8 @@ static u_int xpt_max_ccbs; /*
*/
static u_int xpt_ccb_count; /* Current count of allocated ccbs */
+struct cam_periph *xpt_periph;
+
static periph_init_t xpt_periph_init;
static periph_init_t probe_periph_init;
OpenPOWER on IntegriCloud