Changeset ddc4002 in rtems


Ignore:
Timestamp:
Nov 22, 2013, 9:22:56 AM (6 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
9d88008
Parents:
3c236cc
git-author:
Daniel Hellstrom <daniel@…> (11/22/13 09:22:56)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:20)
Message:

AT697 PCI: abort whhen a peripheral PCI system detected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/pci/at697_pci.c

    r3c236cc rddc4002  
    441441        }
    442442
     443        /* If not in system slot we are not host and we must abort.
     444         * This is a host only driver.
     445         */
     446        if ((regs->pciis & 0x1000) != 0) {
     447                return -1;
     448        }
     449
    443450        /* Reset PCI Core */
    444451        regs->pciic = 0xffffffff;
     
    579586        if (at697pci_init(priv)) {
    580587                DBG("Failed to initialize at697pci driver\n");
    581                 return DRVMGR_FAIL;
     588                return DRVMGR_EIO;
    582589        }
    583590
Note: See TracChangeset for help on using the changeset viewer.