Changeset ae53d9e in rtems-libbsd


Ignore:
Timestamp:
May 23, 2012, 7:36:24 PM (8 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, a8f29d695e152575479ad1a97fa354f661bebd4d, freebsd-9.3, d892051f37c2c4ad7f345f6a817ea3d38e56a431
Children:
fb4c8a9
Parents:
5382b1f1
Message:

Commented out elements of the cdev struct which were unused
This was in preperation for adding RTEMS versions of make_dev and
destroy_dev.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/conf.h

    r5382b1f1 rae53d9e  
    6565#define SI_CANDELETE    0x0100  /* can do BIO_DELETE */
    6666#define SI_CLONELIST    0x0200  /* on a clone list */
     67#ifndef __rtems__
    6768        struct timespec si_atime;
    6869        struct timespec si_ctime;
     
    7273        mode_t          si_mode;
    7374        struct ucred    *si_cred;       /* cached clone-time credential */
     75#endif /* __rtems__ */
    7476        int             si_drv0;
     77#ifndef __rtems__
    7578        int             si_refcount;
    7679        LIST_ENTRY(cdev)        si_list;
     
    8083        struct cdev *si_parent;
    8184        char            *si_name;
     85#endif /* __rtems__ */
    8286        void            *si_drv1, *si_drv2;
     87#ifndef __rtems__
    8388        struct cdevsw   *si_devsw;
    8489        int             si_iosize_max;  /* maximum I/O size (for physio &al) */
     
    8994        } __si_u;
    9095        char            __si_namebuf[SPECNAMELEN + 1];
     96#endif /* __rtems__ */
    9197};
    9298
Note: See TracChangeset for help on using the changeset viewer.