Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/cxgbe/t4_main.c
Show First 20 Lines • Show All 3,326 Lines • ▼ Show 20 Lines | if (rc != 0) { | ||||
device_printf(sc->dev, | device_printf(sc->dev, | ||||
"failed to query iSCSI parameters: %d.\n", rc); | "failed to query iSCSI parameters: %d.\n", rc); | ||||
return (rc); | return (rc); | ||||
} | } | ||||
sc->vres.iscsi.start = val[0]; | sc->vres.iscsi.start = val[0]; | ||||
sc->vres.iscsi.size = val[1] - val[0] + 1; | sc->vres.iscsi.size = val[1] - val[0] + 1; | ||||
} | } | ||||
t4_init_sge_params(sc); | |||||
/* | /* | ||||
* We've got the params we wanted to query via the firmware. Now grab | * We've got the params we wanted to query via the firmware. Now grab | ||||
* some others directly from the chip. | * some others directly from the chip. | ||||
*/ | */ | ||||
rc = t4_read_chip_settings(sc); | rc = t4_read_chip_settings(sc); | ||||
return (rc); | return (rc); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 6,190 Lines • Show Last 20 Lines |