From 1f394c2f7c81df27b39c3f76715427398625b048 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 1 Jun 2006 11:14:59 +0000 Subject: 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. --- src/include/gpxe/ata.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/include') diff --git a/src/include/gpxe/ata.h b/src/include/gpxe/ata.h index 7b348d822..e0fca7afe 100644 --- a/src/include/gpxe/ata.h +++ b/src/include/gpxe/ata.h @@ -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 ); -- cgit v1.2.3-55-g7522