Re: [patch 2.5] 2-pass PCI probing, generic part

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Thu Jan 09 2003 - 13:36:58 EST


>>>>> On Thu, 9 Jan 2003 20:46:26 +0300, Ivan Kokshaysky <ink@jurassic.park.msu.ru> said:

  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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:29 EST