Changeset 4f3cbd9 in rtems


Ignore:
Timestamp:
Feb 28, 2012, 12:03:15 PM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
c649976
Parents:
03ad6b1d
git-author:
Sebastian Huber <sebastian.huber@…> (02/28/12 12:03:15)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/13/12 11:24:17)
Message:

libblock: New IO control RTEMS_BLKIO_GETDISKDEV

Location:
cpukit/libblock
Files:
2 edited

Legend:

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

    r03ad6b1d r4f3cbd9  
    162162#define RTEMS_BLKIO_DELETED         _IO('B', 7)
    163163#define RTEMS_BLKIO_CAPABILITIES    _IO('B', 8)
     164#define RTEMS_BLKIO_GETDISKDEV      _IOR('B', 9, rtems_disk_device *)
    164165
    165166/** @} */
  • cpukit/libblock/src/blkdev.c

    r03ad6b1d r4f3cbd9  
    212212            break;
    213213
     214        case RTEMS_BLKIO_GETDISKDEV:
     215            *((rtems_disk_device **) args->buffer) = dd;
     216            args->ioctl_return = 0;
     217            break;
     218
    214219        case RTEMS_BLKIO_REQUEST:
    215220            /*
Note: See TracChangeset for help on using the changeset viewer.