ata_device Struct Reference

An ATA device. More...

#include <ata.h>


Data Fields

struct block_device blockdev
 Block device interface.
int device
 Device number.
int lba48
 LBA48 extended addressing.
int(* command )(struct ata_device *ata, struct ata_command *command)
 Issue ATA command.
struct refcntbackend
 Backing device.


Detailed Description

An ATA device.

Definition at line 184 of file ata.h.


Field Documentation

Block device interface.

Definition at line 186 of file ata.h.

Referenced by aoeboot(), and init_atadev().

Device number.

Must be ATA_DEV_MASTER or ATA_DEV_SLAVE.

Definition at line 191 of file ata.h.

Referenced by ata_identify(), ata_read(), and ata_write().

LBA48 extended addressing.

Definition at line 193 of file ata.h.

Referenced by ata_identify(), ata_read(), and ata_write().

int( * ata_device::command)(struct ata_device *ata, struct ata_command *command)

Issue ATA command.

Parameters:
ata ATA device
command ATA command
Return values:
rc Return status code

Referenced by aoe_attach(), and aoe_detach().

struct refcnt* ata_device::backend [read]

Backing device.

Definition at line 204 of file ata.h.

Referenced by aoe_attach(), aoe_command(), aoe_detach(), and aoeboot().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:02 2010 for gPXE by  doxygen 1.5.7.1