[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: David Gwynne <dlg_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Mon, 21 Jul 2008 19:01:31 -0600 (MDT)
Module name: src
Changes by: dlg_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/07/21 19:01:31
sys/scsi : scsiconf.c scsiconf.h
implement the fetching of a scsi devices "devid". recent hardware provides
a vpd page that uniquely identifies a device no matter what bus topology or
addressing was used to find it.
we have a workaround for old school scsi devices that do not differentiate
between luns. if the inq data for high luns is the same as the inq data
for lun 0, we assume it is one of these buggy devices.
the problem with this is that things like SANs present multiple
volumes as luns and they all have the same inq data. if you wanted
to present more than one volume to openbsd you would only ever see
the first one.
devices give us a mechanism to differentiate between luns, so now
i do get all my volumes attached in openbsde.
review and feedback by krw@ marco@ testing by todd@
Visit your host, monkey.org