|
@@ -29,12 +29,14 @@ struct pci_raw_ops *raw_pci_ops;
|
|
|
|
|
|
static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value)
|
|
static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value)
|
|
{
|
|
{
|
|
- return raw_pci_ops->read(0, bus->number, devfn, where, size, value);
|
|
|
|
|
|
+ return raw_pci_ops->read(pci_domain_nr(bus), bus->number,
|
|
|
|
+ devfn, where, size, value);
|
|
}
|
|
}
|
|
|
|
|
|
static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value)
|
|
static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value)
|
|
{
|
|
{
|
|
- return raw_pci_ops->write(0, bus->number, devfn, where, size, value);
|
|
|
|
|
|
+ return raw_pci_ops->write(pci_domain_nr(bus), bus->number,
|
|
|
|
+ devfn, where, size, value);
|
|
}
|
|
}
|
|
|
|
|
|
struct pci_ops pci_root_ops = {
|
|
struct pci_ops pci_root_ops = {
|