Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

IdeAta.h

Go to the documentation of this file.
00001 /*!     \file include/kernel/IdeAta.h
00002  *      \brief IDE driver::ATA Protocol header.
00003  *      \author Luca Giovacchini
00004  *      \date Last update: 2003-11-07
00005  *      \note Copyright (©) 2003 Luca Giovacchini
00006  *
00007  *      This driver is based on Atadrv by Hale Landis
00008  *      but it is completely rearranged for the minirighi32.
00009  *      \n
00010  *      <b>IMPORTANT!!!</b>\n
00011  *      Here you can find sub implementing tha ATA-Standard protocols.
00012  *      Each Hd command must be executed throught one of these
00013  *      protocols.
00014  *      Parameters meanings are command dependent.
00015  *      Refer to Ata-4 document to see what protocol to use for each
00016  *      command and the meaning of each parameter.
00017  *      Some protocols are not developed exactly as T13 says.
00018  *
00019  *      Read IdeDebug for Error Return Code Explain.
00020  */
00021 
00022 #ifndef IDEATA_H
00023 #define IDEATA_H
00024 
00025 #include <const.h>
00026 
00027 
00028 int IdeDeviceSelection( int Dev );
00029 void IdeDeviceDetection (int Dev);
00030 void IdeDeviceTypeDetection (int Dev);
00031 int IdeSoftReset( int SkipFlag, int UseInterrupt );
00032 int IdeNonData(         int Dev, int Cmd,
00033                                         int Feat, int SecC,
00034                                         dword Cyl, int Head, 
00035                                         int Sec, int UseInterrupt );
00036 int IdePioDataInLba(int Dev, int Cmd,
00037                                         int Feat, int SecC, uint64 Lba,
00038                                         word * Buffer,
00039                                         int NumSect, int MultiCnt, int UseInterrupt);
00040 int IdePioDataIn(       int Dev, int Cmd,
00041                                         int Feat, int SecC,
00042                     dword Cyl, int Head, int Sect,
00043                     word * Buffer,
00044                     int NumSect, int MultiCnt, int UseInterrupt);
00045 int IdePioDataOutLba(int Dev, int Cmd,
00046                                         int Feat, int SecC, uint64 Lba,
00047                                         word * Buffer,
00048                                         int NumSect, int MultiCnt, int UseInterrupt);
00049 int IdePioDataOut(      int Dev, int Cmd,
00050                                         int Feat, int SecC,
00051                     dword Cyl, int Head, int Sect,
00052                     word * Buffer,
00053                     int NumSect, int MultiCnt, int UseInterrupt);
00054 
00055 
00056 #endif
00057 

Generated on Fri Feb 20 15:32:15 2004 for Minirighi by doxygen1.2.18