Initial commit
This commit is contained in:
18
target/linux/bmips/files/arch/mips/pci/fixup-bmips.c
Normal file
18
target/linux/bmips/files/arch/mips/pci/fixup-bmips.c
Normal file
@@ -0,0 +1,18 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (C) 2020 Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
*/
|
||||
|
||||
#include <linux/pci.h>
|
||||
|
||||
int bmips_pci_irq = -1;
|
||||
|
||||
int pcibios_plat_dev_init(struct pci_dev *pci_dev)
|
||||
{
|
||||
return PCIBIOS_SUCCESSFUL;
|
||||
}
|
||||
|
||||
int pcibios_map_irq(const struct pci_dev *pci_dev, u8 slot, u8 pin)
|
||||
{
|
||||
return bmips_pci_irq;
|
||||
}
|
||||
Reference in New Issue
Block a user