forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-14 796a7ef0befd21e25c2b9e42f53a6d7a4421941d
1
2
3
4
5
6
7
8
9
10
11
12
 
- general code review and cleanup
- can this be converted to not require PCI_DRIVERS_LEGACY ??
    The irq returned by pcibios_map_irq is a "hwirq" (hardware irq number)
    and pci_assign_irq() assigns this directly to dev->irq, which
    expects a "virq" (virtual irq number).  These numbers are different
    on MIPS.  There is a gross hack to make it work on one
    specific platform, so it can be tested.
- Should this be merged with arch/mips/pci/pci-mt7620.c ??
- ensure device-tree requirements are documented
 
Cc:  NeilBrown <neil@brown.name>