android_kernel_xiaomi_sm8350/arch/i386/pci
Jesse Barnes 6e6ece5dc6 [PATCH] PCI: fix for Toshiba ohci1394 quirk
After much testing and agony, I've discovered that my previous ohci1394
quirk for Toshiba laptops is not 100% reliable.  It apparently fails to
do the interrupt line change either correctly or in time, since in about
2 out of 5 boots, the kernel's irqdebug code will *still* disable irq 11
when the ohci1394 driver is loaded (at pci_enable_device time I think).

This patch switches things around a little in the workaround.  First, it
removes the mdelay.  I didn't see a need for it and my testing has shown
that it's not necessary for the quirk to work.

Secondly, instead of trying to change the interrupt line to what ACPI
tells us it should be, this patch makes the quirk use the value in the
PCI_INTERRUPT_LINE register.  On this laptop at least, that seems to be
the right thing to do, though additional testing on other laptops and/or
with actual firewire devices would be appreciated.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-11-10 16:09:18 -08:00
..
acpi.c [PATCH] i386: include linux/irq.h rather than asm/hw_irq.h 2005-09-30 10:58:37 -07:00
common.c [PATCH] x86: pci_assign_unassigned_resources() update 2005-08-30 11:14:48 -07:00
direct.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fixup.c [PATCH] PCI: fix for Toshiba ohci1394 quirk 2005-11-10 16:09:18 -08:00
i386.c [PATCH] arch/386/pci: remap_pfn_range -> io_remap_pfn_range 2005-09-08 14:57:24 -07:00
irq.c [PATCH] asus vt8235 router buggy bios workaround 2005-10-30 17:37:12 -08:00
legacy.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
Makefile [ACPI] delete CONFIG_ACPI_PCI 2005-08-25 12:40:44 -04:00
mmconfig.c [PATCH] x86{-64}: Remove old hack that disabled mmconfig support on AMD systems. 2005-09-12 10:49:55 -07:00
numa.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
pcbios.c [PATCH] Remove i386_ksyms.c, almost. 2005-06-23 09:45:11 -07:00
pci.h /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-07-29 23:31:17 -04:00
visws.c [PATCH] visws: linkage fix 2005-08-07 10:00:38 -07:00