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 89 of file ata.c.

Field Documentation

◆ refcnt

struct refcnt ata_device::refcnt

Reference count.

Definition at line 91 of file ata.c.

Referenced by __attribute__(), and ata_open().

◆ block

struct interface ata_device::block

Block control interface.

Definition at line 93 of file ata.c.

Referenced by ata_open(), and atadev_close().

◆ ata

struct interface ata_device::ata

ATA control interface.

Definition at line 95 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 101 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 103 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 105 of file ata.c.

Referenced by atacmd_identify_done(), and atadev_command().


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