Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 06:27:18 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/pccbb pccbb_pci.c
Message-ID:  <200812110627.mBB6RU8b092997@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2008-12-11 06:27:18 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccbb        pccbb_pci.c 
  Log:
  SVN rev 185910 on 2008-12-11 06:27:18Z by imp
  
  Update to the interrupt handling code:
  
  o Try to be smarter about reading the ExCA CSC register.  Now, we only
    do it for 16-bit cards.  Add some experimental code to treat it like
    a power interrupt, but I'm not 100% sure that I like it.  It may be
    removed upon further testing.  It seemed to help in one test case, but
    the evidence may be inconclusive.  This may be beneficial for cleaning up
    exca_reset and exca_wait_ready.
  o Check for CSTS events on the socket event register.  We ask for it when
    we're powering up a card, but I don't think we're otherwise using
    it.  Just ACK the interrupt for now.  In theory, we can use it
    instead of the busy wait we do in cbb_cardbus_reset.  More research
    is necessary to see if we can optimize things there when we're
    waiting for the DEVVENDOR register to become valid.
  o Rework the comments a bit.  Minor tidying up.  Etc.
  
  Revision  Changes    Path
  1.32      +58 -35    src/sys/dev/pccbb/pccbb_pci.c



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