diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-08 06:59:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-08 06:59:44 +0000 |
commit | d862ab7ab44650a997da9e1c149c57da32210b28 (patch) | |
tree | c06db664468853fd5c846fa9ba452df3ab93bbc7 /c/src/libchip | |
parent | 2008-09-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d862ab7ab44650a997da9e1c149c57da32210b28.tar.bz2 |
Convert to Unix file format.
Diffstat (limited to 'c/src/libchip')
-rw-r--r-- | c/src/libchip/ide/ata.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/c/src/libchip/ide/ata.h b/c/src/libchip/ide/ata.h index 1564d135f6..5d2f141c6c 100644 --- a/c/src/libchip/ide/ata.h +++ b/c/src/libchip/ide/ata.h @@ -1,52 +1,52 @@ -/*
- * ata.h
- *
- * ATA RTEMS driver header file. This file should be included from an
- * application.
- *
- * Copyright (C) 2002 OKTET Ltd., St.-Petersburg, Russia
- * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-#ifndef __ATA_H__
-#define __ATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems.h>
-#include <sys/ioctl.h>
-
-#include <rtems/blkdev.h>
-
-rtems_device_driver rtems_ata_initialize(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *args);
-
-#define ATA_DRIVER_TABLE_ENTRY \
- {rtems_ata_initialize, RTEMS_GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES}
-
-/* ATA IOCTL request codes */
-#define ATAIO_SET_MULTIPLE_MODE _IO('A', 1)
-
-/*
- * ATA driver configuration parameters
- * FIXME: should be configured more easy...
- */
-#define ATA_DRIVER_MESSAGE_QUEUE_SIZE 50
-#define ATA_DRIVER_TASK_STACK_SIZE 16*1024
-#define ATA_DRIVER_TASK_DEFAULT_PRIORITY 140
- extern rtems_task_priority rtems_ata_driver_task_priority;
-#ifdef __cplusplus
-}
-#endif
-
-
-#endif /* __ATA_H__ */
+/* + * ata.h + * + * ATA RTEMS driver header file. This file should be included from an + * application. + * + * Copyright (C) 2002 OKTET Ltd., St.-Petersburg, Russia + * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ +#ifndef __ATA_H__ +#define __ATA_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#include <rtems.h> +#include <sys/ioctl.h> + +#include <rtems/blkdev.h> + +rtems_device_driver rtems_ata_initialize( + rtems_device_major_number major, + rtems_device_minor_number minor, + void *args); + +#define ATA_DRIVER_TABLE_ENTRY \ + {rtems_ata_initialize, RTEMS_GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES} + +/* ATA IOCTL request codes */ +#define ATAIO_SET_MULTIPLE_MODE _IO('A', 1) + +/* + * ATA driver configuration parameters + * FIXME: should be configured more easy... + */ +#define ATA_DRIVER_MESSAGE_QUEUE_SIZE 50 +#define ATA_DRIVER_TASK_STACK_SIZE 16*1024 +#define ATA_DRIVER_TASK_DEFAULT_PRIORITY 140 + extern rtems_task_priority rtems_ata_driver_task_priority; +#ifdef __cplusplus +} +#endif + + +#endif /* __ATA_H__ */ |