diff options
author | andreast <andreast@FreeBSD.org> | 2013-10-15 18:59:32 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2013-10-15 18:59:32 +0000 |
commit | 0769a0f4945f8aaf8c475dbcbdb0e6951fa360e2 (patch) | |
tree | 52985577f2d0868a99fce94be658c10ab944000f /usr.bin/login | |
parent | 7057c4d3ee312190bf2505bcf951fa07774f6adf (diff) | |
download | FreeBSD-src-0769a0f4945f8aaf8c475dbcbdb0e6951fa360e2.zip FreeBSD-src-0769a0f4945f8aaf8c475dbcbdb0e6951fa360e2.tar.gz |
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
Discussed with: grehan@
MFC after: 1 Week
Diffstat (limited to 'usr.bin/login')
0 files changed, 0 insertions, 0 deletions