Add patch for RTL8111

This commit is contained in:
Stefan Reimer 2012-09-04 22:32:43 -07:00
parent 08906b895d
commit d419b7c832
3 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,4 @@
AUX rtl8111_8168b.patch 480 RMD160 6079bdf404c00179f05306872ac1cf33429fb208 SHA1 dc0bf738f4b35dbaf10604768a6a021de8b90471 SHA256 090e06bdef1e45febee18d9c05380262203214b9211deb9de938d247530458e4
AUX wireless_injection.patch 2140 RMD160 233b4482fbe8b93dc8896246889735939ecb48b4 SHA1 024efaa500ed46dede438edbce1694acc94f4bb0 SHA256 0313d017d667e48b5ad59c74d893efca0afd39be2e8183e9756fdb0f8eaddb94 AUX wireless_injection.patch 2140 RMD160 233b4482fbe8b93dc8896246889735939ecb48b4 SHA1 024efaa500ed46dede438edbce1694acc94f4bb0 SHA256 0313d017d667e48b5ad59c74d893efca0afd39be2e8183e9756fdb0f8eaddb94
DIST deblob-3.4 109026 RMD160 ef9be1bdfbca2bfe4d5e60dd33ed6ec30a1e5c52 SHA1 83b455ad2db0470704225d1e81864af8fd3516c3 SHA256 2fca296bccfa7dc25447f36975971597f67730168a9bc4db0853e55347950680 DIST deblob-3.4 109026 RMD160 ef9be1bdfbca2bfe4d5e60dd33ed6ec30a1e5c52 SHA1 83b455ad2db0470704225d1e81864af8fd3516c3 SHA256 2fca296bccfa7dc25447f36975971597f67730168a9bc4db0853e55347950680
DIST deblob-check-3.4 448778 RMD160 a00d430d137cd9d653a3c42cb36c6e31330ed007 SHA1 4d54aa271cebc0e770e152802f4cadf0dcc9471e SHA256 28ce952c082e765784f9e5b63f5a3a4fb93545e5e788dc94d094c0b3ae8ea3a0 DIST deblob-check-3.4 448778 RMD160 a00d430d137cd9d653a3c42cb36c6e31330ed007 SHA1 4d54aa271cebc0e770e152802f4cadf0dcc9471e SHA256 28ce952c082e765784f9e5b63f5a3a4fb93545e5e788dc94d094c0b3ae8ea3a0
@ -5,6 +6,6 @@ DIST genpatches-3.4-6.base.tar.bz2 145231 RMD160 ace521e58b9f5b718904ba9c713d9a2
DIST genpatches-3.4-6.extras.tar.bz2 17508 RMD160 b8b83573526b50f38768bb9b51d9ed0941de2dfd SHA1 413a4d2cb7adaab147488a69941f9c4a4731a3c1 SHA256 be8e087b3a0508e88bd36d2d4bec07e0756a3e7f7b31de4dbfd51d79412c2a96 DIST genpatches-3.4-6.extras.tar.bz2 17508 RMD160 b8b83573526b50f38768bb9b51d9ed0941de2dfd SHA1 413a4d2cb7adaab147488a69941f9c4a4731a3c1 SHA256 be8e087b3a0508e88bd36d2d4bec07e0756a3e7f7b31de4dbfd51d79412c2a96
DIST hardened-patches-3.4.5-1.extras.tar.bz2 548697 RMD160 600afa8ae088e46caf6961bf00eb88f3effe3cb0 SHA1 8c4f746d3f5f7ed0c006bb72eb0095df3fa31db4 SHA256 f77fdd4450cfaa051058383d4c7bce9ae7cf40cc39948a265870c8806fcdc2ef DIST hardened-patches-3.4.5-1.extras.tar.bz2 548697 RMD160 600afa8ae088e46caf6961bf00eb88f3effe3cb0 SHA1 8c4f746d3f5f7ed0c006bb72eb0095df3fa31db4 SHA256 f77fdd4450cfaa051058383d4c7bce9ae7cf40cc39948a265870c8806fcdc2ef
DIST linux-3.4.tar.bz2 80173484 RMD160 e0bcaa53b6eb3de9498f51b2c8b90d6c52d54889 SHA1 dfc54e7fbee81f77aba85d3d8ff2d992e1e49573 SHA256 a797a15d0b6228381507c14ecf4eec4a6cc5c77cfd521ba3b3e1325e85b5b16d DIST linux-3.4.tar.bz2 80173484 RMD160 e0bcaa53b6eb3de9498f51b2c8b90d6c52d54889 SHA1 dfc54e7fbee81f77aba85d3d8ff2d992e1e49573 SHA256 a797a15d0b6228381507c14ecf4eec4a6cc5c77cfd521ba3b3e1325e85b5b16d
EBUILD hardened-sources-3.4.5.ebuild 1922 RMD160 d613dedcb55ca94cc57b3ad34dacb18054c9860f SHA1 a57e0a4bf3d53a450bb3796ef80f6291d70bfada SHA256 5635b171b177b42399e53cc35d57e1eda566fdec2c187f462a0730470a6258ce EBUILD hardened-sources-3.4.5.ebuild 1998 RMD160 458d831f9fdc26192331e1efc8ae49bf4017ae27 SHA1 52f4092624ac3d40f096e4c5d6fb699f3d3d78c6 SHA256 da4c67712bde5e5ad6e7b8c06f3fd8c1be601c1336ced416eba670878a2cb7e9
MISC ebuild.diff 637 RMD160 4d5ad5146419a4acf0d92acb24710d0d0c9ed51e SHA1 b46348068a8a4db8bf8c2e1a10b35c2414548fc5 SHA256 06b9b56d77e3b4a9154797d86207b7c4068bf1b3bbf18993c0225ef2d49f722d MISC ebuild.diff 637 RMD160 4d5ad5146419a4acf0d92acb24710d0d0c9ed51e SHA1 b46348068a8a4db8bf8c2e1a10b35c2414548fc5 SHA256 06b9b56d77e3b4a9154797d86207b7c4068bf1b3bbf18993c0225ef2d49f722d
MISC kernel-config-3.4.2-hardened-r1 105732 RMD160 3a658a0cfd246c11722285ff336da20e970a2ef7 SHA1 482239454a824669c3b0e8776502cade486de736 SHA256 28de645ae2803b3ae90053d5e8a254425123c4886b18d00ca4a2d69b700471aa MISC kernel-config-3.4.5-hardened 105569 RMD160 9529ca0073b8b4f3d3ca8a35ad861a5034e1f797 SHA1 728ddc4b3184fdb692759673c51d7f154535aaf8 SHA256 eac5b916b9c4fc64d674a15a1d104037743a23050549b906ae63301961c9a888

View File

@ -0,0 +1,12 @@
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index bbacb37..da46588 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -3766,6 +3766,7 @@ static void rtl_init_rxcfg(struct rtl8169_private *tp)
case RTL_GIGA_MAC_VER_22:
case RTL_GIGA_MAC_VER_23:
case RTL_GIGA_MAC_VER_24:
+ case RTL_GIGA_MAC_VER_34:
RTL_W32(RxConfig, RX128_INT_EN | RX_MULTI_EN | RX_DMA_BURST);
break;
default:

View File

@ -31,6 +31,8 @@ pkg_setup() {
if use injection; then if use injection; then
UNIPATCH_LIST+=" ${FILESDIR}/wireless_injection.patch" UNIPATCH_LIST+=" ${FILESDIR}/wireless_injection.patch"
fi fi
# Fix for RTL8111/8168B
UNIPATCH_LIST+=" ${FILESDIR}/rtl8111_8168b.patch"
} }
pkg_postinst() { pkg_postinst() {