diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-16 15:05:32 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-04-16 15:05:32 +0000 |
commit | e712ef386e22ef601f8b924fbf8072c12fe378df (patch) | |
tree | 969d83641d0f0bc7fd21db0bb0d185fd9e61f8dd | |
parent | 7e29eac7808bdec0a6a67d9c876f51aca348e319 (diff) | |
download | upstream-e712ef386e22ef601f8b924fbf8072c12fe378df.tar.gz upstream-e712ef386e22ef601f8b924fbf8072c12fe378df.tar.bz2 upstream-e712ef386e22ef601f8b924fbf8072c12fe378df.zip |
brcm47xx: fix ide drive assignment (closes #7061)
SVN-Revision: 20924
3 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.32/610-pci_ide_fix.patch b/target/linux/brcm47xx/patches-2.6.32/610-pci_ide_fix.patch new file mode 100644 index 0000000000..26ba3b7557 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.32/610-pci_ide_fix.patch @@ -0,0 +1,14 @@ +--- a/include/linux/ide.h ++++ b/include/linux/ide.h +@@ -195,7 +195,11 @@ + 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 diff --git a/target/linux/brcm47xx/patches-2.6.33/610-pci_ide_fix.patch b/target/linux/brcm47xx/patches-2.6.33/610-pci_ide_fix.patch new file mode 100644 index 0000000000..26ba3b7557 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.33/610-pci_ide_fix.patch @@ -0,0 +1,14 @@ +--- a/include/linux/ide.h ++++ b/include/linux/ide.h +@@ -195,7 +195,11 @@ + 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 diff --git a/target/linux/brcm47xx/patches-2.6.34/610-pci_ide_fix.patch b/target/linux/brcm47xx/patches-2.6.34/610-pci_ide_fix.patch new file mode 100644 index 0000000000..26ba3b7557 --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.34/610-pci_ide_fix.patch @@ -0,0 +1,14 @@ +--- a/include/linux/ide.h ++++ b/include/linux/ide.h +@@ -195,7 +195,11 @@ + 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 |