/* * PCI <-> OF mapping helpers * * Copyright 2011 IBM Corp. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #include <linux/irqdomain.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_pci.h> #include "pci.h"
void pci_set_of_node(struct pci_dev *dev) { if (!dev->bus->dev.of_node) return; dev->dev.of_node = of_pci_find_child_device(dev->bus->dev.of_node, dev->devfn); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Benjamin Herrenschmidt | 43 | 100.00% | 1 | 100.00% |
Total | 43 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Benjamin Herrenschmidt | 27 | 100.00% | 1 | 100.00% |
Total | 27 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Benjamin Herrenschmidt | 47 | 100.00% | 1 | 100.00% |
Total | 47 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Benjamin Herrenschmidt | 27 | 100.00% | 1 | 100.00% |
Total | 27 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Benjamin Herrenschmidt | 74 | 92.50% | 1 | 50.00% |
David Daney | 6 | 7.50% | 1 | 50.00% |
Total | 80 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 96 | 100.00% | 3 | 100.00% |
Total | 96 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Benjamin Herrenschmidt | 234 | 68.42% | 1 | 20.00% |
Marc Zyngier | 102 | 29.82% | 3 | 60.00% |
David Daney | 6 | 1.75% | 1 | 20.00% |
Total | 342 | 100.00% | 5 | 100.00% |