1. 04 1月, 2013 1 次提交
    • G
      Drivers: ide: remove __dev* attributes. · fe31edc8
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fe31edc8
  2. 06 10月, 2012 1 次提交
  3. 19 1月, 2010 2 次提交
  4. 08 1月, 2010 1 次提交
  5. 18 5月, 2009 3 次提交
  6. 08 4月, 2009 7 次提交
  7. 01 4月, 2009 10 次提交
  8. 27 3月, 2009 7 次提交
    • B
      ide: add ->dma_timer_expiry method and remove ->dma_exec_cmd one (v2) · 22117d6e
      Bartlomiej Zolnierkiewicz 提交于
      * Rename dma_timer_expiry() to ide_dma_sff_timer_expiry() and export it.
      
      * Add ->dma_timer_expiry method and use it to set hwif->expiry for
        ATA_PROT_DMA protocol in do_rw_taskfile().
      
      * Initialize ->dma_timer_expiry to ide_dma_sff_timer_expiry() for SFF hosts.
      
      * Move setting hwif->expiry from ide_execute_command() to its users and drop
        'expiry' argument.
      
      * Use ide_execute_command() instead of ->dma_exec_cmd in do_rw_taskfile().
      
      * Remove ->dma_exec_cmd method and its implementations.
      
      * Unexport ide_execute_command() and ide_dma_intr().
      
      v2:
      * Fix CONFIG_BLK_DEV_IDEDMA=n build (noticed by Randy Dunlap).
      
      * Fix *dma_expiry naming (suggested by Sergei Shtylyov).
      
      There should be no functional changes caused by this patch.
      
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      22117d6e
    • B
      ide: pass command to ide_map_sg() · 22981694
      Bartlomiej Zolnierkiewicz 提交于
      * Set IDE_TFLAG_WRITE flag and ->rq also for ATA_CMD_PACKET
        commands.
      
      * Pass command to ->dma_setup method and update all its
        implementations accordingly.
      
      * Pass command instead of request to ide_build_sglist(),
        *_build_dmatable() and ide_map_sg().
      
      While at it:
      
      * Fix scc_dma_setup() documentation + use ATA_DMA_WR define.
      
      * Rename sgiioc4_build_dma_table() to sgiioc4_build_dmatable(),
        change return value type to 'int' and drop unused 'ddir'
        argument.
      
      * Do some minor cleanups in [tx4939]ide_dma_setup().
      
      There should be no functional changes caused by this patch.
      Acked-by: NBorislav Petkov <petkovbb@gmail.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      22981694
    • B
      ide: pass command instead of request to ide_pio_datablock() · adb1af98
      Bartlomiej Zolnierkiewicz 提交于
      * Add IDE_TFLAG_FS taskfile flag and set it for REQ_TYPE_FS requests.
      
      * Convert ->{in,out}put_data methods to take command instead of request
        as an argument.  Then convert pre_task_out_intr(), task_end_request(),
        task_error(), task_in_unexpected(), ide_pio_sector(), ide_pio_multi()
        and ide_pio_datablock() in similar way.
      
      * Rename task_end_request() to ide_finish_cmd().
      
      There should be no functional changes caused by this patch.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      adb1af98
    • B
      ide: remove ide_task_t typedef · 22aa4b32
      Bartlomiej Zolnierkiewicz 提交于
      While at it:
      - rename struct ide_task_s to struct ide_cmd
      - remove stale comments from idedisk_{read_native,set}_max_address()
      - drop unused 'cmd' argument from ide_{cmd,task}_ioctl()
      - drop unused 'task' argument from tx4939ide_tf_load_fixup()
      - rename ide_complete_task() to ide_complete_cmd()
      - use consistent naming for struct ide_cmd variables
      
      There should be no functional changes caused by this patch.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      22aa4b32
    • B
      ide: add "flagged" taskfile flags to struct ide_taskfile (v2) · 19710d25
      Bartlomiej Zolnierkiewicz 提交于
      * Add ->ftf_flags field to struct ide_taskfile
        and convert flags for TASKFILE ioctl to use it.
      
      * Rename "flagged" taskfile flags:
        - IDE_TFLAG_FLAGGED -> IDE_FTFLAG_FLAGGED
        - IDE_TFLAG_FLAGGED_SET_IN_FLAGS -> IDE_FTFLAG_SET_IN_FLAGS
        - IDE_TFLAG_{OUT,IN}_DATA -> IDE_FTFLAG_{OUT,IN}_DATA
      
      v2:
      * Remember to fully update ide-h8300.c, scc_pata.c and tx493{8,9}ide.c
        (thanks to Stephen Rothwell for noticing).
      
      There should be no functional changes caused by this patch.
      
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      19710d25
    • B
      ide: allow host drivers to specify IRQ flags · 255115fb
      Bartlomiej Zolnierkiewicz 提交于
      * Add ->irq_flags field to struct ide_port_info and struct ide_host.
      
      * Update host drivers and IDE PCI code to use ->irq_flags field.
      
      * Convert init_irq() and ide_intr() to use host->irq_flags.
      
      This fixes handling of shared IRQs for non-PCI hosts
      and removes ugly ifdeffery from core IDE code.
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      255115fb
    • B
      scc_pata: remove DECLARE_SCC_DEV() macro (v2) · 304ffd6d
      Bartlomiej Zolnierkiewicz 提交于
      v2:
      scc_chipsets[] -> scc_chipset fix (spotted by Daniel K.).
      
      Cc: "Daniel K." <daniel@cluded.net>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      304ffd6d
  9. 07 1月, 2009 6 次提交
  10. 03 11月, 2008 1 次提交
  11. 24 10月, 2008 1 次提交