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

Ivan Kokshaysky
2003-06-09T09:54:46Z

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.