summaryrefslogtreecommitdiffstats
path: root/src/drivers/block
diff options
context:
space:
mode:
authorMichael Brown2010-09-22 01:28:36 +0200
committerMichael Brown2010-09-22 18:11:29 +0200
commit9e036d32ba1b111192503341995043293f3136c6 (patch)
tree6493006712d69187e380ddfeea7a7a727969d9f7 /src/drivers/block
parent[aoe] Add support for identifying the underlying hardware device (diff)
downloadipxe-9e036d32ba1b111192503341995043293f3136c6.tar.gz
ipxe-9e036d32ba1b111192503341995043293f3136c6.tar.xz
ipxe-9e036d32ba1b111192503341995043293f3136c6.zip
[infiniband] Add support for identifying the underlying hardware device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/block')
-rw-r--r--src/drivers/block/srp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/block/srp.c b/src/drivers/block/srp.c
index 4b592e95..007e62d1 100644
--- a/src/drivers/block/srp.c
+++ b/src/drivers/block/srp.c
@@ -701,7 +701,8 @@ static struct interface_operation srpdev_socket_op[] = {
/** SRP device socket interface descriptor */
static struct interface_descriptor srpdev_socket_desc =
- INTF_DESC ( struct srp_device, socket, srpdev_socket_op );
+ INTF_DESC_PASSTHRU ( struct srp_device, socket, srpdev_socket_op,
+ scsi );
/** SRP device SCSI interface operations */
static struct interface_operation srpdev_scsi_op[] = {
@@ -713,7 +714,7 @@ static struct interface_operation srpdev_scsi_op[] = {
/** SRP device SCSI interface descriptor */
static struct interface_descriptor srpdev_scsi_desc =
- INTF_DESC ( struct srp_device, scsi, srpdev_scsi_op );
+ INTF_DESC_PASSTHRU ( struct srp_device, scsi, srpdev_scsi_op, socket );
/**
* Open SRP device