Date: Sat, 3 Sep 2005 23:15:46 +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: <200509032315.j83NFkNJ096115@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2005-09-03 23:15:46 UTC
FreeBSD src repository
Modified files:
sys/dev/pci pci.c
Log:
More consistantly return the correct BAR size. Before, we'd only
return the correct bar size if we encountered a 64-bit BAR that had
its resources already assigned. If the resources weren't yet
assigned, we'd bogusly assume it was a 32-bit bar and return 1.
Revision Changes Path
1.295 +8 -6 src/sys/dev/pci/pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509032315.j83NFkNJ096115>
