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 @@ -5906,6 +5906,11 @@ static void r8153_enter_oob(struct r8152 *tp)
59065906 ocp_data &= ~NOW_IS_OOB ;
59075907 ocp_write_byte (tp , MCU_TYPE_PLA , PLA_OOB_CTRL , ocp_data );
59085908
5909+ /* RX FIFO settings for OOB */
5910+ ocp_write_dword (tp , MCU_TYPE_PLA , PLA_RXFIFO_CTRL0 , RXFIFO_THR1_OOB );
5911+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RXFIFO_CTRL1 , RXFIFO_THR2_OOB );
5912+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RXFIFO_CTRL2 , RXFIFO_THR3_OOB );
5913+
59095914 rtl_disable (tp );
59105915 rtl_reset_bmu (tp );
59115916
@@ -6544,6 +6549,11 @@ static void rtl8156_down(struct r8152 *tp)
65446549 ocp_data &= ~NOW_IS_OOB ;
65456550 ocp_write_byte (tp , MCU_TYPE_PLA , PLA_OOB_CTRL , ocp_data );
65466551
6552+ /* RX FIFO settings for OOB */
6553+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RXFIFO_FULL , 64 / 16 );
6554+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RX_FIFO_FULL , 1024 / 16 );
6555+ ocp_write_word (tp , MCU_TYPE_PLA , PLA_RX_FIFO_EMPTY , 4096 / 16 );
6556+
65476557 rtl_disable (tp );
65486558 rtl_reset_bmu (tp );
65496559
You can’t perform that action at this time.
0 commit comments