[infiniband] Add support for identifying the underlying hardware device

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2010-09-22 00:28:36 +01:00
parent d068049789
commit 9e036d32ba
2 changed files with 16 additions and 2 deletions

View File

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