4.115
Last change
on this file since 6e868d87 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
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.org/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 |
---|
23 | extern "C" { |
---|
24 | #endif |
---|
25 | |
---|
26 | rtems_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.