[brcm63xx] do not write to per-port over-current register, which is bogus (#6898)
[openwrt.git] / target / linux / brcm47xx / patches-2.6.34 / 610-pci_ide_fix.patch
1 --- a/include/linux/ide.h
2 +++ b/include/linux/ide.h
3 @@ -195,7 +195,11 @@ static inline void ide_std_init_ports(st
4 hw->io_ports.ctl_addr = ctl_addr;
5 }
6
7 +#if defined CONFIG_BCM47XX
8 +# define MAX_HWIFS 2
9 +#else
10 #define MAX_HWIFS 10
11 +#endif
12
13 /*
14 * Now for the data we need to maintain per-drive: ide_drive_t
This page took 0.048128 seconds and 5 git commands to generate.