Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 1999 16:00:15 -0800 (PST)
From:      Mike Smith <msmith@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/mlx mlx.c mlx_disk.c mlx_pci.c mlxreg.h mlxvar.h
Message-ID:  <199912110000.QAA60232@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
msmith      1999/12/10 16:00:15 PST

  Modified files:
    sys/dev/mlx          mlx.c mlx_disk.c mlx_pci.c mlxreg.h 
                         mlxvar.h 
  Log:
  Major update to the Mylex DAC960 driver adding new hardware support
  and fixing some major bugs.
  
   - Add support for the v5 firmware interface, used by the DAC1164P
     (tested) and AcceleRAID 352 (untested but should work).  We now cover
     all of the Mylex family's protocols except for v2 (used by EISA and
     Alpha-compatible cards).
  
   - Fix an accounting bug which resulted in endless 'poll still busy'
     messages.  In situations of high controller load the count of poll
     commands could be incremented without actually successfully launching
     a command.  This totally removes the accounting for status poll
     commnads; it was its own worst enemy.
  
   - Add some simple reentry prevention locks to processing of the waiting
     and completed command queues to prevent races which could result in
     I/O being done or completed twice (both are fatal).  This highlights
     a need for simple locking primitives in both the UP and SMP kernels.
  
   - Streamline the handling of command completion to reduce the amount of
     redundant work being done.  Remove the code which tests for commands
     that have gone missing in action; nobody has ever seen one of these
     and it wouldn't have worked properly anyhow.
  
   - Handle disconnection of drives from the controller in the detach,
     not shutdown method.  This avoids problems flushing the cache in
     a panic when a drive is mounted.
  
   - Don't call bus_generic_detach when disconnecting drives; it doesn't
     actually do anything useful.
  
   - Increment the log message index regardless of whether we actually
     retrieved one or not.  If we run into a message that we can't fetch,
     we don't want to spin endlessly complaining about the fact.
  
   - Don't assume that interrupts will work when we're flushing the
     controller.  We may think they are enabled, but in eg. a panic
     situation the controller may not be able to deliver an interrupt.
  
  Revision  Changes    Path
  1.10      +229 -166  src/sys/dev/mlx/mlx.c
  1.7       +2 -2      src/sys/dev/mlx/mlx_disk.c
  1.4       +16 -10    src/sys/dev/mlx/mlx_pci.c
  1.4       +36 -1     src/sys/dev/mlx/mlxreg.h
  1.4       +28 -1     src/sys/dev/mlx/mlxvar.h



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?199912110000.QAA60232>