source: rtems/c/src/libchip/ide/ata.h @ 10e66215

Last change on this file since 10e66215 was 10e66215, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:46:04

2003-09-04 Joel Sherrill <joel@…>

  • ide/ata.c, ide/ata.h, ide/ata_internal.h, ide/ide_controller.c, ide/ide_ctrl.h, ide/ide_ctrl_cfg.h, ide/ide_ctrl_io.h, network/cs8900.c, network/cs8900.c.bsp, network/cs8900.h, network/dec21140.c, network/elnk.c, network/open_eth.c, network/sonic.c, network/sonic.h, rtc/icm7170.c, rtc/icm7170.h, rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c, rtc/icm7170_reg8.c, rtc/m48t08.c, rtc/m48t08.h, rtc/m48t08_reg.c, rtc/m48t08_reg2.c, rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, rtc/rtc.h, rtc/rtcprobe.c, serial/mc68681.c, serial/mc68681.h, serial/mc68681_p.h, serial/mc68681_reg.c, serial/mc68681_reg2.c, serial/mc68681_reg4.c, serial/mc68681_reg8.c, serial/serial.h, serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h, serial/z85c30_reg.c: URL for license changed.
  • 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.rtems.com/license/LICENSE.
13 *
14 * $Id$
15 */
16#ifndef __ATA_H__
17#define __ATA_H__
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <rtems.h>
24#include <sys/ioctl.h>
25
26#include <rtems/blkdev.h>
27
28rtems_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.