Changeset 251c94d in rtems


Ignore:
Timestamp:
Jun 9, 2016, 9:17:13 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
7bf9c8b
Parents:
b94bbf1c
Message:

confdefs.h: Do not hide network file systems

Do not hide network file systems if RTEMS_NETWORKING is not defined,
since they may be provided by the LibBSD.

File:
1 edited

Legend:

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

    rb94bbf1c r251c94d  
    403403#endif
    404404
    405 #ifdef RTEMS_NETWORKING
    406   /**
    407    * FTPFS
    408    */
    409   #if !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS) && \
    410       defined(CONFIGURE_FILESYSTEM_FTPFS)
    411     #include <rtems/ftpfs.h>
    412     #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
    413       { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
    414   #endif
    415 
    416   /**
    417    * TFTPFS
    418    */
    419   #if !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS) && \
    420       defined(CONFIGURE_FILESYSTEM_TFTPFS)
    421     #include <rtems/tftp.h>
    422     #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
    423       { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
    424   #endif
    425 
    426   /**
    427    * NFS
    428    */
    429   #if !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS) && \
    430       defined(CONFIGURE_FILESYSTEM_NFS)
    431     #include <librtemsNfs.h>
    432     #if !defined(CONFIGURE_MAXIMUM_NFS_MOUNTS)
    433       #define CONFIGURE_MAXIMUM_NFS_MOUNTS 1
    434     #endif
    435     #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
    436       { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
    437     #define CONFIGURE_SEMAPHORES_FOR_NFS ((CONFIGURE_MAXIMUM_NFS_MOUNTS * 2) + 1)
    438   #else
    439     #define CONFIGURE_SEMAPHORES_FOR_NFS 0
    440   #endif
     405/**
     406 * FTPFS
     407 */
     408#if !defined(CONFIGURE_FILESYSTEM_ENTRY_FTPFS) && \
     409    defined(CONFIGURE_FILESYSTEM_FTPFS)
     410  #include <rtems/ftpfs.h>
     411  #define CONFIGURE_FILESYSTEM_ENTRY_FTPFS \
     412    { RTEMS_FILESYSTEM_TYPE_FTPFS, rtems_ftpfs_initialize }
     413#endif
     414
     415/**
     416 * TFTPFS
     417 */
     418#if !defined(CONFIGURE_FILESYSTEM_ENTRY_TFTPFS) && \
     419    defined(CONFIGURE_FILESYSTEM_TFTPFS)
     420  #include <rtems/tftp.h>
     421  #define CONFIGURE_FILESYSTEM_ENTRY_TFTPFS \
     422    { RTEMS_FILESYSTEM_TYPE_TFTPFS, rtems_tftpfs_initialize }
     423#endif
     424
     425/**
     426 * NFS
     427 */
     428#if !defined(CONFIGURE_FILESYSTEM_ENTRY_NFS) && \
     429    defined(CONFIGURE_FILESYSTEM_NFS)
     430  #include <librtemsNfs.h>
     431  #if !defined(CONFIGURE_MAXIMUM_NFS_MOUNTS)
     432    #define CONFIGURE_MAXIMUM_NFS_MOUNTS 1
     433  #endif
     434  #define CONFIGURE_FILESYSTEM_ENTRY_NFS \
     435    { RTEMS_FILESYSTEM_TYPE_NFS, rtems_nfs_initialize }
     436  #define CONFIGURE_SEMAPHORES_FOR_NFS ((CONFIGURE_MAXIMUM_NFS_MOUNTS * 2) + 1)
    441437#else
    442     #define CONFIGURE_SEMAPHORES_FOR_NFS 0
     438  #define CONFIGURE_SEMAPHORES_FOR_NFS 0
    443439#endif
    444440
Note: See TracChangeset for help on using the changeset viewer.