aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-16ide: remove the legacy ide driverChristoph Hellwig1-904/+0
2020-12-09scsi: ide: Mark power management requests with RQF_PM instead of RQF_PREEMPTBart Van Assche1-1/+1
2020-12-09scsi: ide: Do not set the RQF_PREEMPT flag for sense requestsBart Van Assche1-5/+0
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-4/+4
2020-04-22block: move dma_pad handling from blk_rq_map_sg into the callersChristoph Hellwig1-2/+5
2019-01-31ide: ensure atapi sense request aren't preemptedJens Axboe1-30/+31
2018-11-15ide: clear ide_req()->special for non-passthrough requestsJens Axboe1-0/+5
2018-11-12ide: don't clear special on ide_queue_rq() entryJens Axboe1-5/+0
2018-11-10ide: don't use req->specialChristoph Hellwig1-5/+9
2018-11-09ide: cleanup ->prep_rq calling conventionChristoph Hellwig1-2/+2
2018-11-07ide: convert to blk-mqJens Axboe1-44/+56
2018-08-13ide: remove redundant variables queue_run_ms and leftColin Ian King1-4/+0
2018-06-05ide: Handle irq disabling consistentlySebastian Andrzej Siewior1-2/+2
2017-11-06ide: Convert timers to use timer_setup()Kees Cook1-2/+2
2017-06-09block: introduce new block status code typeChristoph Hellwig1-5/+5
2017-05-08ide: don't call memcpy with the same source and destinationMikulas Patocka1-1/+1
2017-04-20scsi: introduce a result field in struct scsi_requestChristoph Hellwig1-5/+5
2017-01-31block: fold cmd_type into the REQ_OP_ spaceChristoph Hellwig1-1/+1
2017-01-31ide: don't abuse cmd_typeChristoph Hellwig1-4/+4
2017-01-27block: split scsi_request out of struct requestChristoph Hellwig1-1/+2
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-10-28block: split out request-only flags into a new namespaceChristoph Hellwig1-3/+3
2015-05-05block: move PM request support to IDEChristoph Hellwig1-4/+4
2015-05-05block: rename REQ_TYPE_SPECIAL to REQ_TYPE_DRV_PRIVChristoph Hellwig1-2/+2
2011-04-05ide: always ensure that blk_delay_queue() is called if we have pending IOJens Axboe1-21/+21
2011-04-05ide: ide_requeue_and_plug() reinstate "always plug" behaviourJens Axboe1-2/+1
2011-03-26ide: ensure that we re-run the queue handlerJens Axboe1-1/+11
2011-03-10block: remove per-queue pluggingJens Axboe1-4/+0
2010-09-10ide: remove unnecessary blk_queue_flushing() test in do_ide_request()Tejun Heo1-13/+0
2010-08-07block: fix some more cmd_type cleanup falloutChristoph Hellwig1-1/+1
2010-08-07block: remove wrappers for request type/flagsChristoph Hellwig1-4/+4
2010-04-01ide: Requeue request after DMA timeoutHerbert Xu1-1/+1
2009-07-06Revert "ide: improve handling of Power Management requests"David S. Miller1-22/+32
2009-06-25ide: always kill the whole request on errorBartlomiej Zolnierkiewicz1-12/+2
2009-06-25ide: fix ide_kill_rq() for special ide-{floppy,tape} driver requestsBartlomiej Zolnierkiewicz1-1/+1
2009-06-24ide: improve handling of Power Management requestsBartlomiej Zolnierkiewicz1-32/+22
2009-06-15ide: move ack_intr() method into 'struct ide_port_ops' (take 2)Sergei Shtylyov1-1/+2
2009-06-15ide: move IRQ clearing from ack_intr() method to clear_irq() method (take 2)Sergei Shtylyov1-2/+0
2009-06-15ide: call clear_irq() method in ide_timer_expiry()Sergei Shtylyov1-0/+3
2009-06-12Merge branch 'for-2.6.31' of git://git.kernel.org/pub/scm/linux/kernel/git/ba...Linus Torvalds1-42/+35
2009-06-07ide: add IDE_DFLAG_NIEN_QUIRK device flagBartlomiej Zolnierkiewicz1-2/+6
2009-05-22Merge branch 'master' into for-2.6.31Jens Axboe1-2/+2
2009-05-22Merge branch 'for-linus' into for-nextBartlomiej Zolnierkiewicz1-2/+2
2009-05-22ide: fix OOPS during ide-cd error recoveryBartlomiej Zolnierkiewicz1-2/+2
2009-05-17ide: replace special_t typedef by IDE_SFLAG_* flagsBartlomiej Zolnierkiewicz1-10/+11
2009-05-17ide: merge ide_disk_special() into do_special() (v2)Bartlomiej Zolnierkiewicz1-26/+18
2009-05-17ide: BUG() on unknown flags in ide_disk_special()Bartlomiej Zolnierkiewicz1-6/+2
2009-05-11block: implement and enforce request peek/start/fetchTejun Heo1-6/+3
2009-05-11ide: dequeue in-flight requestTejun Heo1-7/+27
2009-05-11ide: cleanup rq->data_len usagesTejun Heo1-1/+1
2009-05-11ide: convert to rq pos and nr_sectors accessorsTejun Heo1-2/+2
2009-05-11block: implement blk_rq_pos/[cur_]sectors() and convert obvious onesTejun Heo1-2/+2
2009-04-28ide: drop rq->data handling from ide_map_sg()Tejun Heo1-5/+1
2009-04-28ide-pm: don't abuse rq->dataTejun Heo1-1/+1
2009-04-28ide-cd,atapi: use bio for internal commandsTejun Heo1-0/+3
2009-04-28ide-taskfile: don't abuse rq->bufferTejun Heo1-4/+1
2009-04-19ide: drop rq->data handling from ide_map_sg()Tejun Heo1-5/+1
2009-04-19ide-pm: don't abuse rq->dataTejun Heo1-1/+1
2009-04-19ide-cd,atapi: use bio for internal commandsTejun Heo1-0/+3
2009-04-19ide-taskfile: don't abuse rq->bufferTejun Heo1-4/+1
2009-04-18ide: fix barriers supportBartlomiej Zolnierkiewicz1-4/+7
2009-04-08ide: refactor tf_read() methodSergei Shtylyov1-1/+1
2009-04-08ide: simplify 'struct ide_taskfile'Sergei Shtylyov1-3/+3
2009-04-08ide: replace IDE_TFLAG_* flags by IDE_VALID_*Sergei Shtylyov1-2/+3
2009-03-31ide: inline SELECT_DRIVE()Sergei Shtylyov1-1/+1
2009-03-31ide: move data register access out of tf_{read|load}() methods (take 2)Sergei Shtylyov1-1/+11
2009-03-31ide: turn set_irq() method into write_devctl() methodSergei Shtylyov1-1/+3
2009-03-31ide: Fix code dealing with sleeping devices in do_ide_request()Elias Oltmanns1-5/+4
2009-03-27ide: keep track of number of bytes instead of sectors in struct ide_cmdBartlomiej Zolnierkiewicz1-3/+3
2009-03-27ide: set hwif->expiry prior to calling [__]ide_set_handler()Bartlomiej Zolnierkiewicz1-0/+2
2009-03-27ide: pass command to ide_map_sg()Bartlomiej Zolnierkiewicz1-3/+3
2009-03-27ide: remove ide_end_request()Bartlomiej Zolnierkiewicz1-43/+18
2009-03-27ide: use ide_end_rq() in ide_complete_rq()Bartlomiej Zolnierkiewicz1-1/+1
2009-03-27ide: pass number of bytes to complete to ide_complete_rq()Bartlomiej Zolnierkiewicz1-4/+4
2009-03-27ide: remove BUG() from ide_complete_rq()Bartlomiej Zolnierkiewicz1-4/+6
2009-03-27ide: move rq->errors quirk out from ide_end_request()Bartlomiej Zolnierkiewicz1-3/+2
2009-03-27ide: pass error value to ide_complete_rq()Bartlomiej Zolnierkiewicz1-10/+9
2009-03-27ide: sanitize ide_end_rq()Bartlomiej Zolnierkiewicz1-18/+16
2009-03-27ide: add ide_end_rq() (v2)Bartlomiej Zolnierkiewicz1-35/+10
2009-03-27ide: make ide_special_rq() BUG() on unknown requestsBartlomiej Zolnierkiewicz1-3/+1
2009-03-27ide: use ide_complete_cmd() for head unload commandsBartlomiej Zolnierkiewicz1-0/+11
2009-03-27ide: use ata_tf_protocols enumsBartlomiej Zolnierkiewicz1-9/+2
2009-03-27ide: move command related fields from ide_hwif_t to struct ide_cmdBartlomiej Zolnierkiewicz1-14/+10
2009-03-27ide: remove ide_task_t typedefBartlomiej Zolnierkiewicz1-20/+20
2009-03-27ide: remove ->end_request methodBartlomiej Zolnierkiewicz1-7/+7
2009-03-27ide: use ->end_request only for private device driver requestsBartlomiej Zolnierkiewicz1-1/+6
2009-03-27ide: remove ->data_phase field from ide_hwif_tBartlomiej Zolnierkiewicz1-4/+1
2009-03-27ide: no need to read Status and Error registers for "empty" taskfile requestsBartlomiej Zolnierkiewicz1-3/+1
2009-03-27ide: move request type specific code from ide_end_drive_cmd() to callers (v3)Bartlomiej Zolnierkiewicz1-30/+10
2009-03-27ide: factor out completion of taskfile from ide_end_drive_cmd()Bartlomiej Zolnierkiewicz1-11/+16
2009-03-27ide: complete power step in ide_complete_pm_request()Bartlomiej Zolnierkiewicz1-6/+2
2009-03-27ide: allow host drivers to specify IRQ flagsBartlomiej Zolnierkiewicz1-11/+4
2009-03-27ide: remove IDE_ARCH_LOCK (v2)Bartlomiej Zolnierkiewicz1-4/+4
2009-03-27ide: remove IDE_ARCH_INTR (v2)Bartlomiej Zolnierkiewicz1-2/+3
2009-03-24ide: move error handling code to ide-eh.c (v2)Bartlomiej Zolnierkiewicz1-128/+1
2009-03-24ide: move device settings code to ide-devsets.cBartlomiej Zolnierkiewicz1-37/+0
2009-03-24ide: move ide_do_park_unpark() to ide-park.cBartlomiej Zolnierkiewicz1-24/+0
2009-03-24ide: factor out processing of special commands from ide_special_rq()Bartlomiej Zolnierkiewicz1-34/+41
2009-03-24ide: remove ide_do_drive_cmd()Bartlomiej Zolnierkiewicz1-28/+0
2009-03-24ide: move ide_dma_timeout_retry() to ide-dma.cBartlomiej Zolnierkiewicz1-57/+0
2009-03-24ide: move drive_is_ready() to ide-io.cBartlomiej Zolnierkiewicz1-0/+23
2009-03-24ide: unexport ide_devset_execute()Bartlomiej Zolnierkiewicz1-1/+0
2009-03-24ide: move ide_pktcmd_tf_load() to ide-atapi.cBartlomiej Zolnierkiewicz1-20/+0
2009-03-05ide: allow to wrap interrupt handlerStanislaw Gruszka1-0/+1
2009-03-05ide: expiry() returns int, negative expiry() return values won't be noticedRoel Kluin1-1/+1
2009-02-02ide-cd: fix DMA for non bio-backed requestsBorislav Petkov1-3/+6
2009-01-06ide: remove now redundant ->cur_dev checksBartlomiej Zolnierkiewicz1-61/+46
2009-01-06ide: remove superfluous hwif variable assignment from ide_timer_expiry()Bartlomiej Zolnierkiewicz1-1/+0
2009-01-06ide: make "paranoia" ->handler check in ide_intr() more strictBartlomiej Zolnierkiewicz1-6/+3
2009-01-06ide: remove ->error method from struct ide_driverBartlomiej Zolnierkiewicz1-11/+2
2009-01-06ide: remove ide_driver_t typedefBartlomiej Zolnierkiewicz1-6/+6
2009-01-06ide: remove HWIF() macroBartlomiej Zolnierkiewicz1-4/+4
2009-01-06ide: merge ide_hwgroup_t with ide_hwif_t (v2)Bartlomiej Zolnierkiewicz1-59/+58
2009-01-06ide: use lock bitops for ports serialization (v2)Bartlomiej Zolnierkiewicz1-42/+63
2009-01-06ide: remove hwgroup->hwif and {drive,hwif}->nextBartlomiej Zolnierkiewicz1-6/+6
2009-01-06ide: use per-port IRQ handlersBartlomiej Zolnierkiewicz1-35/+23
2009-01-06ide: add ->cur_port to struct ide_host and use it for serialized hostsBartlomiej Zolnierkiewicz1-10/+15
2009-01-06ide: fix setting nIEN on idle devicesBartlomiej Zolnierkiewicz1-4/+6
2009-01-06ide: fix LOCKDEP warningBartlomiej Zolnierkiewicz1-1/+0
2009-01-02ide: remove the last ide-scsi remnantsBorislav Petkov1-3/+0
2009-01-02ide: use per-device request queue locks (v2)Bartlomiej Zolnierkiewicz1-146/+68
2009-01-02ide: add ide_[un]lock_hwgroup() helpersBartlomiej Zolnierkiewicz1-21/+11
2009-01-02ide: remove "paranoia" checks for hwgroup->busyBartlomiej Zolnierkiewicz1-8/+1
2009-01-02ide: remove IDE PM hack from do_ide_request()Bartlomiej Zolnierkiewicz1-8/+1
2009-01-02ide: don't execute the next queued command from the hard-IRQ context (v2)Bartlomiej Zolnierkiewicz1-37/+30
2008-12-29ide: move Power Management support to ide-pm.cBartlomiej Zolnierkiewicz1-159/+0
2008-12-29ide: remove redundant code from ide_end_drive_cmd()Bartlomiej Zolnierkiewicz1-3/+0
2008-12-29ide: always set nIEN on idle devicesBartlomiej Zolnierkiewicz1-1/+1
2008-12-29ide: fix ->quirk_list checking in ide_do_request()Bartlomiej Zolnierkiewicz1-1/+1
2008-12-29ide: cleanup ide_do_request()Bartlomiej Zolnierkiewicz1-5/+0
2008-12-29ide: replace the global ide_lock spinlock by per-hwgroup spinlocks (v2)Bartlomiej Zolnierkiewicz1-17/+16
2008-12-29ide: use queue lock instead of ide_lock when possibleBartlomiej Zolnierkiewicz1-9/+10
2008-12-29ide: ide_lock + __blk_end_request() -> blk_end_request()Bartlomiej Zolnierkiewicz1-12/+4
2008-12-29ide: push ide_lock to __ide_end_request()Bartlomiej Zolnierkiewicz1-19/+9
2008-12-29ide: ide_hwgroup_t.rq doesn't need an ide_lock heldBartlomiej Zolnierkiewicz1-21/+19
2008-12-29ide: unify ide_intr()'s exit pointsBartlomiej Zolnierkiewicz1-13/+14
2008-12-08Revert "ide: respect current DMA setting during resume"Bartlomiej Zolnierkiewicz1-2/+4
2008-12-02ide: fix build for DEBUG_PMBartlomiej Zolnierkiewicz1-9/+10
2008-12-02ide: respect current DMA setting during resumeBartlomiej Zolnierkiewicz1-4/+2
2008-12-02ide: fix the ide_release_lock imbalanceMichael Schmitz1-3/+2
2008-10-17block: remove __generic_unplug_device() from exportsJens Axboe1-2/+2
2008-10-13ide: Implement disk shock protection support (v4)Elias Oltmanns1-2/+27
2008-10-13ide: Two fixes regarding memory allocationElias Oltmanns1-4/+1
2008-10-13ide: ->ide_dma_clear_irq() -> ->clear_irq()Bartlomiej Zolnierkiewicz1-11/+4
2008-10-13ide: convert 'pio_mode' device setting to use DS_SYNC flagBartlomiej Zolnierkiewicz1-63/+5
2008-10-13ide: remove [ata_]select_tBartlomiej Zolnierkiewicz1-1/+1
2008-10-13ide: sanitize ide*_pm_* enumsBartlomiej Zolnierkiewicz1-40/+22
2008-10-13ide: fix HDIO_DRIVE_TASK[FILE] ioctls for CHS commands on LBA devicesBartlomiej Zolnierkiewicz1-2/+2
2008-10-13ide: DMA_PIO_RETRY -> IDE_DFLAG_DMA_PIO_RETRYBartlomiej Zolnierkiewicz1-3/+4
2008-10-13ide: add device flagsBartlomiej Zolnierkiewicz1-21/+34
2008-10-10ide: Remove ide_spin_wait_hwgroup() and use special requests insteadElias Oltmanns1-0/+40
2008-10-10ide: ide_id_has_flush_cache_ext() -> ata_id_flush_ext_enabled()Bartlomiej Zolnierkiewicz1-1/+1
2008-10-10ide: ide_id_has_flush_cache() -> ata_id_flush_enabled()Bartlomiej Zolnierkiewicz1-1/+1
2008-10-10ide: include <linux/hdreg.h> only when neededBartlomiej Zolnierkiewicz1-0/+1
2008-10-10ide: remove no longer needed ide_drive_t fieldsBartlomiej Zolnierkiewicz1-15/+3
2008-10-10ide: use ATA_* defines instead of *_STAT and *_ERR onesBartlomiej Zolnierkiewicz1-12/+13
2008-10-10ide: WIN_* -> ATA_CMD_*Bartlomiej Zolnierkiewicz1-13/+14
2008-10-10ide: remove superfluous check from ide_disk_special()Bartlomiej Zolnierkiewicz1-2/+0
2008-07-23ide: add struct ide_tp_ops (take 2)Bartlomiej Zolnierkiewicz1-16/+16
2008-07-23ide: add ->set_irq methodBartlomiej Zolnierkiewicz1-6/+8
2008-07-23ide: add ->read_status methodBartlomiej Zolnierkiewicz1-9/+10
2008-07-23ide: add ->exec_command methodBartlomiej Zolnierkiewicz1-2/+1
2008-07-16IDE: Remove unused codeElias Oltmanns1-49/+0
2008-07-16IDE: Fix HDIO_DRIVE_RESET handlingElias Oltmanns1-1/+22
2008-07-15ide: remove action argument in ide_do_drive_cmdFUJITA Tomonori1-31/+9
2008-07-15ide: pass 'hwif *' instead of 'drive *' to ->OUTBSYNC methodBartlomiej Zolnierkiewicz1-1/+1
2008-07-15ide: move IRQ unmasking out from ->tf_load methodBartlomiej Zolnierkiewicz1-0/+2
2008-07-15ide: remove try_to_flush_leftover_data()Bartlomiej Zolnierkiewicz1-27/+5
2008-07-15ide: remove ide_init_drive_cmdFUJITA Tomonori1-17/+0
2008-07-15ide: remove ide_wait/head_wait path in ide_do_drive_cmdFUJITA Tomonori1-24/+3
2008-07-15ide: use __generic_unplug_device() in ide_do_drive_cmd() (take 2)Bartlomiej Zolnierkiewicz1-2/+5
2008-07-15ide: set REQ_PREEMPT request flag in ide_do_drive_cmd() usersBartlomiej Zolnierkiewicz1-4/+3
2008-04-29ide: use blk_rq_init() to initialize the requestFUJITA Tomonori1-2/+1
2008-04-28ide: add ide_pad_transfer() helperBartlomiej Zolnierkiewicz1-0/+15
2008-04-28ide: add ->tf_load and ->tf_read methodsBartlomiej Zolnierkiewicz1-2/+2
2008-04-28ide: move ide_tf_{load,read} to ide-iops.cBartlomiej Zolnierkiewicz1-43/+0
2008-04-28ide: factor out debugging code from ide_tf_load()Bartlomiej Zolnierkiewicz1-0/+1
2008-04-28ide: always use ->OUTBSYNC method for executing commandsBartlomiej Zolnierkiewicz1-1/+2
2008-04-28ide: merge ->atapi_*put_bytes and ->ata_*put_data methodsBartlomiej Zolnierkiewicz1-1/+1
2008-04-28falconide/q40ide: add ->atapi_*put_bytes and ->ata_*put_data methods (take 2)Bartlomiej Zolnierkiewicz1-1/+1
2008-04-27ide: add struct ide_io_ports (take 3)Bartlomiej Zolnierkiewicz1-24/+18
2008-04-26ide: add struct ide_dma_ops (take 3)Bartlomiej Zolnierkiewicz1-4/+4
2008-04-26ide: add struct ide_port_ops (take 2)Bartlomiej Zolnierkiewicz1-2/+3
2008-04-26ide: sanitize handling of IDE_HFLAG_NO_SET_MODE host flagBartlomiej Zolnierkiewicz1-4/+0
2008-04-18ide: remove IDE_*_REG macrosBartlomiej Zolnierkiewicz1-15/+23
2008-02-11ide-disk: fix flush requests (take 2)Bartlomiej Zolnierkiewicz1-6/+10
2008-02-11ide: another possible ide panic fix for blk-end-requestKiyoshi Ueda1-1/+2
2008-02-06ide: add ide_read_error() inline helperBartlomiej Zolnierkiewicz1-2/+2
2008-02-06ide: add ide_read_[alt]status() inline helpersBartlomiej Zolnierkiewicz1-6/+6
2008-02-01ide: fix ide_intr() for non-PCI devices and CONFIG_BLK_DEV_IDEPCI=yBartlomiej Zolnierkiewicz1-1/+1
2008-01-28blk_end_request: changing ide normal caller (take 4)Kiyoshi Ueda1-13/+12
2008-01-26ide: remove REQ_TYPE_ATA_CMDBartlomiej Zolnierkiewicz1-94/+4
2008-01-26ide: fix final status check in drive_cmd_intr()Bartlomiej Zolnierkiewicz1-2/+2
2008-01-26ide: check BUSY and ERROR status bits before reading data in drive_cmd_intr()Bartlomiej Zolnierkiewicz1-3/+8
2008-01-26ide: don't enable local IRQs for PIO-in in driver_cmd_intr() (take 2)Bartlomiej Zolnierkiewicz1-6/+9
2008-01-26ide: initialize rq->cmd_type in ide_init_drive_cmd() callersBartlomiej Zolnierkiewicz1-1/+0
2008-01-26ide: use wait_drive_not_busy() in drive_cmd_intr() (take 2)Bartlomiej Zolnierkiewicz1-3/+1
2008-01-26ide: set IDE_TFLAG_IN_* flags before queuing/executing commandBartlomiej Zolnierkiewicz1-6/+2
2008-01-26ide: clear HOB bit for REQ_TYPE_ATA_CMD requests in ide_end_drive_cmd()Bartlomiej Zolnierkiewicz1-0/+2
2008-01-26ide: add ide_set_irq() inline helperBartlomiej Zolnierkiewicz1-6/+3