*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:
parent
3920b84004
commit
9a1c8571c7
@ -35,7 +35,7 @@
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
struct cam_periph *xpt_periph;
|
||||
extern struct cam_periph *xpt_periph;
|
||||
|
||||
extern struct linker_set periphdriver_set;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user