X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.36%2F610-pci_ide_fix.patch;fp=target%2Flinux%2Fbrcm47xx%2Fpatches-2.6.36%2F610-pci_ide_fix.patch;h=f254b203bd5d31e1811302714138855d21cf3397;hp=0000000000000000000000000000000000000000;hb=b7179f836eff840537b7c3fee4d9cf00a1202f72;hpb=f4e7aec1618720f0e68e02990093c5289c5ddf56 diff --git a/target/linux/brcm47xx/patches-2.6.36/610-pci_ide_fix.patch b/target/linux/brcm47xx/patches-2.6.36/610-pci_ide_fix.patch new file mode 100644 index 0000000000..f254b203bd --- /dev/null +++ b/target/linux/brcm47xx/patches-2.6.36/610-pci_ide_fix.patch @@ -0,0 +1,14 @@ +--- a/include/linux/ide.h ++++ b/include/linux/ide.h +@@ -195,7 +195,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