1. 17 7月, 2008 9 次提交
  2. 16 7月, 2008 7 次提交
  3. 09 7月, 2008 2 次提交
  4. 16 6月, 2008 6 次提交
  5. 11 6月, 2008 6 次提交
  6. 15 5月, 2008 5 次提交
  7. 30 4月, 2008 2 次提交
    • A
      alim15x3: disable init_hwif_ali15x3 for PowerPC · 6d1cee44
      Anton Vorontsov 提交于
      We don't need init_hwif_ali15x3() on the PowerPC systems either.
      
      Before:
      
      ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc8) at  PCI slot 0001:03:1f.0
      ALI15X3: 100% native mode on irq 19
          ide0: BM-DMA at 0x1120-0x1127
          ide1: BM-DMA at 0x1128-0x112f
      hda: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM drive
      hda: UDMA/66 mode selected
      ide0: Disabled unable to get IRQ 14.
      ide0: failed to initialize IDE interface
      ide1: Disabled unable to get IRQ 15.
      ide1: failed to initialize IDE interface
      
      After:
      
      ALI15X3: IDE controller (0x10b9:0x5229 rev 0xc8) at  PCI slot 0001:03:1f.0
      ALI15X3: 100% native mode on irq 19
          ide0: BM-DMA at 0x1120-0x1127
          ide1: BM-DMA at 0x1128-0x112f
      hda: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM drive
      hda: UDMA/66 mode selected
      ide0 at 0x1100-0x1107,0x110a on irq 19
      ide1 at 0x1110-0x1117,0x111a on irq 19
      hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
      
      ide0 works well, though I can't test ide1, it isn't traced out on
      the board.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      6d1cee44
    • B
      ide: fix crash at boot with siimage driver · b26b0c59
      Benjamin Herrenschmidt 提交于
      Some change to the IDE layer are causing the siimage driver to crash
      at boot with a NULL dereference. This is due to the sil_dma_ops not
      containing all the necessary pointers. I suppose it used to just
      "override" the defaults while now, it needs to contain everything.
      
      [bart: while at it: sil_dma_ops should be const now (pointed out by Sergei)]
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>,
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      b26b0c59
  8. 29 4月, 2008 3 次提交
    • S
      siimage: coding style cleanup (take 2) · 7b255436
      Sergei Shtylyov 提交于
      Fix 18 errors and several warnings given by checkpatch.pl:
      
      - use of C99 // comments;
      
      - trailing whitespace;
      
      - 'switch' and 'case' not at the same indentation level;
      
      - no space before the open parenthesis of the 'if' and 'switch' statements;
      
      - space between function name and open parenthesis (though I have introduced
        such warnins in some places since the code looks prettier with the spaces);
      
      - including <asm/io.h> instead of <linux/io.h>;
      
      - line over 80 characters.
      
      In addition to these changes, also do the following:
      
      - make the arrays in sil_set_pio_mode() 'static', and make the arrays in
        sil_set_dma_mode() 'static const';
      
      - change the string of the 'if' statements into the 'switch' statement in
        sil_pata_udma_filter();
      
      - drop the needless '==' operators from the 'if' statements where a condition
        is a mere bit test;
      
      - remove needless initializer for the 'tmp' variable in init_chipset_siimage();
      
      - beautify groups of the variable initializers and assignment operators;
      
      - add new line after variable definitions;
      
      - remove new line between the comment and the statements it refers to;
      
      - remove needless curly braces and parentheses;
      
      - fix typos, capitalize acronyms, etc. in the comments...
      Signed-off-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      7b255436
    • B
      piix: add Asus Eee 701 controller to short cable list · 1fa5a40f
      Bartlomiej Zolnierkiewicz 提交于
      Based on ata_piix patch by Dan McGee.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      1fa5a40f
    • B
      ide: remove ->dma_prdtable field from ide_hwif_t · 55224bc8
      Bartlomiej Zolnierkiewicz 提交于
      * Use 'hwif->dma_base + {4,8}' instead of hwif->dma_prdtable in
        {ide,scc}_dma_setup().
      
      * Remove no longer needed ->dma_prdtable field from ide_hwif_t.
      
      While at it:
      
      * Use ATA_DMA_TABLE_OFS define.
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      55224bc8