1. 10 Jan, 2011 28 commits
  2. 09 Jan, 2011 9 commits
  3. 08 Jan, 2011 3 commits
    • Nick Bowler's avatar
      pata_platform: Remove CONFIG_HAVE_PATA_PLATFORM's dependencies. · 2ad2c320
      Nick Bowler authored
      CONFIG_HAVE_PATA_PLATFORM, by virtue of where its defined, has a
      dependency on CONFG_ATA and CONFIG_ATA_SFF.  This causes Kconfig
      warnings when it is selected by various architectures, such as
      
        warning: (ARCH_VEXPRESS && <choice> || ARCH_RPC && <choice> || MACH_VPAC270 && ARCH_PXA || MACH_REALVIEW_PB11MP && ARCH_REALVIEW || MACH_REALVIEW_PBA8 && ARCH_REALVIEW || MACH_REALVIEW_PBX && ARCH_REALVIEW || MACH_BAST_IDE && ARCH_S3C2410 || MACH_ANUBIS && ARCH_S3C2410) selects HAVE_PATA_PLATFORM which has unmet direct dependencies (ATA && ATA_SFF)
      
      Since this option is only used to control visibility of the
      CONFIG_PATA_PLATFORM option and isn't itself visible in the menu,
      it is straightforward to simply remove these dependencies rather
      than adjust all the architectures.
      Signed-off-by: default avatarNick Bowler <nbowler@elliptictech.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      2ad2c320
    • Sergei Shtylyov's avatar
      pata_hpt37x: actually limit HPT370 to UltraDMA/66 · fc2698d5
      Sergei Shtylyov authored
      The driver clearly tries to limit HPT370[A] to UltraDMA/66 if the PCI clock is
      less than 50 MHz but due to cut&paste type mistake this code has no effect...
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      fc2698d5
    • Sergei Shtylyov's avatar
      pata_hpt3x2n: coding style cleanup · b197f13b
      Sergei Shtylyov authored
      Fix 8 errors and 3 warnings given by checkpatch.pl:
      
      - *switch* and *case* not on the same indentation level;
      
      - no space between *for*/*switch*/*while* and open parenthesis;
      
      - space between an unary operator and its operand;
      
      - spaces before tabs;
      
      - lines over 80 characters.
      
      In addition to these changes, also do the following:
      
      - add new line after variable definitions;
      
      - fix the style of some multi-line comments.
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      b197f13b