linux/drivers/pci
Ingo Molnar d1bef4ed5f [PATCH] genirq: rename desc->handler to desc->chip
This patch-queue improves the generic IRQ layer to be truly generic, by adding
various abstractions and features to it, without impacting existing
functionality.

While the queue can be best described as "fix and improve everything in the
generic IRQ layer that we could think of", and thus it consists of many
smaller features and lots of cleanups, the one feature that stands out most is
the new 'irq chip' abstraction.

The irq-chip abstraction is about describing and coding and IRQ controller
driver by mapping its raw hardware capabilities [and quirks, if needed] in a
straightforward way, without having to think about "IRQ flow"
(level/edge/etc.) type of details.

This stands in contrast with the current 'irq-type' model of genirq
architectures, which 'mixes' raw hardware capabilities with 'flow' details.
The patchset supports both types of irq controller designs at once, and
converts i386 and x86_64 to the new irq-chip design.

As a bonus side-effect of the irq-chip approach, chained interrupt controllers
(master/slave PIC constructs, etc.) are now supported by design as well.

The end result of this patchset intends to be simpler architecture-level code
and more consolidation between architectures.

We reused many bits of code and many concepts from Russell King's ARM IRQ
layer, the merging of which was one of the motivations for this patchset.

This patch:

rename desc->handler to desc->chip.

Originally i did not want to do this, because it's a big patch.  But having
both "desc->handler", "desc->handle_irq" and "action->handler" caused a
large degree of confusion and made the code appear alot less clean than it
truly is.

I have also attempted a dual approach as well by introducing a
desc->chip alias - but that just wasnt robust enough and broke
frequently.

So lets get over with this quickly.  The conversion was done automatically
via scripts and converts all the code in the kernel.

This renaming patch is the first one amongst the patches, so that the
remaining patches can stay flexible and can be merged and split up
without having some big monolithic patch act as a merge barrier.

[akpm@osdl.org: build fix]
[akpm@osdl.org: another build fix]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-29 10:26:21 -07:00
..
hotplug [PATCH] PCI Hotplug: Fix recovery path from errors during pcie_init() 2006-06-19 14:13:24 -07:00
pcie [PATCH] PCI: kzalloc() conversion in drivers/pci 2006-03-23 14:35:17 -08:00
.gitignore
access.c
bus.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
hotplug.c
Kconfig [PATCH] PCI: Provide a boot parameter to disable MSI 2006-03-23 14:35:16 -08:00
Makefile [PATCH] PCI: msi abstractions and support for altix 2006-06-21 11:59:58 -07:00
msi-altix.c [PATCH] PCI: altix: msi support 2006-06-21 11:59:59 -07:00
msi-apic.c [PATCH] x86_64: msi_apic.c build fix 2006-06-26 10:48:22 -07:00
msi.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
msi.h [PATCH] PCI: msi abstractions and support for altix 2006-06-21 11:59:58 -07:00
pci-acpi.c [PATCH] PCI ACPI: Rename the functions to avoid multiple instances. 2006-06-21 11:59:59 -07:00
pci-driver.c [PATCH] PCI: Error handling on PCI device resume 2006-06-11 14:02:27 -07:00
pci-sysfs.c [PATCH] PCI: Bus Parity Status sysfs interface 2006-06-21 12:00:01 -07:00
pci.c spelling fixes 2006-06-26 18:35:02 +02:00
pci.h [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
probe.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
proc.c [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC 2006-03-23 14:35:16 -08:00
quirks.c [PATCH] PCI: nVidia quirk to make AER PCI-E extended capability visible 2006-06-21 12:00:01 -07:00
remove.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
rom.c
search.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
setup-bus.c [PATCH] PCI: don't move ioapics below PCI bridge 2006-06-21 12:00:00 -07:00
setup-irq.c
setup-res.c [PATCH] PCI: Add pci_assign_resource_fixed -- allow fixed address assignments 2006-06-21 11:59:59 -07:00
syscall.c