mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 19:49:45 +03:00
Backing out last change; no immediate plans to make the whole block-device
layer asynchronous, so keeping the sync/async boundary within aoedev.c seems cleanest for now.
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
struct async_operation;
|
||||
|
||||
/**
|
||||
* An ATA Logical Block Address
|
||||
*
|
||||
@@ -193,10 +191,10 @@ struct ata_device {
|
||||
*
|
||||
* @v ata ATA device
|
||||
* @v command ATA command
|
||||
* @ret aop Asynchronous operation
|
||||
* @ret rc Return status code
|
||||
*/
|
||||
struct async_operation * ( * command ) ( struct ata_device *ata,
|
||||
struct ata_command *command );
|
||||
int ( * command ) ( struct ata_device *ata,
|
||||
struct ata_command *command );
|
||||
};
|
||||
|
||||
extern int init_atadev ( struct ata_device *ata );
|
||||
|
||||
Reference in New Issue
Block a user