OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Thu Jul 06 2006 - 04:04:46 CDT


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2006/07/06 03:04:45

Modified files:
        sys/dev/ic : mpi.c mpireg.h mpivar.h

Log message:
do not stash pages 2 and 3 (the volume and physdisk pages respectively)
of the ioc config in the softc. instead, we only walk page 2 when we get
the raid config and mark each disks scsi_link structure with the
SDEV_LOGICAL flag when we find volumes. while there we mark this instance
of the driver as being capable of doing raid so later on we can
conditionally hook up bio.

when we walk the devices attached to mpi to do ppr, we now skip the logical
disks.