Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam_sim.h
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | struct cam_sim { | ||||
u_int32_t path_id;/* The Boot device may set this to 0? */ | u_int32_t path_id;/* The Boot device may set this to 0? */ | ||||
u_int32_t unit_number; | u_int32_t unit_number; | ||||
u_int32_t bus_id; | u_int32_t bus_id; | ||||
int max_tagged_dev_openings; | int max_tagged_dev_openings; | ||||
int max_dev_openings; | int max_dev_openings; | ||||
u_int32_t flags; | u_int32_t flags; | ||||
struct cam_devq *devq; /* Device Queue to use for this SIM */ | struct cam_devq *devq; /* Device Queue to use for this SIM */ | ||||
int refcount; /* References to the SIM. */ | int refcount; /* References to the SIM. */ | ||||
device_t sim_dev; /* For attached peripherals. */ | |||||
}; | }; | ||||
static __inline u_int32_t | static __inline u_int32_t | ||||
cam_sim_path(const struct cam_sim *sim) | cam_sim_path(const struct cam_sim *sim) | ||||
{ | { | ||||
return (sim->path_id); | return (sim->path_id); | ||||
} | } | ||||
Show All 32 Lines |