diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-06 00:45:53 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-06 00:45:53 +0000 |
commit | 29db8288935f22b9c3375655d6dd6db1c7e2f91d (patch) | |
tree | fc728af708b4b9a7ab74c1c4f72a47d7945a1eff /sys/scsi/scsiconf.h | |
parent | 72607dee2d6539d30cfb063eedf9b08cea553bff (diff) |
Add {sc,saa}_{targets,luns} to scsibus_softc and scsibus_attach_args.
These will be used to replace scsi_link's adapter_buswidth and luns
fields, but for now we stay compatible with existing SCSI adapter
driver conventions while I update them to set the scsibus_attach_args
fields directly.
ok dlg@
Diffstat (limited to 'sys/scsi/scsiconf.h')
-rw-r--r-- | sys/scsi/scsiconf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index a8e10e0a9d3..12ba4a1747c 100644 --- a/sys/scsi/scsiconf.h +++ b/sys/scsi/scsiconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.h,v 1.146 2011/07/05 21:39:56 matthew Exp $ */ +/* $OpenBSD: scsiconf.h,v 1.147 2011/07/06 00:45:52 matthew Exp $ */ /* $NetBSD: scsiconf.h,v 1.35 1997/04/02 02:29:38 mycroft Exp $ */ /* @@ -417,6 +417,8 @@ struct scsi_inquiry_pattern { struct scsibus_attach_args { struct scsi_link *saa_sc_link; + u_int16_t saa_targets; + u_int16_t saa_luns; }; /* @@ -431,7 +433,8 @@ struct scsibus_softc { struct device sc_dev; struct scsi_link *adapter_link; /* prototype supplied by adapter */ SLIST_HEAD(, scsi_link) sc_link; - u_int16_t sc_buswidth; + u_int16_t sc_targets; + u_int16_t sc_luns; }; /* |