Ignore:
Timestamp:
Feb 5, 2014, 4:17:53 PM (6 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
ddc4002
Parents:
acf7047e
git-author:
Daniel Hellstrom <daniel@…> (02/05/14 16:17:53)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:20)
Message:

LEON PCI: fix for PCI host bridge driver CFG space access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/pci/pcif.c

    racf7047e r3c236cc  
    175175        if (dev == HOST_TGT)
    176176                bus = devfn = 0;
    177         if (bus == 0)
     177        else if (bus == 0)
    178178                devfn = PCI_DEV_DEVFUNC(dev) + PCI_DEV(0, 6, 0);
    179179        else
     
    242242        if (dev == HOST_TGT)
    243243                bus = devfn = 0;
    244         if (bus == 0)
     244        else if (bus == 0)
    245245                devfn = PCI_DEV_DEVFUNC(dev) + PCI_DEV(0, 6, 0);
    246246        else
Note: See TracChangeset for help on using the changeset viewer.