Re: [PATCH] [3/3] PCI segment support

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Mon, 9 Jun 2003 14:07:49 +0400


On Sun, Jun 08, 2003 at 05:43:51PM +0100, Matthew Wilcox wrote:
> - Use pci_domain_nr() macro to determine which domain a bus or device
> is in.
> - Default implementation for architectures which don't support PCI
> domains.
> - Implementation for ia64.

Looks good, but shouldn't we pass 'struct pci_bus *' instead
of pci_dev to pci_domain_nr()?
Because another place where the domain number must be checked on is
pci_bus_exists().

Ivan.
-
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/