From 4327d5d39f101f1df0ace6c03f3b3ada5f6a6213 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 16 Jun 2010 01:31:29 +0100 Subject: [interface] Convert all data-xfer interfaces to generic interfaces Remove data-xfer as an interface type, and replace data-xfer interfaces with generic interfaces supporting the data-xfer methods. Filter interfaces (as used by the TLS layer) are handled using the generic pass-through interface capability. A side-effect of this is that deliver_raw() no longer exists as a data-xfer method. (In practice this doesn't lose any efficiency, since there are no instances within the current codebase where xfer_deliver_raw() is used to pass data to an interface supporting the deliver_raw() method.) Signed-off-by: Michael Brown --- src/include/ipxe/srp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/ipxe/srp.h') diff --git a/src/include/ipxe/srp.h b/src/include/ipxe/srp.h index 7c0ff4c93..e519838a4 100644 --- a/src/include/ipxe/srp.h +++ b/src/include/ipxe/srp.h @@ -832,7 +832,7 @@ struct srp_device { struct scsi_command *command; /** Underlying data transfer interface */ - struct xfer_interface socket; + struct interface socket; /** Transport type */ struct srp_transport_type *transport; -- cgit v1.2.3-55-g7522