Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2003 08:24:14 -0700 (PDT)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/aic7xxx aic79xx_pci.c aic7xxx_pci.c
Message-ID:  <200309261524.h8QFOEmG020805@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
scottl      2003/09/26 08:24:14 PDT

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/dev/aic7xxx      aic79xx_pci.c aic7xxx_pci.c 
  Log:
  MFC:
  aic79xx_pci.c:
  aic7xxx_pci.c:
          When performing our register test, be careful
          to avoid resetting the chip when pausing the
          controller.  The test reads the HCNTRL register
          and then writes it back with the PAUSE bit
          explicitly set.  If the last write to the controller
          before our probe is to reset it, the CHIPRST
          bit will still be set, so we must mask it off
          before the PAUSE operation.  On some chip versions,
          we cannot access registers for a few 100us after
          a reset, so this inadvertant reset was causing PCI
          errors to occur on the read to check for paused
          status.
  
  Approved by: re (murray)
  
  Revision  Changes    Path
  1.3.2.6   +3 -1      src/sys/dev/aic7xxx/aic79xx_pci.c
  1.2.2.18  +3 -1      src/sys/dev/aic7xxx/aic7xxx_pci.c



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