diff options
| author | Itay Gazit | 2010-10-28 15:53:53 +0200 |
|---|---|---|
| committer | Michael Brown | 2011-02-17 02:25:08 +0100 |
| commit | 56b6613e946b423be9de06a141a38c648caef4e3 (patch) | |
| tree | 1989d9244fe57dfd8fa6b378559f6e9daa869aa0 /src/drivers | |
| parent | [pcbios] Merge adjacent memory regions of same type (diff) | |
| download | ipxe-56b6613e946b423be9de06a141a38c648caef4e3.tar.gz ipxe-56b6613e946b423be9de06a141a38c648caef4e3.tar.xz ipxe-56b6613e946b423be9de06a141a38c648caef4e3.zip | |
[hermon] Fix hermon_cmd_sense_port() to use inline output
Signed-off-by: Itay Gazit <itaygazit@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/infiniband/hermon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c index 6e3955af7..cba92cefe 100644 --- a/src/drivers/infiniband/hermon.c +++ b/src/drivers/infiniband/hermon.c @@ -509,9 +509,9 @@ static inline int hermon_cmd_sense_port ( struct hermon *hermon, unsigned int port, struct hermonprm_sense_port *port_type ) { return hermon_cmd ( hermon, - HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT, - 1, sizeof ( *port_type ) ), - 0, NULL, port, port_type ); + HERMON_HCR_OUT_CMD ( HERMON_HCR_SENSE_PORT, + 0, sizeof ( *port_type ) ), + 0, NULL, port, port_type ); } static inline int |
