diff options
Diffstat (limited to 'drivers/net/vxge/vxge-main.c')
-rw-r--r-- | drivers/net/vxge/vxge-main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c index 7a851ac30c60..04ac4b6cf83a 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/vxge/vxge-main.c | |||
@@ -4244,6 +4244,15 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) | |||
4244 | goto _exit3; | 4244 | goto _exit3; |
4245 | } | 4245 | } |
4246 | 4246 | ||
4247 | /* if FCS stripping is not disabled in MAC fail driver load */ | ||
4248 | if (vxge_hw_vpath_strip_fcs_check(hldev, vpath_mask) != VXGE_HW_OK) { | ||
4249 | vxge_debug_init(VXGE_ERR, | ||
4250 | "%s: FCS stripping is not disabled in MAC" | ||
4251 | " failing driver load", VXGE_DRIVER_NAME); | ||
4252 | ret = -EINVAL; | ||
4253 | goto _exit4; | ||
4254 | } | ||
4255 | |||
4247 | vxge_hw_device_debug_set(hldev, VXGE_ERR, VXGE_COMPONENT_LL); | 4256 | vxge_hw_device_debug_set(hldev, VXGE_ERR, VXGE_COMPONENT_LL); |
4248 | 4257 | ||
4249 | /* set private device info */ | 4258 | /* set private device info */ |