]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly handle BARs bigger than 4G. The '1' was treated as an int
authorjhb <jhb@FreeBSD.org>
Wed, 23 Feb 2011 12:58:50 +0000 (12:58 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 23 Feb 2011 12:58:50 +0000 (12:58 +0000)
commit53ab29d183862b0e89c097121b2408e3337b2427
tree78920fdfe2837b6f60b30cd45379168f8f7a34f6
parent902a44bea054ade069011e67129f11e52f606dd0
Properly handle BARs bigger than 4G.  The '1' was treated as an int
causing the size calculation to be truncated to the size of an int
(32-bits on all current architectures).

Submitted by: Anish  akgupt3 of gmail
MFC after: 1 week
sys/dev/pci/pci.c