Commit 03f152e3 authored by John Crispin's avatar John Crispin Committed by Greg Kroah-Hartman

staging: mt7621-pci: MIPS/ralink: add MT7621 pcie driver

NeilBrown: forward port and hack to work on GNUBEE1
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5259b329
......@@ -49,3 +49,4 @@ obj-$(CONFIG_GREYBUS) += greybus/
obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/
obj-$(CONFIG_PI433) += pi433/
obj-$(CONFIG_SOC_MT7621) += mt7621-pci/
obj-$(CONFIG_SOC_MT7621) += pci-mt7621.o
- 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>
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment