diff options
author | andreast <andreast@FreeBSD.org> | 2013-10-21 19:11:15 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2013-10-21 19:11:15 +0000 |
commit | 44f5357aec14c32040c49f1703b1d4c2cac5d080 (patch) | |
tree | 62e87621766c3c3dd9fad7b40c0e7cb7f69a3969 /usr.sbin/bhyve/bhyverun.h | |
parent | 71c5e06cccd7a1b993d32b76a3f872129a5c7c8f (diff) | |
download | FreeBSD-src-44f5357aec14c32040c49f1703b1d4c2cac5d080.zip FreeBSD-src-44f5357aec14c32040c49f1703b1d4c2cac5d080.tar.gz |
MFC: 256555
Move the resource allocation from the ata_*_probe section to the ata_*_attach
section. This prevents a boot crash on nearly all iMacs and PowerMacs/Books.
The allocation in the probe section was working before because ata_probe was
returning 0 which did not invoke a second DEVICE_PROBE. Now it returns
a BUS_PROBE_DEFAULT which can invoke a second DEVICE_PROBE which results in
a "failed to reserve resource" exit.
PR: powerpc/182978
Approved by: re(gjb)
Diffstat (limited to 'usr.sbin/bhyve/bhyverun.h')
0 files changed, 0 insertions, 0 deletions