Subversion Repositories HelenOS

Rev

Rev 4530 | Rev 4546 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4530 Rev 4531
Line 115... Line 115...
115
    ER_ABRT     = 0x04, /**< Aborted Command */
115
    ER_ABRT     = 0x04, /**< Aborted Command */
116
    ER_TK0NF    = 0x02, /**< Track 0 Not Found */
116
    ER_TK0NF    = 0x02, /**< Track 0 Not Found */
117
    ER_AMNF     = 0x01  /**< Address Mark Not Found */
117
    ER_AMNF     = 0x01  /**< Address Mark Not Found */
118
};
118
};
119
 
119
 
-
 
120
enum ata_command {
-
 
121
    CMD_IDENTIFY_DRIVE  = 0xEC,
-
 
122
    CMD_READ_SECTORS    = 0x20,
-
 
123
    CMD_WRITE_SECTORS   = 0x30
-
 
124
};
-
 
125
 
120
typedef struct {
126
typedef struct {
121
    bool present;
127
    bool present;
122
    unsigned heads;
128
    unsigned heads;
123
    unsigned cylinders;
129
    unsigned cylinders;
124
    unsigned sectors;
130
    unsigned sectors;