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:
Michael Brown
2006-06-01 11:14:59 +00:00
parent d6866202f9
commit 1f394c2f7c
3 changed files with 9 additions and 11 deletions

View File

@@ -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 );