mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
Handle multi-sector reads by splitting them into subcommands.
This commit is contained in:
@@ -110,6 +110,8 @@ struct aoe_session {
|
||||
extern void aoe_open ( struct aoe_session *aoe );
|
||||
extern void aoe_close ( struct aoe_session *aoe );
|
||||
extern int aoe_issue ( struct aoe_session *aoe, struct ata_command *command );
|
||||
extern int aoe_issue_split ( struct aoe_session *aoe,
|
||||
struct ata_command *command );
|
||||
|
||||
/** An AoE device */
|
||||
struct aoe_device {
|
||||
|
||||
@@ -117,6 +117,9 @@ struct ata_cb {
|
||||
/** Master ("device 0") flag in the ATA device register */
|
||||
#define ATA_DEV_MASTER 0x00
|
||||
|
||||
/** Mask of non-LBA portion of device register */
|
||||
#define ATA_DEV_MASK 0xf0
|
||||
|
||||
/** "Read sectors" command */
|
||||
#define ATA_CMD_READ 0x20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user