Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2005 05:52:18 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/pci pci.c
Message-ID:  <200510290552.j9T5qIcZ098556@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2005-10-29 05:52:18 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c 
  Log:
  MFp4: When doing lazy allocation, it turns out that we need to record the
  actual resource values we received from the system rather than the range
  we requested.  Since we request a range starting at 0, we would record
  that number.  Later, since this == 0, we'd allocate again.  However,
  we wouldn't write the new resource into the BAR.  This resulted in
  a resource leak as well as a BAR that couldn't access the resource at
  all since rman_get_start, et al, were wrong.
  
  MFC After: 1 week (assuming RELENG_6 is open for business)
  
  Revision  Changes    Path
  1.303     +3 -0      src/sys/dev/pci/pci.c



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