Generic ATA functions. More...
#include <hostgenericata.h>
Public Member Functions | |
unsigned | update_params (unsigned short *id, bool slave) |
Update the parameters from an identify_drive packet. | |
unsigned | get_disk_parameter (DiskParameter *params) |
Get the disk parameters. | |
void | dump_description () |
Dump an description. | |
HostGenericAta () | |
Public Attributes | |
bool | _lba48 |
unsigned long long | _maxsector |
unsigned | _maxcount |
char | _model [40] |
bool | _atapi |
bool | _slave |
Generic ATA functions.
Copyright (C) 2008, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. Helper class that unifies functions for IDE+SATA disks
HostGenericAta::HostGenericAta | ( | ) | [inline] |
void HostGenericAta::dump_description | ( | ) | [inline] |
Dump an description.
unsigned HostGenericAta::get_disk_parameter | ( | DiskParameter * | params | ) | [inline] |
Get the disk parameters.
unsigned HostGenericAta::update_params | ( | unsigned short * | id, | |
bool | slave | |||
) | [inline] |
Update the parameters from an identify_drive packet.
unsigned HostGenericAta::_maxcount |
unsigned long long HostGenericAta::_maxsector |
char HostGenericAta::_model[40] |