27 Mar, 2009
40 commits
-
Move ->failed_pc from struct ide_{disk,tape}_obj to ide_drive_t.
There should be no functional changes caused by this patch.
Acked-by: Borislav Petkov
Signed-off-by: Bartlomiej Zolnierkiewicz -
tape->lock is not needed (->queue_lock protects queue).
Acked-by: Borislav Petkov
Signed-off-by: Bartlomiej Zolnierkiewicz -
There should be no functional changes caused by this patch.
Acked-by: Borislav Petkov
Signed-off-by: Bartlomiej Zolnierkiewicz -
There should be no functional changes caused by this patch.
Acked-by: Borislav Petkov
Signed-off-by: Bartlomiej Zolnierkiewicz -
No need to check / clear hwif->sg_nents.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Re-map sg table if necessary (not that it really matters since
DMA support is disabled currently).Signed-off-by: Bartlomiej Zolnierkiewicz
-
Check for ide_build_sglist() return value and re-map sg table if necessary.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Move smart_enable() call out from get_smart_data() to
proc_idedisk_read_smart().There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
* Always use hwif->task->data_phase and remove ->data_phase
field from ide_hwif_t.* Remove superfluous REQ_TYPE_ATA_TASKFILE check from
ide_pio_datablock() while at it.There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Signed-off-by: Bartlomiej Zolnierkiewicz
-
* Move request type specific code from ide_end_drive_cmd() to callers.
* Remove stale ide_end_drive_cmd() documentation and drop no longer
used 'stat' argument. Then rename the function to ide_complete_rq().v2:
* Fix handling of blk_pm_request() requests in task_no_data_intr().v3:
* Some ide_no_data_taskfile() users (HPA code and HDIO_DRIVE_* ioctls
handlers) access original command later so we need to update it in
ide_complete_task().There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Factor out completion of taskfile from ide_end_drive_cmd()
to ide_complete_task().There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
* Complete power step in ide_complete_pm_request().
* Rename ide_complete_pm_request() to ide_complete_pm_rq().
There should be no functional changes caused by this patch.
Signed-off-by: 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}_DATAv2:
* 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
Acked-by: Sergei Shtylyov
Signed-off-by: Bartlomiej Zolnierkiewicz -
Add IDE_HFLAG_4DRIVES host flag and use it instead of ide_4drives
chipset type in ide_init_port().There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Add IDE_HFLAG_DTC2278 host flag and use it instead of ide_dtc2278
chipset type in ide_init_port().There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
There should be no functional changes caused by this patch.
Signed-off-by: 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: Bartlomiej Zolnierkiewicz
-
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Always free drive->id in probe_for_drive() if device is not present.
While at it:
- remove dead IDE_DFLAG_DEAD flag
- remove superfluous IDE_DFLAG_PRESENT checkSigned-off-by: Bartlomiej Zolnierkiewicz
-
v2:
scc_chipsets[] -> scc_chipset fix (spotted by Daniel K.).Cc: "Daniel K."
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Bartlomiej Zolnierkiewicz
-
Use readsw()/writesw() directly intead of __ide_mm_{in,out}sw() macros.
Cc: Stanislaw Gruszka
Cc: Sergei Shtylyov
Signed-off-by: Bartlomiej Zolnierkiewicz -
There should be no functionality change resulting from this patch.
Suggested-by: Bartlomiej Zolnierkiewicz
Signed-off-by: Borislav Petkov
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Kevin Hilman
Acked-by: Sergei Shtylyov
[bart: minor CodingStyle fixup per Sergei's suggestion]
Signed-off-by: Bartlomiej Zolnierkiewicz -
* Remove superfluous include.
* No need to re-define in/out*() macros as they are no longer used
by m68k host drivers.* readl() and writel() are not used by core IDE code.
* Use raw_*_swapw() directly in {falcon,q40}ide.c and remove
{in,out}sw_swapw() macros.Cc: Geert Uytterhoeven
Cc: Michael Schmitz
Signed-off-by: Bartlomiej Zolnierkiewicz -
Cc: Geert Uytterhoeven
Cc: Michael Schmitz
Signed-off-by: Bartlomiej Zolnierkiewicz -
* Add ->{get,release}_lock methods to struct ide_port_info
and struct ide_host.* Convert core IDE code, m68k IDE code and falconide support to use
->{get,release}_lock methods instead of ide_{get,release}_lock().* Remove IDE_ARCH_LOCK.
v2:
* Build fix from Geert updating ide_{get,release}_lock() callers in
falconide.c.Cc: Geert Uytterhoeven
Cc: Michael Schmitz
Signed-off-by: Bartlomiej Zolnierkiewicz -
This micro-optimization is not worth it. Just always check for
existence of ->ack_intr method in ide_intr() and ide_timer_expiry().v2:
Fix brown-paper-bag bug spotted by David D. Kilzer.Cc: Geert Uytterhoeven
Cc: Michael Schmitz
Cc: "David D. Kilzer"
Signed-off-by: Bartlomiej Zolnierkiewicz -
and more specifically, push __func__ into debug
macro thus making ide_debug_log() calls shorter and more readable.Signed-off-by: Borislav Petkov
-
Signed-off-by: Bartlomiej Zolnierkiewicz
-
This fixes hwif->channel and drive->dn assignments.
Cc: Geert Uytterhoeven
Signed-off-by: Bartlomiej Zolnierkiewicz -
This fixes hwif->channel and drive->dn assignments.
Cc: Geert Uytterhoeven
Signed-off-by: Bartlomiej Zolnierkiewicz -
This fixes hwif->channel and drive->dn assignments.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
This fixes hwif->channel and drive->dn assignments.
Signed-off-by: Bartlomiej Zolnierkiewicz
-
This fixes hwif->channel and drive->dn assignments.
Cc: Russell King
Signed-off-by: Bartlomiej Zolnierkiewicz -
This fixes hwif->channel and drive->dn assignments.
v2:
Fix v5/v6 mismatch noticed by Russell.Cc: Russell King
Signed-off-by: Bartlomiej Zolnierkiewicz -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
slob: fix lockup in slob_free()
slub: use get_track()
slub: rename calculate_min_partial() to set_min_partial()
slub: add min_partial sysfs tunable
slub: move min_partial to struct kmem_cache
SLUB: Fix default slab order for big object sizes
SLUB: Do not pass 8k objects through to the page allocator
SLUB: Introduce and use SLUB_MAX_SIZE and SLUB_PAGE_SHIFT constants
slob: clean up the code
SLUB: Use ->objsize from struct kmem_cache_cpu in slab_free() -
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
m68k: irq_node.handler() should return irqreturn_t
m68k: section mismatch fixes: Atari SCSI
m68k: section mismatch fixes: DMAsound for Atari
MAINTAINERS: Replace dead link to m68k CVS repository by link to new git repository
m68k: mac - Add SWIM floppy support
m68k: mac - Add a new entry in mac_model to identify the floppy controller type.
m68k: Add install target -
* 'bkl-removal' of git://git.lwn.net/linux-2.6:
Rationalize fasync return values
Move FASYNC bit handling to f_op->fasync()
Use f_lock to protect f_flags
Rename struct file->f_ep_lock