X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae2566d99ca3e1cd82660434ba5078eaa9ec2cd9..4412c3fbf24f59d4ce27e08913d6b398a8a4614f:/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch diff --git a/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch b/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch index 6f8184e68..d3cb74fa1 100644 --- a/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch +++ b/target/linux/generic-2.6/patches-2.6.27/208-rtl8110sb_fix.patch @@ -1,6 +1,6 @@ --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c -@@ -1519,7 +1519,7 @@ static const struct rtl_cfg_info { +@@ -1507,7 +1507,7 @@ static const struct rtl_cfg_info { .hw_start = rtl_hw_start_8169, .region = 1, .align = 0, @@ -8,8 +8,8 @@ + .intr_event = LinkChg | RxOverflow | RxFIFOOver | TxErr | TxOK | RxOK | RxErr, .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow, - .msi = 0 -@@ -1528,7 +1528,7 @@ static const struct rtl_cfg_info { + .features = RTL_FEATURE_GMII +@@ -1516,7 +1516,7 @@ static const struct rtl_cfg_info { .hw_start = rtl_hw_start_8168, .region = 2, .align = 8, @@ -17,8 +17,8 @@ + .intr_event = LinkChg | RxOverflow | TxErr | TxOK | RxOK | RxErr, .napi_event = TxErr | TxOK | RxOK | RxOverflow, - .msi = RTL_FEATURE_MSI -@@ -1537,7 +1537,7 @@ static const struct rtl_cfg_info { + .features = RTL_FEATURE_GMII | RTL_FEATURE_MSI +@@ -1525,7 +1525,7 @@ static const struct rtl_cfg_info { .hw_start = rtl_hw_start_8101, .region = 2, .align = 8, @@ -26,8 +26,8 @@ + .intr_event = LinkChg | RxOverflow | PCSTimeout | RxFIFOOver | TxErr | TxOK | RxOK | RxErr, .napi_event = RxFIFOOver | TxErr | TxOK | RxOK | RxOverflow, - .msi = RTL_FEATURE_MSI -@@ -2873,10 +2873,12 @@ static irqreturn_t rtl8169_interrupt(int + .features = RTL_FEATURE_MSI +@@ -2866,10 +2866,12 @@ static irqreturn_t rtl8169_interrupt(int goto out; }