Changeset 2f1f2ed in rtems


Ignore:
Timestamp:
May 5, 2009, 4:29:50 PM (10 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, master
Children:
4848b56
Parents:
3776348f
Message:

2009-05-05 Jennifer Averett <jennifer.averett@…>

  • shared/pci/pci.c: Removed warnings.
Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ChangeLog

    r3776348f r2f1f2ed  
     12009-05-05      Jennifer Averett <jennifer.averett@OARcorp.com>
     2
     3        * shared/pci/pci.c: Removed warnings.
     4
    152009-04-28      Chris Johns <chrisj@rtems.org>
    26
  • c/src/lib/libbsp/powerpc/shared/pci/pci.c

    r3776348f r2f1f2ed  
    5454#define PCI_CONFIG_SET_ADDR(addr, bus, slot,function,offset) \
    5555  PCI_CONFIG_WR_ADDR((addr), PCI_CONFIG_ADDR_VAL((bus), (slot), (function), (offset)))
     56
     57
     58extern void detect_host_bridge(void);
    5659
    5760/*
     
    584587 * This routine determines the maximum bus number in the system
    585588 */
    586 int pci_initialize()
     589int pci_initialize(void)
    587590{
    588   extern void detect_host_bridge();
    589591  unsigned char ucSlotNumber, ucFnNumber, ucNumFuncs;
    590592  unsigned char ucHeader;
     
    638640 * Return the number of PCI busses in the system
    639641 */
    640 unsigned char pci_bus_count()
     642unsigned char pci_bus_count(void)
    641643{
    642644  return (ucMaxPCIBus+1);
Note: See TracChangeset for help on using the changeset viewer.