X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=arch%2Fmn10300%2Funit-asb2305%2Fpci.c;h=07dbbcda3b2e5dc57f71ee2ba376f6da83010d63;hb=d9190913b71831f5e3d04de62cfb1fd069a9db35;hp=1a86425fec42302a9f6558c6e40279ddcc85e2f2;hpb=03054de1e0b90b33e9974107d84dabd2509f5898;p=linux-2.6-block.git diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c index 1a86425fec42..07dbbcda3b2e 100644 --- a/arch/mn10300/unit-asb2305/pci.c +++ b/arch/mn10300/unit-asb2305/pci.c @@ -173,7 +173,7 @@ static int pci_ampci_write_config_byte(struct pci_bus *bus, unsigned int devfn, BRIDGEREGB(where) = value; } else { if (bus->number == 0 && - (devfn == PCI_DEVFN(2, 0) && devfn == PCI_DEVFN(3, 0)) + (devfn == PCI_DEVFN(2, 0) || devfn == PCI_DEVFN(3, 0)) ) __pcidebug("<= %02x", bus, devfn, where, value); CONFIG_ADDRESS = CONFIG_CMD(bus, devfn, where);