aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-07-02 13:29:43 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-07-02 22:44:06 +0200
commit250d30545567f7854987b518d5620d9b3e93b0fd (patch)
treeb48e89cf74e11501443d2487b6fa5ff161a6ecf2 /target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch
parente3b339e2ea554c2cc1ccb7d672db1dde3b1a736a (diff)
downloadupstream-250d30545567f7854987b518d5620d9b3e93b0fd.tar.gz
upstream-250d30545567f7854987b518d5620d9b3e93b0fd.tar.bz2
upstream-250d30545567f7854987b518d5620d9b3e93b0fd.zip
brcm47xx: remove kernel 4.1 support
Kernel 4.1 is not supported by LEDE for some time now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch')
-rw-r--r--target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch b/target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch
deleted file mode 100644
index b68b9c29eb..0000000000
--- a/target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From: b.sander
-Subject: [PATCH] pci: IDE fix
-
-These are standard probing messages when using pdc202xx_old:
-pdc202xx_old 0000:00:01.0: IDE controller (0x105a:0x0d30 rev 0x02)
-PCI: Enabling device 0000:00:01.0 (0004 -> 0007)
-PCI: Fixing up device 0000:00:01.0
-0000:00:01.0: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
-0000:00:01.0: FORCING BURST BIT 0x00->0x01 ACTIVE
-pdc202xx_old 0000:00:01.0: 100% native mode on irq 6
-
-With the default MAX_HWIFS value after above we get:
- ide2: BM-DMA at 0x0400-0x0407
- ide3: BM-DMA at 0x0408-0x040f
-Probing IDE interface ide2...
-hde: CF500, CFA DISK drive
-
-As you can see it's ide2 + ide3 and hde.
-
-With this patch applied we get:
- ide0: BM-DMA at 0x0400-0x0407
- ide1: BM-DMA at 0x0408-0x040f
-Probing IDE interface ide0...
-hda: CF500, CFA DISK drive
-
-This fixes OpenWrt ticket #7061: https://dev.openwrt.org/ticket/7061
----
---- a/include/linux/ide.h
-+++ b/include/linux/ide.h
-@@ -191,7 +191,11 @@ static inline void ide_std_init_ports(st
- hw->io_ports.ctl_addr = ctl_addr;
- }
-
-+#if defined CONFIG_BCM47XX
-+# define MAX_HWIFS 2
-+#else
- #define MAX_HWIFS 10
-+#endif
-
- /*
- * Now for the data we need to maintain per-drive: ide_drive_t