#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 refcnt * | backend |
| Backing device. | |
Definition at line 184 of file ata.h.
struct block_device ata_device::blockdev [read] |
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.
| 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().
1.5.7.1