File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -5904,6 +5904,11 @@ static void r8153_enter_oob(struct r8152 *tp)
59045904 ocp_data &= ~NOW_IS_OOB ;
59055905 ocp_write_byte (tp , MCU_TYPE_PLA , PLA_OOB_CTRL , ocp_data );
59065906
5907+ /* RX FIFO settings for OOB */
5908+ ocp_write_dword (tp , MCU_TYPE_PLA , PLA_RXFIFO_CTRL0 , RXFIFO_THR1_OOB );
5909+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RXFIFO_CTRL1 , RXFIFO_THR2_OOB );
5910+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RXFIFO_CTRL2 , RXFIFO_THR3_OOB );
5911+
59075912 rtl_disable (tp );
59085913 rtl_reset_bmu (tp );
59095914
@@ -6542,6 +6547,11 @@ static void rtl8156_down(struct r8152 *tp)
65426547 ocp_data &= ~NOW_IS_OOB ;
65436548 ocp_write_byte (tp , MCU_TYPE_PLA , PLA_OOB_CTRL , ocp_data );
65446549
6550+ /* RX FIFO settings for OOB */
6551+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RXFIFO_FULL , 64 / 16 );
6552+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RX_FIFO_FULL , 1024 / 16 );
6553+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RX_FIFO_EMPTY , 4096 / 16 );
6554+
65456555 rtl_disable (tp );
65466556 rtl_reset_bmu (tp );
65476557
You can’t perform that action at this time.
0 commit comments