Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/if_ixv.c
Show All 12 Lines | |||||
device_printf(dev, "ixv_allocate_pci_resources() failed!\n"); | device_printf(dev, "ixv_allocate_pci_resources() failed!\n"); | ||||
error = ENXIO; | error = ENXIO; | ||||
goto err_out; | goto err_out; | ||||
} | } | ||||
/* SYSCTL APIs */ | /* SYSCTL APIs */ | ||||
SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev), | SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev), | ||||
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "debug", | SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, "debug", | ||||
CTLTYPE_INT | CTLFLAG_RW, adapter, 0, ixv_sysctl_debug, "I", | CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, adapter, 0, | ||||
ixv_sysctl_debug, "I", | |||||
"Debug Info"); | "Debug Info"); | ||||
/* Determine hardware revision */ | /* Determine hardware revision */ | ||||
ixv_identify_hardware(ctx); | ixv_identify_hardware(ctx); | ||||
ixv_init_device_features(adapter); | ixv_init_device_features(adapter); | ||||
/* Initialize the shared code */ | /* Initialize the shared code */ | ||||
error = ixgbe_init_ops_vf(hw); | error = ixgbe_init_ops_vf(hw); | ||||
Show All 12 Lines |