610-pci_ide_fix.patch 313 B

1234567891011121314
  1. --- a/include/linux/ide.h
  2. +++ b/include/linux/ide.h
  3. @@ -191,7 +191,11 @@ static inline void ide_std_init_ports(st
  4. hw->io_ports.ctl_addr = ctl_addr;
  5. }
  6. +#if defined CONFIG_BCM47XX
  7. +# define MAX_HWIFS 2
  8. +#else
  9. #define MAX_HWIFS 10
  10. +#endif
  11. /*
  12. * Now for the data we need to maintain per-drive: ide_drive_t