Changeset 0b038bd4 in rtems for cpukit/include/rtems/blkdev.h


Ignore:
Timestamp:
Aug 4, 2018, 8:38:48 AM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
97417bb
Parents:
b152d33
git-author:
Sebastian Huber <sebastian.huber@…> (08/04/18 08:38:48)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/07/18 05:17:19)
Message:

libblock: Add RTEMS_DEPRECATED

Close #3358.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/blkdev.h

    rb152d33 r0b038bd4  
    388388  rtems_blkdev_generic_ioctl
    389389
    390 /**
    391  * Generic block device read primitive.
    392  *
    393  * Implemented using block device buffer management primitives.
    394  */
    395 rtems_device_driver
     390/* Use rtems_blkdev_create() instead */
     391RTEMS_DEPRECATED rtems_device_driver
    396392rtems_blkdev_generic_read(
    397393    rtems_device_major_number major,
     
    400396);
    401397
    402 /**
    403  * Generic block device write primitive.
    404  *
    405  * Implemented using block device buffer management primitives.
    406  */
    407 rtems_device_driver
     398/* Use rtems_blkdev_create() instead */
     399RTEMS_DEPRECATED rtems_device_driver
    408400rtems_blkdev_generic_write(
    409401    rtems_device_major_number major,
     
    412404);
    413405
    414 /**
    415  * Generic block device open primitive.
    416  *
    417  * Implemented using block device buffer management primitives.
    418  */
    419 rtems_device_driver
     406/* Use rtems_blkdev_create() instead */
     407RTEMS_DEPRECATED rtems_device_driver
    420408rtems_blkdev_generic_open(
    421409    rtems_device_major_number major,
     
    424412);
    425413
    426 /**
    427  * Generic block device close primitive.
    428  *
    429  * Implemented using block device buffer management primitives.
    430  */
    431 rtems_device_driver
     414/* Use rtems_blkdev_create() instead */
     415RTEMS_DEPRECATED rtems_device_driver
    432416rtems_blkdev_generic_close(
    433417    rtems_device_major_number major,
     
    436420);
    437421
    438 /**
    439  * Generic block device IO control primitive.
    440  *
    441  * Implemented using block device buffer management primitives.
    442  */
    443 rtems_device_driver
     422/* Use rtems_blkdev_create() instead */
     423RTEMS_DEPRECATED rtems_device_driver
    444424rtems_blkdev_generic_ioctl(
    445425    rtems_device_major_number major,
     
    448428);
    449429
    450 /**
    451  * @brief Generic block operations driver address table.
    452  */
    453 extern const rtems_driver_address_table rtems_blkdev_generic_ops;
     430/* Use rtems_blkdev_create() instead */
     431RTEMS_DEPRECATED extern const rtems_driver_address_table rtems_blkdev_generic_ops;
    454432
    455433/** @} */
Note: See TracChangeset for help on using the changeset viewer.