android_kernel_xiaomi_sm8350/drivers/ide/pci
Aleksandar Radovanovic b48d08177f aec62xx: Fix kernel oops in driver's probe function
Add pci_enable_device() to aec62xx probe function
before doing any I/O.

Original probe function tries to read from device's
PCI region 4 before calling ide_setup_pci_device().
Since the device is not enabled at this point,
on machines that have no firmware PCI initialization
(e.g. ASUS WL-700gE router), corresponding PCI BAR 
is 0 and the following inb() causes a kernel oops.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.yu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-11-27 21:35:53 +01:00
..
aec62xx.c aec62xx: Fix kernel oops in driver's probe function 2007-11-27 21:35:53 +01:00
alim15x3.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
amd74xx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
atiixp.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cmd64x.c cmd64x: don't clear the other channel's interrupt 2007-11-13 22:09:14 +01:00
cmd640.c ide: take ide_lock for prefetch disable/enable in do_special() 2007-10-20 00:32:36 +02:00
cs5520.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cs5530.c ide: don't BUG() on unsupported transfer modes 2007-11-13 22:09:15 +01:00
cs5535.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
cy82c693.c cy82c693: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
delkin_cb.c ide: add ->fixup method to ide_hwif_t 2007-10-20 00:32:31 +02:00
generic.c drivers/ide/pci/generic: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
hpt34x.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
hpt366.c hpt366: fix build for CONFIG_HOTPLUG=n 2007-10-26 20:31:15 +02:00
it821x.c it821x/jmicron: fix return value of {it821x,jmicron}_init_one() 2007-11-13 22:09:16 +01:00
it8213.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
jmicron.c it821x/jmicron: fix return value of {it821x,jmicron}_init_one() 2007-11-13 22:09:16 +01:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
opti621.c opti621: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
pdc202xx_new.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
pdc202xx_old.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
piix.c piix: add support for ICH7 on Acer 5602aWLMi 2007-11-05 21:42:25 +01:00
rz1000.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sc1200.c ide: don't BUG() on unsupported transfer modes 2007-11-13 22:09:15 +01:00
scc_pata.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
serverworks.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
sgiioc4.c ide: remove write-only hwif->hw 2007-10-20 00:32:33 +02:00
siimage.c siimage: remove resetproc() method 2007-11-27 21:35:53 +01:00
sis5513.c sis5513.c: Add Packard Bell EasyNote K5305 to laptops 2007-11-27 21:35:52 +01:00
sl82c105.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
slc90e66.c slc90e66: fix deadlock on error handling 2007-10-20 00:32:35 +02:00
tc86c001.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
triflex.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
trm290.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00
via82cxxx.c ide: constify struct ide_port_info 2007-10-20 00:32:34 +02:00