1. 15 1月, 2009 1 次提交
  2. 07 1月, 2009 2 次提交
  3. 22 10月, 2008 1 次提交
  4. 14 10月, 2008 2 次提交
  5. 11 10月, 2008 3 次提交
  6. 25 7月, 2008 4 次提交
  7. 24 7月, 2008 1 次提交
  8. 17 7月, 2008 1 次提交
  9. 27 4月, 2008 6 次提交
  10. 26 4月, 2008 1 次提交
  11. 18 4月, 2008 2 次提交
    • B
      ppc/sandpoint: remove ppc_ide_md hooks · 7ef8df81
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_HFLAG_FORCE_LEGACY_IRQS host flag for Motorola-Sandpoint platform
        to sl82c105 host driver.
      
      * Disable ide_generic host driver in arch/ppc/configs/sandpoint_defconfig
        and enable sl82c105 one.
      
      * Remove ppc_ide_md hooks from arch/ppc/platforms/sandpoint.c - no need for
        them (sl82c105 host driver takes care of all this setup).
      
      * Then remove no longer needed <linux/ide.h> include.
      
      * Also update arch/ppc/platforms/sandpoint.h.
      
      Unfortunately (unlike lopec's case) sl82c105 host driver was not enabled
      in defconfing so there is a funcionality change.
      
      [ Not a big deal since sl82c105 is superior over ide_generic. ]
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      7ef8df81
    • B
      ppc/lopec: remove ppc_ide_md hooks · 5510b125
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_HFLAG_FORCE_LEGACY_IRQS host flag for Motorola-LoPEC platform
        to sl82c105 host driver.
      
      * Remove ppc_ide_md hooks from arch/ppc/platforms/lopec.c - no need for
        them (sl82c105 host driver takes care of all this setup).
      
      * Then remove no longer needed <linux/ide.h> include.
      
      Looking at arch/ppc/configs/lopec_defconfig:
      
      ...
      CONFIG_IDE_GENERIC=y
      CONFIG_BLK_DEV_IDEPCI=y
      # CONFIG_IDEPCI_SHARE_IRQ is not set
      # CONFIG_BLK_DEV_OFFBOARD is not set
      CONFIG_BLK_DEV_GENERIC=y
      # CONFIG_BLK_DEV_OPTI621 is not set
      CONFIG_BLK_DEV_SL82C105=y
      ...
      
      there should be no functional changes unless somebody preferred to disable
      sl82c105 host driver and use only ide_generic one (but why would anybody
      want to do such thing :-).
      
      PS It seems that lopec_defconfig hasn't been updated for ages but if somebody
      is going to do it please look into disabling IDE_GENERIC and BLK_DEV_GENERIC
      config options.  Thanks.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      5510b125
  12. 03 2月, 2008 1 次提交
  13. 02 2月, 2008 2 次提交
  14. 27 1月, 2008 2 次提交
  15. 26 1月, 2008 1 次提交
    • B
      ide: add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag · 4db90a14
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_HFLAG_ABUSE_SET_DMA_MODE host flag and use it to decide
        what to do with transfer modes < XFER_PIO_0 in ide_set_xfer_rate().
      
      * Set IDE_HFLAG_ABUSE_SET_DMA_MODE in host drivers that need it
        (aec62xx, amd74xx, cs5520, cs5535, hpt34x, hpt366, pdc202xx_old,
        serverworks, tc86c001 and via82cxxx) and cleanup ->set_dma_mode
        methods in host drivers that don't (IDE core code guarantees that
        ->set_dma_mode will be called only for modes which are present
        in SWDMA/MWDMA/UDMA masks).
      
      While at it:
      
      * Add IDE_HFLAGS_HPT34X/HPT3XX/PDC202XX/SVWKS define in
        hpt34x/hpt366/pdc202xx_old/serverworks host driver.
      
      There should be no functionality changes caused by this patch.
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      4db90a14
  16. 20 10月, 2007 3 次提交
  17. 19 10月, 2007 5 次提交
  18. 17 10月, 2007 2 次提交
    • B
      ide: remove hwif->autodma and drive->autodma · 9ff6f72f
      Bartlomiej Zolnierkiewicz 提交于
      * 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: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9ff6f72f
    • B
      ide: use PCI_VDEVICE() macro · 9cbcc5e3
      Bartlomiej Zolnierkiewicz 提交于
      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: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9cbcc5e3