linux/drivers/ide
Sergei Shtylyov ea2ac5a3b7 hpt366: cleanup maskproc() method
Since the maskproc() method calls either mirror the interrupt en/disable via
the nIEN bit of the device control register done by the IDE core before issuing
a command or unmask the interrupt after a command executed in polled mode (when
interrupt is already not expected), it is pointless to manipulate the nIEN bit
in this method; therefore, just do nothing for the drives not on the quirk list.
Move the code to the left by using an early return and the 'else if' construct,
while at it....

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
[bart: fix checkpatch.pl warning]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-17 18:09:15 +02:00
..
arm ide: make ide_dma_timeout() available also for CONFIG_BLK_DEV_IDEDMA_SFF=n 2008-10-13 21:39:46 +02:00
h8300 ide: remove [ata_]select_t 2008-10-13 21:39:40 +02:00
legacy Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2008-10-13 14:15:06 -07:00
mips ide: switch to DMA-mapping API part #2 2008-10-13 21:39:47 +02:00
pci hpt366: cleanup maskproc() method 2008-10-17 18:09:15 +02:00
ppc pmac: remove needless pmac_ide_destroy_dmatable() wrapper 2008-10-13 21:39:45 +02:00
ide-acpi.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-atapi.c ide: remove IDE_AFLAG_NO_DOORLOCKING 2008-10-17 18:09:11 +02:00
ide-cd_ioctl.c ide: remove IDE_AFLAG_NO_DOORLOCKING 2008-10-17 18:09:11 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide-cd: remove stale comment 2008-10-17 18:09:14 +02:00
ide-cd.h ide-cd: move cdrom_info.dma to ide_drive_t.dma 2008-10-13 21:39:49 +02:00
ide-disk_ioctl.c ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-disk_proc.c ide-disk: factor out generic disk handling code to ide-gd.c 2008-10-17 18:09:12 +02:00
ide-disk.c ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-disk.h ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-dma-sff.c ide: move SFF DMA code to ide-dma-sff.c 2008-10-13 21:39:47 +02:00
ide-dma.c ide: move SFF DMA code to ide-dma-sff.c 2008-10-13 21:39:47 +02:00
ide-floppy_ioctl.c ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-floppy_proc.c ide: prepare for merging ide-gd-floppy.c with ide-gd.c 2008-10-17 18:09:13 +02:00
ide-floppy.c ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-floppy.h ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-gd.c ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-gd.h ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
ide-generic.c ide-generic: remove no longer needed ide_probe_legacy() 2008-10-13 21:39:42 +02:00
ide-io.c ide: Implement disk shock protection support (v4) 2008-10-13 21:39:50 +02:00
ide-ioctls.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-iops.c ide: mask interrupt in ide_config_drive_speed() 2008-10-17 18:09:15 +02:00
ide-lib.c ide: add device flags 2008-10-13 21:39:36 +02:00
ide-park.c ide: Implement disk shock protection support (v4) 2008-10-13 21:39:50 +02:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pnp.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-probe.c ide: remove IDE_AFLAG_NO_DOORLOCKING 2008-10-17 18:09:11 +02:00
ide-proc.c ide: allow device drivers to specify per-device type /proc settings 2008-10-17 18:09:13 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: allow device drivers to specify per-device type /proc settings 2008-10-17 18:09:13 +02:00
ide-taskfile.c ide: Implement disk shock protection support (v4) 2008-10-13 21:39:50 +02:00
ide-timings.c ide: include <linux/hdreg.h> only when needed 2008-10-10 22:39:27 +02:00
ide.c ide: Implement disk shock protection support (v4) 2008-10-13 21:39:50 +02:00
Kconfig ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
Makefile ide: add generic ATA/ATAPI disk driver 2008-10-17 18:09:14 +02:00
setup-pci.c ide: add proper PCI PM support (v2) 2008-10-10 22:39:32 +02:00