Public Member Functions | Public Attributes

HostGenericAta Class Reference

Generic ATA functions. More...

#include <hostgenericata.h>

List of all members.

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

Detailed Description

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


Constructor & Destructor Documentation

HostGenericAta::HostGenericAta (  )  [inline]

Member Function Documentation

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.


Member Data Documentation

unsigned long long HostGenericAta::_maxsector

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines