Changeset a0001d6 in rtems


Ignore:
Timestamp:
May 14, 2015, 9:17:00 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
441e8ef, b1b5ddf0
Parents:
47c9c083
Message:

Remove obsolete rtems_clock_major/minor

These global variables are obsolete since
65f71f8472fa904ca48b816301ed0810def47001.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/timer/tlib_ckinit.c

    r47c9c083 ra0001d6  
    5252void Clock_exit(void);
    5353void Clock_isr(void *arg_unused);
    54 
    55 /*
    56  *  Major and minor number.
    57  */
    58 
    59 rtems_device_major_number rtems_clock_major = UINT32_MAX;
    60 rtems_device_minor_number rtems_clock_minor;
    6154
    6255/*
     
    260253
    261254  /*
    262    * make major/minor avail to others such as shared memory driver
    263    */
    264 
    265   rtems_clock_major = major;
    266   rtems_clock_minor = minor;
    267 
    268   /*
    269255   *  If we are counting ISRs per tick, then initialize the counter.
    270256   */
  • doc/bsp_howto/clock.t

    r47c9c083 ra0001d6  
    1919This section describes the global variables expected to be provided by
    2020this driver.
    21 
    22 @subsection Major and Minor Number
    23 
    24 The major and minor numbers of the clock driver are made available via
    25 the following variables. 
    26 
    27 @itemize @bullet
    28 @item rtems_device_major_number rtems_clock_major;
    29 @item rtems_device_minor_number rtems_clock_minor;
    30 @end itemize
    31 
    32 The clock device driver is responsible for declaring and
    33 initializing these variables.  These variables are used
    34 by other RTEMS components -- notably the Shared Memory Driver.
    35 
    36 @b{NOTE:} In a future RTEMS version, these variables may be replaced
    37 with the clock device driver registering @b{/dev/clock}.
    3821
    3922@subsection Ticks Counter
Note: See TracChangeset for help on using the changeset viewer.