aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.c
AgeCommit message (Expand)AuthorFilesLines
2021-06-16ide: remove the legacy ide driverChristoph Hellwig1-551/+0
2020-09-10ide-gd: stop using the disk events mechanismChristoph Hellwig1-2/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-01-03compat_ioctl: ide: floppy: add handlerArnd Bergmann1-0/+4
2019-03-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ideLinus Torvalds1-1/+1
2019-03-10ide: mark expected switch fall-throughGustavo A. R. Silva1-1/+1
2018-11-10ide: don't use req->specialChristoph Hellwig1-1/+1
2018-08-13ide: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-18ide-floppy: Use blk_rq_is_scsi()Bart Van Assche1-1/+1
2017-06-09block: introduce new block status code typeChristoph Hellwig1-3/+3
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-10/+9
2017-01-31ide: don't abuse cmd_typeChristoph Hellwig1-6/+12
2017-01-27block: split scsi_request out of struct requestChristoph Hellwig1-2/+2
2016-06-07drivers: use req op accessorMike Christie1-1/+1
2015-05-05block: move REQ_TYPE_SENSE to the ide driverChristoph Hellwig1-1/+1
2015-05-05block: rename REQ_TYPE_SPECIAL to REQ_TYPE_DRV_PRIVChristoph Hellwig1-3/+3
2014-12-12drivers: ide: Fix mostly harmless off-by-one hardcoded valueRasmus Villemoes1-2/+2
2011-11-08ide-{cd,floppy,tape}: Do not include <linux/irq.h>Geert Uytterhoeven1-1/+0
2011-05-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6Linus Torvalds1-1/+1
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2010-11-22IDE: ide-floppy, remove unnecessary NULL checkJiri Slaby1-1/+1
2010-08-07block: unify flags for struct bio and struct requestChristoph Hellwig1-1/+1
2010-08-07block: remove wrappers for request type/flagsChristoph Hellwig1-9/+16
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2010-02-26block: Rename blk_queue_max_sectors to blk_queue_max_hw_sectorsMartin K. Petersen1-2/+2
2009-06-25ide: always kill the whole request on errorBartlomiej Zolnierkiewicz1-1/+1
2009-06-15ide: BUG() on unknown requestsBartlomiej Zolnierkiewicz1-4/+2
2009-05-15ide-atapi: remove pc->bufBorislav Petkov1-7/+1
2009-05-15ide-atapi: use local sense bufferBorislav Petkov1-1/+2
2009-05-15ide-floppy/ide_floppy_get_flexible_disk_page: use local bufferBorislav Petkov1-10/+10
2009-05-15ide-atapi: add a buffer-arg to ide_queue_pc_tailBorislav Petkov1-9/+8
2009-05-15ide-atapi: add a len-parameter to ide_queue_pc_tailBorislav Petkov1-2/+2
2009-05-15ide-atapi: switch to blk_rq_bytes() on do_request() pathBorislav Petkov1-4/+4
2009-05-11ide: cleanup rq->data_len usagesTejun Heo1-2/+2
2009-05-11ide: convert to rq pos and nr_sectors accessorsTejun Heo1-3/+3
2009-04-28ide-atapi,tape,floppy: allow ->pc_callback() to change rq->data_lenTejun Heo1-1/+4
2009-04-28ide-tape,floppy: fix failed command completion after request senseTejun Heo1-0/+1
2009-04-28ide-atapi: convert ide-{floppy,tape} to using preallocated sense bufferBorislav Petkov1-1/+3
2009-04-28ide-atapi: don't abuse rq->bufferTejun Heo1-1/+1
2009-04-28ide-floppy: block pc always uses bioTejun Heo1-8/+6
2009-03-31ide-floppy: use ide_pio_bytes()Bartlomiej Zolnierkiewicz1-19/+5
2009-03-31ide: decrease size of ->pc_buf field in struct ide_atapi_pcBartlomiej Zolnierkiewicz1-1/+4
2009-03-27ide: keep track of number of bytes instead of sectors in struct ide_cmdBartlomiej Zolnierkiewicz1-1/+1
2009-03-27ide: use do_rw_taskfile() for ATA_CMD_PACKET commandsBartlomiej Zolnierkiewicz1-10/+14
2009-03-27ide: pass command to ide_map_sg()Bartlomiej Zolnierkiewicz1-1/+5
2009-03-27ide: remove ide_end_request()Bartlomiej Zolnierkiewicz1-2/+2
2009-03-27ide: pass number of bytes to complete to ide_complete_rq()Bartlomiej Zolnierkiewicz1-1/+1
2009-03-27ide: move rq->errors quirk out from ide_end_request()Bartlomiej Zolnierkiewicz1-0/+2
2009-03-27ide: pass error value to ide_complete_rq()Bartlomiej Zolnierkiewicz1-1/+1
2009-03-27ide: move command related fields from ide_hwif_t to struct ide_cmdBartlomiej Zolnierkiewicz1-2/+3
2009-03-27ide: return request status from ->pc_callback methodBartlomiej Zolnierkiewicz1-8/+4
2009-03-27ide: remove ->end_request methodBartlomiej Zolnierkiewicz1-20/+0
2009-03-27ide-{floppy,tape}: cleanup ide*_end_request()Bartlomiej Zolnierkiewicz1-35/+31
2009-03-27ide: use ->end_request only for private device driver requestsBartlomiej Zolnierkiewicz1-5/+2
2009-03-27ide: move ->failed_pc to ide_drive_tBartlomiej Zolnierkiewicz1-11/+10
2009-03-27ide-floppy: remove superfluous check from ide_floppy_end_request()Bartlomiej Zolnierkiewicz1-3/+1
2009-03-27ide: move request type specific code from ide_end_drive_cmd() to callers (v3)Bartlomiej Zolnierkiewicz1-1/+1
2009-03-27ide: improve debugging schemeBorislav Petkov1-20/+15
2009-03-13ide-floppy: do not map dataless cmds to an sgBorislav Petkov1-2/+4
2009-01-06ide: merge ide_hwgroup_t with ide_hwif_t (v2)Bartlomiej Zolnierkiewicz1-1/+1
2009-01-02ide-atapi: remove timeout arg to ide_issue_pcBorislav Petkov1-1/+1
2009-01-02ide-cd: move cdrom_timer_expiry to ide-atapi.cBorislav Petkov1-1/+1
2009-01-02ide-floppy: allocate only toplevel packet commandsLinus Torvalds1-13/+13
2008-10-17ide-floppy: remove idefloppy_floppy_t typedefBartlomiej Zolnierkiewicz1-9/+9
2008-10-17ide: add generic ATA/ATAPI disk driverBartlomiej Zolnierkiewicz1-8/+37
2008-10-17ide-floppy: factor out generic disk handling code to ide-gd-floppy.cBartlomiej Zolnierkiewicz1-309/+10
2008-10-17ide: remove IDE_AFLAG_NO_DOORLOCKINGBartlomiej Zolnierkiewicz1-1/+1
2008-10-17ide: IDE_AFLAG_FORMAT_IN_PROGRESS -> IDE_DFLAG_FORMAT_IN_PROGRESSBartlomiej Zolnierkiewicz1-3/+3
2008-10-17ide: IDE_AFLAG_WP -> IDE_DFLAG_WPBartlomiej Zolnierkiewicz1-4/+4
2008-10-17ide: IDE_AFLAG_MEDIA_CHANGED -> IDE_DFLAG_MEDIA_CHANGEDBartlomiej Zolnierkiewicz1-3/+3
2008-10-17ide-floppy: use drive->capacity64 for caching current capacityBartlomiej Zolnierkiewicz1-10/+13
2008-10-17ide-floppy: drop 'floppy' argument from idefloppy_setup()Bartlomiej Zolnierkiewicz1-2/+3
2008-10-17ide-{disk,floppy}: set IDE_DFLAG_ATTACH in *_setup()Bartlomiej Zolnierkiewicz1-1/+2
2008-10-17ide-floppy: use alloc_disk_node()Bartlomiej Zolnierkiewicz1-1/+1
2008-10-13ide-floppy: move /proc handling to ide-floppy_proc.c (take 2)Bartlomiej Zolnierkiewicz1-37/+4
2008-10-13ide-floppy: move all ioctl handling to ide-floppy_ioctl.c (take 2)Bartlomiej Zolnierkiewicz1-51/+1
2008-10-13ide: set IDE_AFLAG_DRQ_INTERRUPT in do_identify()Bartlomiej Zolnierkiewicz1-5/+0
2008-10-13ide: remove superfluous ->media field from ide_driver_tBartlomiej Zolnierkiewicz1-1/+0
2008-10-13ide: add device flagsBartlomiej Zolnierkiewicz1-4/+5
2008-10-13ide-floppy: add a debug_mask module parameterBorislav Petkov1-0/+6
2008-10-13ide-floppy: convert driver to the new debugging macroBorislav Petkov1-65/+75
2008-10-13ide: unify conversion macrosBorislav Petkov1-12/+9
2008-10-13ide: make ide_transfer_pc() staticBartlomiej Zolnierkiewicz1-64/+8
2008-10-13ide: make ide_pc_intr() staticBartlomiej Zolnierkiewicz1-8/+2
2008-10-13ide: add ->pc_{update,io}_buffers methodsBartlomiej Zolnierkiewicz1-3/+4
2008-10-13ide: add ide_retry_pc() helperBartlomiej Zolnierkiewicz1-24/+1
2008-10-13ide: add request_sense_{pc,rq} to ide_drive_tBartlomiej Zolnierkiewicz1-2/+2
2008-10-13ide: drop 'timeout' and 'expiry' arguments from ide_pc_intr()Bartlomiej Zolnierkiewicz1-2/+1
2008-10-13ide: add pointer to the current packet command to ide_drive_tBartlomiej Zolnierkiewicz1-12/+8
2008-10-13ide: drop dsc_handle argument from ide_pc_intr()Bartlomiej Zolnierkiewicz1-3/+3
2008-10-10ide: Remove ide_spin_wait_hwgroup() and use special requests insteadElias Oltmanns1-10/+10
2008-10-10ide: move IDE{FLOPPY,TAPE}_WAIT_CMD defines to <linux/ide.h>Bartlomiej Zolnierkiewicz1-9/+4
2008-10-10ide: add ide_do_test_unit_ready() helperBartlomiej Zolnierkiewicz1-5/+1
2008-10-10ide: add ide_do_start_stop() helperBartlomiej Zolnierkiewicz1-15/+4
2008-10-10ide: add ide_set_media_lock() helperBartlomiej Zolnierkiewicz1-25/+7
2008-10-10ide-floppy: move floppy ioctls handling to ide-floppy_ioctl.cBartlomiej Zolnierkiewicz1-287/+9
2008-10-10ide-floppy: ->{srfp,wp} -> IDE_AFLAG_{SRFP,WP}Bartlomiej Zolnierkiewicz1-10/+14
2008-10-10ide: add ide_queue_pc_tail() helperBartlomiej Zolnierkiewicz1-32/+17
2008-10-10ide: add ide_queue_pc_head() helperBartlomiej Zolnierkiewicz1-20/+1
2008-10-10ide: add ide_init_pc() helperBartlomiej Zolnierkiewicz1-22/+9
2008-10-10ide-floppy: add ide_floppy_set_media_lock() helperBartlomiej Zolnierkiewicz1-23/+16
2008-10-10ide: add ide_io_buffers() helperBartlomiej Zolnierkiewicz1-46/+1
2008-10-10ide-floppy: remove MODE_SENSE_* definesBartlomiej Zolnierkiewicz1-12/+5
2008-10-10ide-{floppy,tape}: remove packet command stackBartlomiej Zolnierkiewicz1-25/+7
2008-10-10ide-{floppy,tape}: remove request stackBartlomiej Zolnierkiewicz1-16/+6
2008-10-10ide-floppy: use scatterlists for pio transfersBorislav Petkov1-26/+42
2008-10-10ide-floppy: add ide_floppy_format_ioctl() helperBartlomiej Zolnierkiewicz1-21/+25
2008-10-10ide-floppy: remove needless parensBartlomiej Zolnierkiewicz1-11/+16
2008-10-10ide: add ide_check_atapi_device() helperBartlomiej Zolnierkiewicz1-45/+3
2008-10-10ide: remove ->supports_dsc_overlap field from ide_driver_tBartlomiej Zolnierkiewicz1-1/+0
2008-10-10ide: /proc/ide/hd*/settings reworkBartlomiej Zolnierkiewicz1-12/+23
2008-10-10ide: call ide_proc_register_driver() laterBartlomiej Zolnierkiewicz1-2/+2
2008-10-10ide: include <linux/hdreg.h> only when neededBartlomiej Zolnierkiewicz1-0/+1
2008-10-10ide: remove needless drive->present checks from device driversBartlomiej Zolnierkiewicz1-2/+2
2008-10-10ide: use ATA_* defines instead of *_STAT and *_ERR onesBartlomiej Zolnierkiewicz1-1/+1
2008-10-10ide: make drive->id an union (take 2)Bartlomiej Zolnierkiewicz1-6/+8
2008-08-05ide: fix regression caused by ide_device_{get,put}() addition (take 2)Bartlomiej Zolnierkiewicz1-5/+6
2008-07-24ide: add ide_device_{get,put}() helpersBartlomiej Zolnierkiewicz1-3/+9
2008-07-23ide-floppy: convert to using the new atapi_flags (take 2)Borislav Petkov1-46/+27
2008-07-23ide-floppy: pass packet command in rq->cmdBorislav Petkov1-0/+4
2008-07-23ide-floppy: use drive->pc_callback instead of pc->callbackBorislav Petkov1-2/+2
2008-07-23ide: add struct ide_tp_ops (take 2)Bartlomiej Zolnierkiewicz1-4/+4
2008-07-23ide: add ->read_status methodBartlomiej Zolnierkiewicz1-1/+2
2008-07-16IDE: Remove unused codeElias Oltmanns1-1/+0
2008-07-16ide: endian annotations in ide-floppy.cHarvey Harrison1-8/+8
2008-07-16ide-floppy: zero out the whole struct ide_atapi_pc on initBorislav Petkov1-4/+1
2008-07-16ide-floppy: fold idefloppy_create_test_unit_ready_cmd into idefloppy_openBorislav Petkov1-7/+3
2008-07-15ide-floppy: fix unfortunate function namingBorislav Petkov1-8/+10
2008-07-15ide: add ide_pc_intr() helperBartlomiej Zolnierkiewicz1-125/+3
2008-07-15ide-{floppy,scsi}: read Status Register before stopping DMA engineBartlomiej Zolnierkiewicz1-3/+3
2008-07-15ide-floppy: add more debugging to idefloppy_pc_intr()Bartlomiej Zolnierkiewicz1-2/+8
2008-07-15ide-{floppy,tape}: move checking of ->failed_pc to ->callbackBartlomiej Zolnierkiewicz1-2/+3
2008-07-15ide: add ide_issue_pc() helperBartlomiej Zolnierkiewicz1-33/+2
2008-07-15ide: add PC_FLAG_DRQ_INTERRUPT pc flagBartlomiej Zolnierkiewicz1-1/+4
2008-07-15ide: add ide_transfer_pc() helperBartlomiej Zolnierkiewicz1-27/+1
2008-07-15ide-{cd,floppy,tape}: remove checking for drive->scsiBartlomiej Zolnierkiewicz1-5/+0
2008-07-15ide: add PC_FLAG_ZIP_DRIVE pc flagBartlomiej Zolnierkiewicz1-2/+6
2008-07-15ide-floppy: start DMA engine in idefloppy_transfer_pc1()Bartlomiej Zolnierkiewicz1-6/+10
2008-07-15ide-{floppy,tape}: PC_FLAG_DMA_RECOMMENDED -> PC_FLAG_DMA_OKBartlomiej Zolnierkiewicz1-3/+3
2008-07-15ide-{floppy,tape}: merge pc->idefloppy_callback and pc->idetape_callbackBartlomiej Zolnierkiewicz1-3/+3
2008-07-15ide-floppy: merge callbacksBorislav Petkov1-46/+23
2008-07-15ide-{floppy,tape,scsi}: log device name instead of driver nameBartlomiej Zolnierkiewicz1-17/+18
2008-07-15ide-floppy: merge idefloppy_transfer_pc() and idefloppy_transfer_pc1()Bartlomiej Zolnierkiewicz1-48/+17
2008-07-15ide: remove action argument in ide_do_drive_cmdFUJITA Tomonori1-1/+1
2008-07-15ide: remove IDE_TFLAG_NO_SELECT_MASK taskfile flagBartlomiej Zolnierkiewicz1-2/+1
2008-07-15ide: remove ide_init_drive_cmdFUJITA Tomonori1-1/+1
2008-07-15ide-floppy: convert ide_do_drive_cmd path to use blk_execute_rqFUJITA Tomonori1-6/+8
2008-07-15ide: set REQ_PREEMPT request flag in ide_do_drive_cmd() usersBartlomiej Zolnierkiewicz1-0/+1
2008-04-28ide: add ide_pad_transfer() helperBartlomiej Zolnierkiewicz1-5/+2
2008-04-28ide: add ide_execute_pkt_cmd() helperBartlomiej Zolnierkiewicz1-3/+1
2008-04-28ide-{floppy,tape,scsi}: 400ns delay is required after executing the commandBartlomiej 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-7/+11
2008-04-27ide: add struct ide_io_ports (take 3)Bartlomiej Zolnierkiewicz1-6/+6
2008-04-26ide: add struct ide_dma_ops (take 3)Bartlomiej Zolnierkiewicz1-3/+3
2008-04-26IDE: Coding Style fixes to drivers/ide/ide-floppy.cPaolo Ciarrocchi1-8/+8
2008-04-18ide: use generic ATAPI packet command flags in ide-{floppy,tape}Borislav Petkov1-14/+0
2008-04-18ide-floppy: rename end_request handler properlyBorislav Petkov1-11/+11
2008-04-18ide-floppy: convert driver to using generic ide_atapi_pcBorislav Petkov1-112/+93
2008-04-18ide: remove IDE_*_REG macrosBartlomiej Zolnierkiewicz1-6/+8
2008-04-18ide: add ide_atapi_{discard_data,write_zeros} inline helpersBartlomiej Zolnierkiewicz1-21/+3
2008-04-18ide-floppy: remove struct idefloppy_id_gcwBorislav Petkov1-43/+24
2008-02-06ide: add ide_read_error() inline helperBartlomiej Zolnierkiewicz1-1/+1
2008-02-06ide: add ide_read_[alt]status() inline helpersBartlomiej Zolnierkiewicz1-2/+2
2008-02-02ide-floppy: bump driver version numberBorislav Petkov1-4/+1
2008-02-02ide-floppy: fix most of the remaining checkpatch.pl issuesBorislav Petkov1-195/+160
2008-02-02ide-floppy: remove atomic test_*bit macrosBorislav Petkov1-56/+69
2008-02-02ide-floppy: remove unused flag PC_ABORTBorislav Petkov1-13/+6
2008-02-02ide-floppy: remove IDEFLOPPY_DEBUG_INFOBorislav Petkov1-50/+13
2008-02-02ide-floppy: remove unused IDEFLOPPY_USE_READ12Borislav Petkov1-11/+7
2008-02-02ide-floppy: merge idefloppy_{input,output}_buffersBorislav Petkov1-46/+19
2008-02-02ide-floppy: use an xfer_func_t and io_buf_t typedefs in order to unify rwBorislav Petkov1-17/+16
2008-02-02ide-floppy: remove IDEFLOPPY_DEBUG_BUGS macroBorislav Petkov1-6/+1
2008-02-02ide-floppy: mv idefloppy_{should_,}report_errorBorislav Petkov1-24/+14
2008-02-02ide-floppy: report DMA handling in idefloppy_pc_intr() properlyBorislav Petkov1-1/+5
2008-02-02ide-floppy: factor out ioctl handlers from idefloppy_ioctl()Borislav Petkov1-75/+78
2008-02-02ide-floppy: remove struct idefloppy_capacity_descriptorBorislav Petkov1-100/+76
2008-02-02ide-floppy: remove struct idefloppy_flexible_disk_pageBorislav Petkov1-54/+36
2008-02-02ide-floppy: remove struct idefloppy_mode_parameter_headerBorislav Petkov1-23/+3
2008-02-02ide-floppy: remove struct idefloppy_request_sense_resultBorislav Petkov1-58/+24
2008-02-02ide-floppy: remove struct idefloppy_inquiry_resultBorislav Petkov1-41/+0
2008-02-02ide-floppy: remove struct idefloppy_capabilities_pageBorislav Petkov1-49/+6
2008-02-02ide-floppy: cleanup and unify debugging macro callsBorislav Petkov1-37/+31
2008-02-02ide-floppy: include the proper headersBorislav Petkov1-3/+3
2008-02-02ide-floppy: disambiguate function namesBorislav Petkov1-3/+3
2008-02-02ide-floppy: remove unnecessary ->handler != NULL checkBorislav Petkov1-4/+3
2008-02-02ide-floppy: replace ntoh{s,l} and hton{s,l} calls with the generic byteorderBorislav Petkov1-14/+14
2008-02-02ide-floppy: convert to generic packet commandsBorislav Petkov1-32/+12
2008-02-01ide-floppy: cleanup headerBorislav Petkov1-63/+4
2008-02-01ide: update/add my CopyrightsBartlomiej Zolnierkiewicz1-2/+3
2008-02-01ide: delete filenames/versions from commentsBartlomiej Zolnierkiewicz1-2/+0
2008-02-01ide-{floppy,tape}: remove debug code for dumping identify dataBartlomiej Zolnierkiewicz1-50/+0
2008-01-25ide: add ide_pktcmd_tf_load() helperBartlomiej Zolnierkiewicz1-7/+2
2008-01-25ide-{floppy,tape,scsi}: fix register loading order when issuing packet commandBartlomiej Zolnierkiewicz1-1/+1
2008-01-25ide: remove atapi_ireason_t (take 3)Bartlomiej Zolnierkiewicz1-13/+12
2008-01-25ide: remove ata_nsector_t, ata_data_t and atapi_bcount_tBartlomiej Zolnierkiewicz1-19/+18
2008-01-25ide: remove atapi_feature_tBartlomiej Zolnierkiewicz1-5/+5
2008-01-25ide: remove atapi_error_t (take 2)Bartlomiej Zolnierkiewicz1-2/+1