source: rtems/c/src/libchip/ide/ata.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 * ata.h
3 *
4 * ATA RTEMS driver header file. This file should be included from an
5 * application.
6 *
7 * Copyright (C) 2002 OKTET Ltd., St.-Petersburg, Russia
8 * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14#ifndef __ATA_H__
15#define __ATA_H__
16
17#include <rtems.h>
18#include <sys/ioctl.h>
19
20#include <rtems/blkdev.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26rtems_device_driver rtems_ata_initialize(
27        rtems_device_major_number major,
28        rtems_device_minor_number minor,
29        void *args);
30
31#define ATA_DRIVER_TABLE_ENTRY \
32    {rtems_ata_initialize, RTEMS_GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES}
33
34/* ATA IOCTL request codes */
35#define ATAIO_SET_MULTIPLE_MODE          _IO('A', 1)
36
37/*
38 * ATA driver configuration parameters
39 * FIXME: should be configured more easy...
40 */
41#define ATA_DRIVER_MESSAGE_QUEUE_SIZE    50
42#define ATA_DRIVER_TASK_STACK_SIZE       16*1024
43#define ATA_DRIVER_TASK_DEFAULT_PRIORITY 140
44  extern rtems_task_priority rtems_ata_driver_task_priority;
45#ifdef __cplusplus
46}
47#endif
48
49
50#endif /* __ATA_H__ */
Note: See TracBrowser for help on using the repository browser.