On Thursday 03 July 2008, Michael Ellerman wrote:Some years ago, we had discussions about getting rid of IRQ numbers altogether, or at least the requirement to have device drivers know about them. Does anyone remember what happened to that idea? I think the concept was that you pass around struct irq_desc pointers that may or may not be dynamically allocated by the interrupt controller code. Another simplification that should really help here is encapsulating request_irq() per subsystem so that you can do something like int my_irq(struct pci_dev *dev); err = pci_request_irq(pci_dev, &my_irq, IRQF_SHARED); Most PCI drivers should be trivial to convert to this model. If you want to have multiple MSI/MSI-X interrupts for one PCI device with this model, you'd need to introduce the number back as an offset, I guess. Arnd <>< --
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Dave Young | Re: Linux v2.6.24-rc1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
