summaryrefslogtreecommitdiff
path: root/debian/patches/debian/dfsg/r8169-rtl8168d-1-2-disable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/dfsg/r8169-rtl8168d-1-2-disable.patch')
-rw-r--r--debian/patches/debian/dfsg/r8169-rtl8168d-1-2-disable.patch68
1 files changed, 0 insertions, 68 deletions
diff --git a/debian/patches/debian/dfsg/r8169-rtl8168d-1-2-disable.patch b/debian/patches/debian/dfsg/r8169-rtl8168d-1-2-disable.patch
deleted file mode 100644
index db3856328..000000000
--- a/debian/patches/debian/dfsg/r8169-rtl8168d-1-2-disable.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From 8ee9e3b6b1f41934a67567aaefae986ff517587e Mon Sep 17 00:00:00 2001
-From: Ben Hutchings <ben@decadent.org.uk>
-Date: Tue, 3 Nov 2009 23:58:25 +0000
-Subject: [PATCH 21/24] r8169: mark firmware for removal and mark code using it as broken
-
----
- drivers/net/r8169.c | 8 ++++++++
- 1 files changed, 8 insertions(+), 0 deletions(-)
-
-diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
-index fa49356..3495ff6 100644
---- a/drivers/net/r8169.c
-+++ b/drivers/net/r8169.c
-@@ -1719,6 +1719,7 @@ static void rtl8168d_1_hw_phy_config(void __iomem *ioaddr)
- { 0x05, 0x8332 },
- { 0x06, 0x5561 }
- };
-+#ifdef REMOVE_DFSG
- static const struct phy_reg phy_reg_init_2[] = {
- { 0x1f, 0x0005 },
- { 0x05, 0xffc2 },
-@@ -2074,6 +2075,7 @@ static void rtl8168d_1_hw_phy_config(void __iomem *ioaddr)
- { 0x0d, 0xf880 },
- { 0x1f, 0x0000 }
- };
-+#endif
-
- rtl_phy_write(ioaddr, phy_reg_init_0, ARRAY_SIZE(phy_reg_init_0));
-
-@@ -2131,7 +2133,9 @@ static void rtl8168d_1_hw_phy_config(void __iomem *ioaddr)
- mdio_plus_minus(ioaddr, 0x02, 0x0100, 0x0600);
- mdio_plus_minus(ioaddr, 0x03, 0x0000, 0xe000);
-
-+#ifdef CONFIG_BROKEN
- rtl_phy_write(ioaddr, phy_reg_init_2, ARRAY_SIZE(phy_reg_init_2));
-+#endif
- }
-
- static void rtl8168d_2_hw_phy_config(void __iomem *ioaddr)
-@@ -2161,6 +2165,7 @@ static void rtl8168d_2_hw_phy_config(void __iomem *ioaddr)
- { 0x05, 0x8332 },
- { 0x06, 0x5561 }
- };
-+#ifdef REMOVE_DFSG
- static const struct phy_reg phy_reg_init_1[] = {
- { 0x1f, 0x0005 },
- { 0x05, 0xffc2 },
-@@ -2473,6 +2478,7 @@ static void rtl8168d_2_hw_phy_config(void __iomem *ioaddr)
- { 0x0d, 0xf880 },
- { 0x1f, 0x0000 }
- };
-+#endif
-
- rtl_phy_write(ioaddr, phy_reg_init_0, ARRAY_SIZE(phy_reg_init_0));
-
-@@ -2526,7 +2532,9 @@ static void rtl8168d_2_hw_phy_config(void __iomem *ioaddr)
- mdio_write(ioaddr, 0x1f, 0x0002);
- mdio_patch(ioaddr, 0x0f, 0x0017);
-
-+#ifdef CONFIG_BROKEN
- rtl_phy_write(ioaddr, phy_reg_init_1, ARRAY_SIZE(phy_reg_init_1));
-+#endif
- }
-
- static void rtl8168d_3_hw_phy_config(void __iomem *ioaddr)
---
-1.6.5.2
-