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

David S. Miller (davem@redhat.com)
09 Jun 2003 03:20:56 -0700


On Mon, 2003-06-09 at 03:07, Ivan Kokshaysky wrote:
> Looks good, but shouldn't we pass 'struct pci_bus *' instead
> of pci_dev to pci_domain_nr()?

I don't think it matters, but someone may find a useful
use of having the exact device available, who knows...

> Because another place where the domain number must be checked on is
> pci_bus_exists().

We could just pass the bus self device in this case.

-- 
David S. Miller <davem@redhat.com>
-
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/