4.104.114.84.95
Last change
on this file since 109fc26 was
109fc26,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/27/03 at 15:22:58
|
2003-03-27 Joel Sherrill <joel@…>
- ide/Makefile.am: ATA code depends upon libchip/ide which is not
allowed in the cpukit source code since it must be buildable
independent of any BSP. These files were moved to libchip/ide.
- ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
|
-
Property mode set to
100644
|
File size:
1.1 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.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | #ifndef __ATA_H__ |
---|
17 | #define __ATA_H__ |
---|
18 | |
---|
19 | #ifdef __cplusplus |
---|
20 | extern "C" { |
---|
21 | #endif |
---|
22 | |
---|
23 | #include <rtems.h> |
---|
24 | #include <sys/ioctl.h> |
---|
25 | |
---|
26 | #include <rtems/blkdev.h> |
---|
27 | |
---|
28 | rtems_device_driver ata_initialize( |
---|
29 | rtems_device_major_number major, |
---|
30 | rtems_device_minor_number minor, |
---|
31 | void *args); |
---|
32 | |
---|
33 | #define ATA_DRIVER_TABLE_ENTRY \ |
---|
34 | {ata_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES} |
---|
35 | |
---|
36 | /* ATA IOCTL request codes */ |
---|
37 | #define ATAIO_SET_MULTIPLE_MODE _IO('A', 1) |
---|
38 | |
---|
39 | /* |
---|
40 | * ATA driver configuration parameters |
---|
41 | * FIXME: should be configured more easy... |
---|
42 | */ |
---|
43 | #define ATA_DRIVER_MESSAGE_QUEUE_SIZE 50 |
---|
44 | #define ATA_DRIVER_TASK_PRIORITY 140 |
---|
45 | #define ATA_DRIVER_TASK_STACK_SIZE 16*1024 |
---|
46 | |
---|
47 | #ifdef __cplusplus |
---|
48 | } |
---|
49 | #endif |
---|
50 | |
---|
51 | |
---|
52 | #endif /* __ATA_H__ */ |
---|
53 | |
---|
54 | |
---|
55 | |
---|
Note: See
TracBrowser
for help on using the repository browser.