/[base]
ViewVC logotype

Revision 256555


Jump to revision: Previous Next
Author: andreast
Date: Tue Oct 15 18:59:32 2013 UTC (10 years, 8 months ago)
Changed paths: 2
Log Message:
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


Changed paths

Path Details
Directoryhead/sys/powerpc/powermac/ata_kauai.c modified , text changed
Directoryhead/sys/powerpc/powermac/ata_macio.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27