Changeset 84e1742 in rtems for cpukit/sapi/include/confdefs.h


Ignore:
Timestamp:
11/18/11 20:04:49 (11 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 5, master
Children:
7c0273e
Parents:
ce017f90
Message:

2011-11-18 Jennifer Averett <Jennifer.Averett@…>

  • sapi/include/confdefs.h: Added a bsp override option for MAXIMUM_DEVICES.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    rce017f90 r84e1742  
    419419#ifdef CONFIGURE_INIT
    420420
    421   /*
     421  /**
    422422   *  DEVFS variables.
     423   *
     424   *  The number of individual devices that may be registered
     425   *  in the system or the CONFIGURE_MAXIMUM_DEVICES variable
     426   *  is defaulted to 4 when a filesystem is enabled, unless
     427   *  the bsp overwrides this.  In which case the value is set
     428   *  to BSP_MAXIMUM_DEVICES.
    423429   */
    424430  #if defined(CONFIGURE_APPLICATION_DISABLE_FILESYSTEM)
     
    426432  #elif defined(CONFIGURE_FILESYSTEM_DEVFS)
    427433    #ifndef CONFIGURE_MAXIMUM_DEVICES
    428       #define CONFIGURE_MAXIMUM_DEVICES 4
     434      #if defined(BSP_MAXIMUM_DEVICES)
     435        #define CONFIGURE_MAXIMUM_DEVICES BSP_MAXIMUM_DEVICES
     436      #else
     437        #define CONFIGURE_MAXIMUM_DEVICES 4
     438      #endif
    429439    #endif
    430440    #include <rtems/devfs.h>
Note: See TracChangeset for help on using the changeset viewer.