Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 07:44:50 +0000 (UTC)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/mpt mpt.c mpt_cam.c
Message-ID:  <200602280744.k1S7io0A001166@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      2006-02-28 07:44:50 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/mpt          mpt.c mpt_cam.c 
  Log:
  Fix mpt_reset to try mpt_hard_reset more than once, and to try
  mpt_soft_reset more than once. And to wait for MPT_DB_STATE_READY
  twice. I mean, this is crucial- give the IOC a chance to get
  ready.
  
  If mpt_reset is called to reinit things, and we succeed, make
  sure to re-enable interrupts. This is what has mostly led to
  system lockup after having to hard reset the chip. Also, if
  we think that interrupts aren't function in mpt_cam_timeout,
  for goodness sake, turn them on again.
  
  In read_cfg_header, return distinguishing errnos so the caller
  can decide what's an error. It's *not* an error to fail to
  read a RAID page from a non-RAID capable device like the FC929X.
  
  Some whitespace fixes (removing spaces from ends of lines).
  
  Revision  Changes    Path
  1.18      +85 -43    src/sys/dev/mpt/mpt.c
  1.9       +1 -0      src/sys/dev/mpt/mpt_cam.c



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