Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 20:09:48 -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.c
Message-ID:  <200109030309.f8339mA52956@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      2001/09/02 20:09:48 PDT

  Modified files:
    sys/dev/isp          isp.c 
  Log:
  Clarify issues about whether we have SCCLUN (65535 luns) or non-SCCLUN (16
  luns) firmware for the Fibre Channel cards.
  
  We used to assume that if we didn't download firmware, we couldn't know
  what the firmware capability with respect to SCCLUNs is- and it's important
  because the lun field changes in the request queue entry based upon which
  firmware it is.
  
  At any rate, we *do* get back firmware attributes in mailbox register 6
  when we do ABOUT FIRMWARE for all 2200/2300 cards- and for 2100 cards
  with at least 1.17.0 firmware. So- we now assume non-SCCLUN behaviour
  for 2100 cards with firmware < 1.17.0- and we check the firmware attributes
  for other cards (loaded firmware or not).
  
  This also allows us to get rid of the crappy test of isp_maxluns > 16-
  we simply can check firmware attributes for SCCLUN behaviour.
  
  This required an 'oops' fix to the outgoing mailbox count field for
  ABOUT FIRMWARE for FC cards.
  
  Also- while here, hardwire firmware revisions for loaded code for SBus
  cards. Apparently the 1.35 or 1.37 f/w we've been loading into isp1000
  just doesn't report firmware revisions out to mailbox regs 1, 2 and 3
  like everyone else. Grumble. Not that this fix hardly matters for FreeBSD.
  
  MFC after:	4 weeks
  
  Revision  Changes    Path
  1.76      +63 -32    src/sys/dev/isp/isp.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?200109030309.f8339mA52956>