acrn-kernel/arch/i386
Alan Cox 368c73d4f6 PCI: quirks: fix the festering mess that claims to handle IDE quirks
The number of permutations of crap we do is amazing and almost all of it
has the wrong effect in 2.6.

At the heart of this is the PCI SFF magic which says that compatibility
mode PCI IDE controllers use ISA IRQ routing and hard coded addresses
not the BAR values. The old quirks variously clears them, sets them,
adjusts them and then IDE ignores the result.

In order to drive all this garbage out and to do it portably we need to
handle the SFF rules directly and properly. Because we know the device
BAR 0-3 are not used in compatibility mode we load them with the values
that are implied (and indeed which many controllers actually
thoughtfully put there in this mode anyway).

This removes special cases in the IDE layer and libata which now knows
that bar 0/1/2/3 always contain the correct address. It means our
resource allocation map is accurate from boot, not "mostly accurate"
after ide is loaded, and it shoots lots of code. There is also lots more
code and magic constant knowledge to shoot once this is in and settled.

Been in my test tree for a while both with drivers/ide and with libata.
Wants some -mm shakedown in case I've missed something dumb or there are
corner cases lurking.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-01 14:36:56 -08:00
..
boot [PATCH] Some config.h removals 2006-10-01 00:39:34 -07:00
crypto
kernel x86: be more careful when walking back the frame pointer chain 2006-11-17 11:14:56 -08:00
lib [PATCH] separate bdi congestion functions from queue congestion functions 2006-10-20 10:26:35 -07:00
mach-default
mach-es7000
mach-generic
mach-visws [PATCH] visws build fix 2006-10-28 11:30:52 -07:00
mach-voyager [VOYAGER] fix up ptregs removal mess 2006-10-12 22:25:03 -05:00
math-emu
mm [PATCH] mm: use symbolic names instead of indices for zone initialisation 2006-10-11 11:14:14 -07:00
oprofile
pci PCI: quirks: fix the festering mess that claims to handle IDE quirks 2006-12-01 14:36:56 -08:00
power
Kconfig Attack of "the the"s in arch 2006-10-03 22:21:02 +02:00
Kconfig.cpu [PATCH] uml: fix processor selection to exclude unsupported processors and features 2006-10-11 11:14:20 -07:00
Kconfig.debug
Makefile [PATCH] x86: Use -maccumulate-outgoing-args 2006-10-21 18:37:01 +02:00
Makefile.cpu
defconfig [PATCH] i386: Update defconfig 2006-10-21 18:37:01 +02:00