Changeset 5b93cc8 in rtems-libbsd


Ignore:
Timestamp:
Apr 26, 2016, 1:00:44 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
f1fcdba
Parents:
5edcb9e
git-author:
Sebastian Huber <sebastian.huber@…> (04/26/16 13:00:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/26/16 13:20:59)
Message:

Add root bus support functions

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • libbsd.py

    r5edcb9e r5b93cc8  
    6363            'rtems/rtems-bsd-bus-dma.c',
    6464            'rtems/rtems-bsd-bus-dma-mbuf.c',
     65            'rtems/rtems-bsd-bus-root.c',
    6566            'rtems/rtems-bsd-cam.c',
    6667            'rtems/rtems-bsd-chunk.c',
  • libbsd_waf.py

    r5edcb9e r5b93cc8  
    975975              'rtemsbsd/rtems/rtems-bsd-bus-dma-mbuf.c',
    976976              'rtemsbsd/rtems/rtems-bsd-bus-dma.c',
     977              'rtemsbsd/rtems/rtems-bsd-bus-root.c',
    977978              'rtemsbsd/rtems/rtems-bsd-cam.c',
    978979              'rtemsbsd/rtems/rtems-bsd-chunk.c',
  • rtemsbsd/include/rtems/bsd/bsd.h

    r5edcb9e r5b93cc8  
    144144    uint8_t mac_addr[6]);
    145145
     146/**
     147 * @brief Attach the root bus.
     148 *
     149 * @retval 0 Successful operation.
     150 * @retval errno Otherwise.
     151 */
     152int rtems_bsd_bus_root_attach(void);
     153
     154/**
     155 * @brief Suspend the root bus.
     156 *
     157 * @retval 0 Successful operation.
     158 * @retval errno Otherwise.
     159 */
     160int rtems_bsd_bus_root_suspend(void);
     161
     162/**
     163 * @brief Resume the root bus.
     164 *
     165 * @retval 0 Successful operation.
     166 * @retval errno Otherwise.
     167 */
     168int rtems_bsd_bus_root_resume(void);
     169
     170/**
     171 * @brief Detach the root bus.
     172 *
     173 * @retval 0 Successful operation.
     174 * @retval errno Otherwise.
     175 */
     176int rtems_bsd_bus_root_detach(void);
     177
    146178#ifdef __cplusplus
    147179}
Note: See TracChangeset for help on using the changeset viewer.