Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 14:53:12 -0700 (PDT)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/isp isp_freebsd.c
Message-ID:  <200109042153.f84LrCk63276@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      2001/09/04 14:53:12 PDT

  Modified files:
    sys/dev/isp          isp_freebsd.c 
  Log:
  I don't know what I was thinking- if I have two separate busses on on
  SIM (as is true for the 1280 and the 12160), then I have to have separate
  flags && status for *both* busses. *Whap*.
  
  Implement condition variables for coordination with some target mode
  events. It's nice to use these and not panic in obscure little places
  in the kernel like 'propagate_priority' just because we went to sleep
  holding a mutex, or some other absurd thing.
  
  Remove some bogus ISP_UNLOCK calls. *Whap*.
  
  No longer require that somebody do a lun enable on the wildcard device
  to enable target mode. They are, in fact, orthogonal. A wildcard open
  is a statement that somebody upstream is willing to accept commands which
  are otherwise unrouteable. Now, for QLogic regular SCSI target mode, this
  won't matter for a damn because we'll never see ATIOs for luns we haven't
  enabled (are listening for, if you will). But for SCCLUN fibre channel
  SCSI, we get all kinds of ATIOs. We can either reflect them back here
  with minimal info (which is isp_target.c:isp_endcmd() is for), or the
  wildcard device (nominally targbh) can handle them.
  
  Do further checking against firmware attributes to see whether we can,
  in fact, support target mode in Fibre Channel. For now, require SCCLUN
  f/w to supoprt FC target mode.
  
  This is an awful lot of change, but target mode *still* isn't quite right.
  
  MFC after:	4 weeks
  
  Revision  Changes    Path
  1.71      +137 -175  src/sys/dev/isp/isp_freebsd.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109042153.f84LrCk63276>