aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-08-05 18:24:41 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-08-05 18:24:41 +0000
commite29bfa9ed9cd16696e09022ae09848d2e7bbcafb (patch)
tree6d68c34e6d2fbb3de1767c52467f1763571c8617 /sys/vm/vm_glue.c
parent9e58d59f4166a9fad46bb4587bf4807c8a7f2e93 (diff)
downloadsrc-e29bfa9ed9cd16696e09022ae09848d2e7bbcafb.tar.gz
src-e29bfa9ed9cd16696e09022ae09848d2e7bbcafb.zip
If the kernel fails to allocate resources for the initial value of a BAR
for a PCI device during the boot-time probe of the parent PCI bus, then zero the BAR and clear the resource list entry for that BAR. This forces the PCI bus driver to request a valid resource range from the parent bridge driver when the device driver tries to allocate the BAR. Similarly, if the initial value of a BAR is a valid range but it is > 4GB and the current OS only has 32-bit longs, then do a full teardown of the initial value of the BAR to force a reallocation. Reviewed by: imp MFC after: 1 week
Notes
Notes: svn path=/head/; revision=181333
Diffstat (limited to 'sys/vm/vm_glue.c')
0 files changed, 0 insertions, 0 deletions