sc_link->target = target;
sc_link->lun = lun;
sc_link->device = &probe_switch;
+ sc_link->inquiry_flags = 0;
/*
* Ask the device what it is
if ((sc_link->quirks & SDEV_NOLUNS) == 0)
scsi->moreluns |= (1 << target);
+ /*
+ * Save INQUIRY "flags" (SID_Linked, etc.) for low-level drivers.
+ */
+ sc_link->inquiry_flags = inqbuf.flags;
+
/*
* note what BASIC type of device it is
*/
#define SDEV_NOSYNCWIDE 0x02 /* does not grok SDTR or WDTR */
#define SDEV_NOLUNS 0x04 /* does not grok LUNs */
#define SDEV_FORCELUNS 0x08 /* prehistoric drive/ctlr groks LUNs */
+ u_int8_t inquiry_flags; /* copy of flags from probe INQUIRY */
struct scsi_device *device; /* device entry points etc. */
void *device_softc; /* needed for call to foo_start */
struct scsi_adapter *adapter; /* adapter entry points etc. */