-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: mt7621-pci: MIPS/ralink: add MT7621 pcie driver
NeilBrown: forward port and hack to work on GNUBEE1 Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
John Crispin
authored and
Greg Kroah-Hartman
committed
Mar 19, 2018
1 parent
5259b32
commit 03f152e
Showing
4 changed files
with
854 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_SOC_MT7621) += pci-mt7621.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |
Oops, something went wrong.