kernel-fxtec-pro1x/drivers/ide/pci
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
..
aec62xx.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
alim15x3.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
amd74xx.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
atiixp.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
cmd64x.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
cmd640.c ide: use 'drive->dn & 1' instead of drive->select.b.unit 2008-10-13 21:39:40 +02:00
cs5520.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
cs5530.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
cs5535.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
cy82c693.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
delkin_cb.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
generic.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
hpt34x.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
hpt366.c hpt366: cleanup maskproc() method 2008-10-17 18:09:15 +02:00
it821x.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
it8213.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
jmicron.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
Makefile ide-pci-generic: kill the unused ifdef/endif/MODULE code 2008-02-06 02:57:49 +01:00
ns87415.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
opti621.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
pdc202xx_new.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
pdc202xx_old.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
piix.c piix: add Hercules EC-900 mini-notebook to ich_laptop short cable list 2008-10-13 21:39:50 +02:00
rz1000.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
sc1200.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
scc_pata.c ide: switch to DMA-mapping API part 2008-10-13 21:39:47 +02:00
serverworks.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
sgiioc4.c ide: switch to DMA-mapping API part 2008-10-13 21:39:47 +02:00
siimage.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
sis5513.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
sl82c105.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
slc90e66.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
tc86c001.c ide: __ide_dma_end() -> ide_dma_end() 2008-10-13 21:39:46 +02:00
triflex.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
trm290.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00
via82cxxx.c ide: use unique names for struct pci_driver instances 2008-10-13 21:39:41 +02:00