summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_condvar.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-08-05 18:24:41 +0000
committerjhb <jhb@FreeBSD.org>2008-08-05 18:24:41 +0000
commitbe95b0fe3c10d07ed8c0887e7695a358ee6a2e17 (patch)
tree6d68c34e6d2fbb3de1767c52467f1763571c8617 /sys/kern/kern_condvar.c
parentb808cfb9c8b3a6f217bd7cc7f193fcc20a48a854 (diff)
downloadFreeBSD-src-be95b0fe3c10d07ed8c0887e7695a358ee6a2e17.zip
FreeBSD-src-be95b0fe3c10d07ed8c0887e7695a358ee6a2e17.tar.gz
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
Diffstat (limited to 'sys/kern/kern_condvar.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud