*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)
This commit is contained in:
Nick Hibma 2000-05-07 18:04:50 +00:00
parent 3920b84004
commit 9a1c8571c7
2 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#ifdef _KERNEL
struct cam_periph *xpt_periph;
extern struct cam_periph *xpt_periph;
extern struct linker_set periphdriver_set;

View File

@ -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;