Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
34 lines
575 B
C
34 lines
575 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Low-Level PCI Access for FRV machines.
|
|
*
|
|
* (c) 1999 Martin Mares <mj@ucw.cz>
|
|
*/
|
|
|
|
#include <asm/sections.h>
|
|
|
|
#undef DEBUG
|
|
|
|
#ifdef DEBUG
|
|
#define DBG(x...) printk(x)
|
|
#else
|
|
#define DBG(x...)
|
|
#endif
|
|
|
|
extern unsigned int __nongpreldata pci_probe;
|
|
|
|
/* pci-frv.c */
|
|
|
|
void pcibios_resource_survey(void);
|
|
|
|
/* pci-vdk.c */
|
|
|
|
extern struct pci_ops *__nongpreldata pci_root_ops;
|
|
|
|
/* pci-irq.c */
|
|
extern unsigned int pcibios_irq_mask;
|
|
|
|
void pcibios_irq_init(void);
|
|
void pcibios_fixup_irqs(void);
|
|
void pcibios_enable_irq(struct pci_dev *dev);
|