aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-09-27 06:05:53 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-09-27 06:05:53 +0000
commit6b40c90ff865da833707061eee763746165052a0 (patch)
tree43ebe12f4de0d80fc5782366217ea308addeed08 /target/linux
parent48abd01ec7f6f40606c10fe030f9cf6c399417d7 (diff)
downloadmaster-187ad058-6b40c90ff865da833707061eee763746165052a0.tar.gz
master-187ad058-6b40c90ff865da833707061eee763746165052a0.tar.bz2
master-187ad058-6b40c90ff865da833707061eee763746165052a0.zip
brcm47xx: describe 610-pci_ide_fix.patch
It was initially commited in r20924. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47056 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch27
1 files changed, 27 insertions, 0 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
index 76751e8c3b..b68b9c29eb 100644
--- a/target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch
+++ b/target/linux/brcm47xx/patches-4.1/610-pci_ide_fix.patch
@@ -1,3 +1,30 @@
+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