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/grpci.c

    racf7047e r3c236cc  
    188188        if (dev == HOST_TGT)
    189189                bus = devfn = 0;
    190         if (bus == 0)
     190        else if (bus == 0)
    191191                devfn = PCI_DEV_DEVFUNC(dev) + PCI_DEV(0, 6, 0);
    192192        else
     
    261261        if (dev == HOST_TGT)
    262262                bus = devfn = 0;
    263         if (bus == 0)
     263        else if (bus == 0)
    264264                devfn = PCI_DEV_DEVFUNC(dev) + PCI_DEV(0, 6, 0);
    265265        else
Note: See TracChangeset for help on using the changeset viewer.