Changeset 14d55deb in rtems


Ignore:
Timestamp:
Apr 13, 2015, 9:12:04 AM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
4d3e70f4
Parents:
246fe22
git-author:
Daniel Hellstrom <daniel@…> (04/13/15 09:12:04)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:30)
Message:

DRVMGR: renamed info_dev to get_info_dev

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/drvmgr/ambapp_bus.c

    r246fe22 r14d55deb  
    7474        .get_freq       = ambapp_bus_freq_get,
    7575#ifdef AMBAPPBUS_INFO_AVAIL
    76         .info_dev       = ambapp_dev_info,
     76        .get_info_dev   = ambapp_dev_info,
    7777#endif
    7878};
  • cpukit/libdrvmgr/drvmgr.h

    r246fe22 r14d55deb  
    146146         *  driver interpret the bus-specific information about the device.
    147147         */
    148         void    (*info_dev)(struct drvmgr_dev *, void (*print)(void *p, char *str), void *p);
     148        void    (*get_info_dev)(struct drvmgr_dev *,
     149                                void (*print)(void *p, char *str), void *p);
    149150};
    150151#define BUS_OPS_NUM (sizeof(struct drvmgr_bus_ops)/sizeof(void (*)(void)))
  • cpukit/libdrvmgr/drvmgr_print.c

    r246fe22 r14d55deb  
    262262                if (!dev->parent)
    263263                        printf("  !! device has no parent bus !!\n");
    264                 else if (dev->parent->ops->info_dev)
    265                         dev->parent->ops->info_dev(dev, print_info, NULL);
     264                else if (dev->parent->ops->get_info_dev)
     265                        dev->parent->ops->get_info_dev(dev, print_info, NULL);
    266266                else
    267                         printf("  Bus doesn't implement info_dev func\n");
     267                        printf("  Bus doesn't implement get_info_dev func\n");
    268268        }
    269269
  • cpukit/libpci/pci_bus.c

    r246fe22 r14d55deb  
    9595        .get_freq       = pcibus_get_freq,
    9696#ifdef PCIBUS_INFO
    97         .info_dev       = pcibus_dev_info,
     97        .get_info_dev   = pcibus_dev_info,
    9898#endif
    9999};
Note: See TracChangeset for help on using the changeset viewer.