mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[fcp] Allow Fibre Channel device to be described using an EFI device path
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -17,6 +17,7 @@ struct net_device;
|
||||
struct uri;
|
||||
struct iscsi_session;
|
||||
struct aoe_device;
|
||||
struct fcp_description;
|
||||
struct usb_function;
|
||||
|
||||
extern EFI_DEVICE_PATH_PROTOCOL *
|
||||
@@ -29,6 +30,7 @@ extern EFI_DEVICE_PATH_PROTOCOL * efi_uri_path ( struct uri *uri );
|
||||
extern EFI_DEVICE_PATH_PROTOCOL *
|
||||
efi_iscsi_path ( struct iscsi_session *iscsi );
|
||||
extern EFI_DEVICE_PATH_PROTOCOL * efi_aoe_path ( struct aoe_device *aoedev );
|
||||
extern EFI_DEVICE_PATH_PROTOCOL * efi_fcp_path ( struct fcp_description *desc );
|
||||
extern EFI_DEVICE_PATH_PROTOCOL * efi_usb_path ( struct usb_function *func );
|
||||
|
||||
extern EFI_DEVICE_PATH_PROTOCOL * efi_describe ( struct interface *interface );
|
||||
|
||||
@@ -163,4 +163,12 @@ struct fcp_prli_service_parameters {
|
||||
/** Enhanced discovery supported */
|
||||
#define FCP_PRLI_ENH_DISC 0x0800
|
||||
|
||||
/** An FCP device description */
|
||||
struct fcp_description {
|
||||
/** Fibre Channel WWN */
|
||||
struct fc_name wwn;
|
||||
/** SCSI LUN */
|
||||
struct scsi_lun lun;
|
||||
};
|
||||
|
||||
#endif /* _IPXE_FCP_H */
|
||||
|
||||
Reference in New Issue
Block a user