Changeset 548ed3f in rtems


Ignore:
Timestamp:
May 4, 2005, 7:33:46 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a8e1959
Parents:
971fbc9
Message:

2005-05-04 Jennifer Averett <jennifer.averett@…>

  • irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c: Name change to support common PCI interface
Location:
c/src/lib/libbsp/powerpc/shared
Files:
5 edited

Legend:

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

    r971fbc9 r548ed3f  
     12005-05-04      Jennifer Averett <jennifer.averett@oarcorp.com>
     2
     3        * irq/irq_init.c, pci/pci.c, pci/pcifinddevice.c, startup/bspstart.c:
     4        Name change to support common PCI interface
     5
    162005-04-26      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/powerpc/shared/irq/irq_init.c

    r971fbc9 r548ed3f  
    160160  unsigned found = 0;
    161161
    162   maxBus = BusCountPCI();
     162  maxBus = pci_bus_count();
    163163  pci_dev.function      = 0; /* Assumes the bidge is the first function */
    164164
  • c/src/lib/libbsp/powerpc/shared/pci/pci.c

    r971fbc9 r548ed3f  
    333333  uint16_t     devid, vendorid, dclass;
    334334
    335   for(pbus=0; pbus< BusCountPCI(); pbus++) {
     335  for(pbus=0; pbus< pci_bus_count(); pbus++) {
    336336    for(pslot=0; pslot< PCI_MAX_DEVICES; pslot++) {
    337337      pci_read_config_word(pbus, pslot, 0, PCI_DEVICE_ID, &devid);
     
    383383   */
    384384
    385   for (pbus=0; pbus< BusCountPCI(); pbus++) {
     385  for (pbus=0; pbus< pci_bus_count(); pbus++) {
    386386    for (pslot=0; pslot< PCI_MAX_DEVICES; pslot++) {
    387387      pci_read_config_word(pbus, pslot, 0, PCI_DEVICE_ID, &devid);
     
    609609 * Return the number of PCI busses in the system
    610610 */
    611 unsigned char BusCountPCI()
     611unsigned char pci_bus_count()
    612612{
    613613  return (ucMaxPCIBus+1);
  • c/src/lib/libbsp/powerpc/shared/pci/pcifinddevice.c

    r971fbc9 r548ed3f  
    2727   unsigned char bus,dev,fun,hd;
    2828
    29    for (bus=0; bus<BusCountPCI(); bus++) {
     29   for (bus=0; bus<pci_bus_count(); bus++) {
    3030     for (dev=0; dev<PCI_MAX_DEVICES; dev++) {
    3131
  • c/src/lib/libbsp/powerpc/shared/startup/bspstart.c

    r971fbc9 r548ed3f  
    414414
    415415#ifdef SHOW_MORE_INIT_SETTINGS
    416   printk("Number of PCI buses found is : %d\n", BusCountPCI());
     416  printk("Number of PCI buses found is : %d\n", pci_bus_count());
    417417#endif
    418418#ifdef TEST_RAW_EXCEPTION_CODE
Note: See TracChangeset for help on using the changeset viewer.