mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
jungfrau server: flow control 10g fixed
This commit is contained in:
parent
35aff6bf76
commit
c8d9503d5f
Binary file not shown.
@ -1594,7 +1594,7 @@ int setNetworkParameter(enum NETWORKINDEX mode, int value) {
|
|||||||
}
|
}
|
||||||
return ((bus_r(CONFIG_REG) & CONFIG_TDMA_TIMESLOT_MSK) >> CONFIG_TDMA_TIMESLOT_OFST);
|
return ((bus_r(CONFIG_REG) & CONFIG_TDMA_TIMESLOT_MSK) >> CONFIG_TDMA_TIMESLOT_OFST);
|
||||||
|
|
||||||
case FLOW_CONTROL_10G:
|
case FLOWCTRL_10G:
|
||||||
if (value == 0) {
|
if (value == 0) {
|
||||||
FILE_LOG(logINFO, ("Switching off 10G flow control\n"));
|
FILE_LOG(logINFO, ("Switching off 10G flow control\n"));
|
||||||
bus_w(CONFIG_REG, bus_r(CONFIG_REG) &~ CONFIG_ETHRNT_FLW_CNTRL_MSK);
|
bus_w(CONFIG_REG, bus_r(CONFIG_REG) &~ CONFIG_ETHRNT_FLW_CNTRL_MSK);
|
||||||
|
@ -7,4 +7,4 @@
|
|||||||
#define APILIB 0x190723
|
#define APILIB 0x190723
|
||||||
#define APIRECEIVER 0x190722
|
#define APIRECEIVER 0x190722
|
||||||
#define APIGUI 0x190723
|
#define APIGUI 0x190723
|
||||||
#define APIJUNGFRAU 0x190723
|
#define APIJUNGFRAU 0x190724
|
||||||
|
Loading…
x
Reference in New Issue
Block a user