Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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/
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_SOC_MT7621)       += pci-mt7621.o
+12 −0
Original line number Diff line number Diff line

- 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>
+840 −0

File added.

Preview size limit exceeded, changes collapsed.