diff options
author | Michael Brown <mcb30@ipxe.org> | 2010-11-04 02:49:07 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-11-08 03:35:36 +0000 |
commit | 90930be8fe7d9991a6d31cd63c6c2da09e1d5f55 (patch) | |
tree | 9a313db32bce9c7f08685b8f16a73393bf59293c /src/net/fcp.c | |
parent | f5115f96f7e41ead1162d0bc256545b2e8d870de (diff) | |
download | ipxe-90930be8fe7d9991a6d31cd63c6c2da09e1d5f55.tar.gz |
[fc] Support Fibre Channel ECHO
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/fcp.c')
-rw-r--r-- | src/net/fcp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/net/fcp.c b/src/net/fcp.c index 0da57cfcb..40cd057e6 100644 --- a/src/net/fcp.c +++ b/src/net/fcp.c @@ -103,7 +103,7 @@ static int fcp_prli_tx ( struct fc_els *els ) { * @v len Length of ELS frame * @ret rc Return status code */ -static int fcp_prli_rx ( struct fc_els *els, const void *data, size_t len ) { +static int fcp_prli_rx ( struct fc_els *els, void *data, size_t len ) { return fc_els_prli_rx ( els, &fcp_prli_descriptor, data, len ); } @@ -123,10 +123,8 @@ static int fcp_prli_detect ( struct fc_els *els, const void *data, /** FCP PRLI ELS handler */ struct fc_els_handler fcp_prli_handler __fc_els_handler = { .name = "PRLI-FCP", - .tx_request = fcp_prli_tx, - .tx_response = fcp_prli_tx, - .rx_request = fcp_prli_rx, - .rx_response = fcp_prli_rx, + .tx = fcp_prli_tx, + .rx = fcp_prli_rx, .detect = fcp_prli_detect, }; |