1. 01 Feb, 2008 2 commits
  2. 26 Jan, 2008 2 commits
    • Bartlomiej Zolnierkiewicz's avatar
      cy82c693: add ->set_dma_mode method · 8704de8f
      Bartlomiej Zolnierkiewicz authored
      * Fix SWDMA/MWDMA masks in cy82c693_chipset.
      * Add IDE_HFLAG_CY82C693 host flag and use it in ide_tune_dma() to
        check whether the DMA should be enabled even if ide_max_dma_mode()
      * Convert cy82c693_dma_enable() to become cy82c693_set_dma_mode()
        and remove no longer needed cy82c693_ide_dma_on().  Then set
        IDE_HFLAG_CY82C693 instead of IDE_HFLAG_TRUST_BIOS_FOR_DMA in
      * Bump driver version.
      As a result of this patch cy82c693 driver will configure and use DMA on
      all SWDMA0-2 and MWDMA0-2 capable ATA devices instead of relying on BIOS.
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    • Bartlomiej Zolnierkiewicz's avatar
      cy82c693: correct DMA modes clipping · a530201a
      Bartlomiej Zolnierkiewicz authored
      * Mask device DMA masks by ATA_{S,M}WDMA2 in cy82c693_ide_dma_on().
      * Remove clipping of DMA modes by id->tDMA in cy82c693_dma_enable():
        - id->tDMA may not be defined on newer devices
        - id->vendor6/id->tDMA word is in LE endianness
          (cy82c693 seems to be Alpha specific though)
      * Bump driver version.
      Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  3. 26 Oct, 2007 1 commit
    • Bartlomiej Zolnierkiewicz's avatar
      cy82c693: fix build for CONFIG_HOTPLUG=n · f32d26ae
      Bartlomiej Zolnierkiewicz authored
      On Saturday 20 October 2007, Avuton Olrich wrote:
      > My randconfig script the attached config caught an error on:
      > drivers/ide/pci/cy82c693.c:439: error: primary causes a section type conflict
      > My git tree: c00046c2
      > Bisected to:
      > 85620436 is first bad commit
      > commit 85620436
      > Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      > Date:   Sat Oct 20 00:32:34 2007 +0200
      >     ide: constify struct ide_port_info
      >     Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      It turns out that const and __{dev}initdata cannot be mixed currently.
      This patch workarounds the problem by removing __devinitdata tag from 'primary'
      variable (which makes 'primary' to be moved from .init.data to .bss section).
      Now all __devinitdata data in cy82c693 host driver are read-only so it builds
      again (driver's .init.data section gets marked as READONLY).
      While at it:
      * Move 'primary' variable to its only user, init_iops_cy82c693().
      * Bump driver version.
      Cc: "Avuton Olrich" <avuton@gmail.com>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  4. 19 Oct, 2007 3 commits
  5. 18 Oct, 2007 6 commits
  6. 16 Oct, 2007 3 commits
    • Bartlomiej Zolnierkiewicz's avatar
      ide: remove hwif->autodma and drive->autodma · 9ff6f72f
      Bartlomiej Zolnierkiewicz authored
      * hpt34x.c: disable DMA masks for HPT345
        (hwif->autodma is zero so DMA won't be enabled anyway).
      * trm290.c: disable IDE_HFLAG_TRUST_BIOS_FOR_DMA flag
        (hwif->autodma is zero so DMA won't be enabled anyway).
      * Check noautodma global variable instead of drive->autodma in ide_tune_dma().
        This fixes handling of "ide=nodma" kernel parameter for icside, ide-cris,
        au1xxx-ide, pmac, it821x, jmicron, sgiioc4 and siimage host drivers.
      * Remove hwif->autodma (it was not checked by IDE core code anyway) and
        drive->autodma (was set by all host drivers - except HPT345/TRM290 special
        cases - unless "ide=nodma" was used).
      While at it:
      - remove needless printk() from icside.c
      - remove stale FIXME/comment from ide-probe.c
      - don't force DMA off if PCI bus-mastering had to be enabled in setup-pci.c
        (this setting was always later over-ridden by host drivers anyway)
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    • Bartlomiej Zolnierkiewicz's avatar
      ide: use PCI_VDEVICE() macro · 9cbcc5e3
      Bartlomiej Zolnierkiewicz authored
      While at it:
      - make struct pci_device_id tables const
      - use PCI_DEVICE_ID_ITE_8213 define in it8213.c
      - fix comment in generic.c
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    • Bartlomiej Zolnierkiewicz's avatar
      ide: remove ->ide_dma_check (take 2) · 0ae2e178
      Bartlomiej Zolnierkiewicz authored
      * Add IDE_HFLAG_TRUST_BIOS_FOR_DMA host flag for host drivers that depend
        on BIOS for programming device/controller for DMA.  Set it in cy82c693,
        generic, ns87415, opti621 and trm290 host drivers.
      * Add IDE_HFLAG_VDMA host flag for host drivers using VDMA.  Set it in cs5520
        host driver.
      * Teach ide_tune_dma() about IDE_HFLAG_TRUST_BIOS_FOR_DMA flag.
      * Add generic ide_dma_check() helper and remove all open coded ->ide_dma_check
        implementations.  Fix all places checking for presence of ->ide_dma_check
        hook to check for ->ide_dma_on instead.
      * Remove no longer needed code from config_drive_for_dma().
      * Make ide_tune_dma() static.
      * Fix config_drive_for_dma() return values.
      * Fix ide-dma.c build for CONFIG_BLK_DEV_IDEDMA_PCI=n by adding
        dummy config_drive_for_dma() inline.
      * Fix IDE_HFLAG_TRUST_BIOS_FOR_DMA handling in ide_dma_check().
      * Fix init_hwif_it8213() comment.
      There should be no functionality changes caused by this patch.
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  7. 11 Oct, 2007 1 commit
    • Bartlomiej Zolnierkiewicz's avatar
      ide: add ide_set{_max}_pio() (take 4) · 26bcb879
      Bartlomiej Zolnierkiewicz authored
        and set them in ht6560, cmd640, cmd64x and sc1200 host drivers.
      * Add set_pio_mode_abuse() for checking if host driver has a non-standard
        ->tuneproc() implementation and use it in do_special().
      * Add ide_set_pio() for setting PIO mode (it uses hwif->pio_mask to find
        the maximum PIO mode supported by the host), also add ide_set_max_pio()
        wrapper for ide_set_pio() to use for auto-tuning.  Convert users of
        ->tuneproc to use ide_set{_max}_pio() where possible.  This leaves only
        do_special(), set_using_pio(), ide_hwif_restore() and ide_set_pio() as
        a direct users of ->tuneproc.
      * Remove no longer needed ide_get_best_pio_mode() calls and printk-s
        reporting PIO mode selected from ->tuneproc implementations.
      * Rename ->tuneproc hook to ->set_pio_mode and make 'pio' argument const.
      * Remove stale comment from ide_config_drive_speed().
      * Fix "ata_" prefix (Noticed by Jeff).
      * Minor cleanups/fixups per Sergei's suggestions.
      * Fix compile problem in drivers/ide/pci/cmd640.c
        (Noticed by Andrew Morton).
      * Improve some ->set_pio_mode comments.
      Reviewed-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  8. 19 Jul, 2007 3 commits
  9. 16 Feb, 2007 2 commits
  10. 27 Jan, 2007 1 commit
  11. 03 Oct, 2006 1 commit
  12. 30 Jun, 2006 1 commit
  13. 09 Nov, 2005 1 commit
  14. 03 Jul, 2005 1 commit
  15. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      Let it rip!