iPXE
Data Fields
ata_device Struct Reference

An ATA device. More...

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct interface block
 Block control interface. More...
 
struct interface ata
 ATA control interface. More...
 
unsigned int device
 Device number. More...
 
unsigned int max_count
 Maximum number of blocks per single transfer. More...
 
int lba48
 Device uses LBA48 extended addressing. More...
 

Detailed Description

An ATA device.

Definition at line 90 of file ata.c.

Field Documentation

◆ refcnt

struct refcnt ata_device::refcnt

Reference count.

Definition at line 92 of file ata.c.

Referenced by __attribute__(), and ata_open().

◆ block

struct interface ata_device::block

Block control interface.

Definition at line 94 of file ata.c.

Referenced by ata_open(), and atadev_close().

◆ ata

struct interface ata_device::ata

ATA control interface.

Definition at line 96 of file ata.c.

Referenced by ata_open(), atadev_close(), and atadev_command().

◆ device

unsigned int ata_device::device

Device number.

Must be ATA_DEV_MASTER or ATA_DEV_SLAVE.

Definition at line 102 of file ata.c.

Referenced by ata_open(), atadev_command(), and atadev_edd_describe().

◆ max_count

unsigned int ata_device::max_count

Maximum number of blocks per single transfer.

Definition at line 104 of file ata.c.

Referenced by ata_open(), and atacmd_identify_done().

◆ lba48

int ata_device::lba48

Device uses LBA48 extended addressing.

Definition at line 106 of file ata.c.

Referenced by atacmd_identify_done(), and atadev_command().


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