Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2010 15:12:15 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/sparc64/pci fire.c
Message-ID:  <201001101512.o0AFCXGW073558@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2010-01-10 15:12:15 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/pci      fire.c 
  Log:
  SVN rev 202003 on 2010-01-10 15:12:15Z by marius
  
  - According to OpenSolaris it's sufficient to align the MSIs of a
    device in the table based on the count rather than the maxcount.
    Also the previous code didn't work properly as it would have been
    necessary to reserve the entire maxcount range in order keep later
    requests from filling the spare MSIs between count and maxcount,
    which would be complicated to unreserve in fire_release_msi().
  - For MSIs with filters rather than handlers only don't clear the
    event queue interrupt via fire_intr_clear() since given that these
    are executed directly would clear it while we're still processing
    the event queue, which in turn would lead to lost MSIs.
  - Save one level of indentation in fire_setup_intr().
  - Correct a bug in fire_teardown_intr() which prevented it from
    correctly restoring the MSI in the resource, causing allocation of
    a resource representing an MSI to fail after the first pass when
    repeatedly loading and unloading a driver module.
  
  Revision  Changes    Path
  1.3       +95 -52    src/sys/sparc64/pci/fire.c



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