Ivan> As discussed, this patch splits PCI probing into 2 phases.
Ivan> 1. Do the full bus enumeration, collect identification info for
Ivan> all devices, call early fixup routines. At this stage we
Ivan> can solve two kinds of problems:
Ivan> - turn off devices generating PCI traffic, so we'll be
Ivan> safe in the phase 2 (USB DMA case);
Ivan> - allow alternative probing methods for devices that
Ivan> cannot be safely probed by generic code (powermac I/O ASIC).
Ivan> 2. Sizing the BARs. Now it's possible to disable the device
Ivan> being probed, which should fix ia64 case. Note that we
Ivan> don't need to keep the device disabled when sizing ROM
Ivan> base register, as we probe with ROM-enable bit cleared.
Sounds good (haven't tested the code yet, but it looks fine to me).
--david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/