diff options
Diffstat (limited to 'drivers/net/vxge')
-rw-r--r-- | drivers/net/vxge/vxge-config.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/vxge/vxge-config.c b/drivers/net/vxge/vxge-config.c index 243fb8cf08b2..ec4408ceef18 100644 --- a/drivers/net/vxge/vxge-config.c +++ b/drivers/net/vxge/vxge-config.c | |||
@@ -356,8 +356,10 @@ __vxge_hw_device_access_rights_get(u32 host_type, u32 func_id) | |||
356 | 356 | ||
357 | switch (host_type) { | 357 | switch (host_type) { |
358 | case VXGE_HW_NO_MR_NO_SR_NORMAL_FUNCTION: | 358 | case VXGE_HW_NO_MR_NO_SR_NORMAL_FUNCTION: |
359 | access_rights |= VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM | | 359 | if (func_id == 0) { |
360 | VXGE_HW_DEVICE_ACCESS_RIGHT_SRPCIM; | 360 | access_rights |= VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM | |
361 | VXGE_HW_DEVICE_ACCESS_RIGHT_SRPCIM; | ||
362 | } | ||
361 | break; | 363 | break; |
362 | case VXGE_HW_MR_NO_SR_VH0_BASE_FUNCTION: | 364 | case VXGE_HW_MR_NO_SR_VH0_BASE_FUNCTION: |
363 | access_rights |= VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM | | 365 | access_rights |= VXGE_HW_DEVICE_ACCESS_RIGHT_MRPCIM | |