cregit-Linux how code gets into the kernel

Release 4.14 arch/mips/ath79/pci.h

Directory: arch/mips/ath79
/*
 *  Atheros AR71XX/AR724X PCI support
 *
 *  Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
 *  Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
 *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
 *
 *  This program is free software; you can redistribute it and/or modify it
 *  under the terms of the GNU General Public License version 2 as published
 *  by the Free Software Foundation.
 */

#ifndef _ATH79_PCI_H

#define _ATH79_PCI_H


struct ath79_pci_irq {
	
int	bus;
	
u8	slot;
	
u8	pin;
	
int	irq;
};

#ifdef CONFIG_PCI
void ath79_pci_set_irq_map(unsigned nr_irqs, const struct ath79_pci_irq *map);
void ath79_pci_set_plat_dev_init(int (*func)(struct pci_dev *dev));
int ath79_register_pci(void);
#else

static inline void ath79_pci_set_irq_map(unsigned nr_irqs, const struct ath79_pci_irq *map) {}

Contributors

PersonTokensPropCommitsCommitProp
Gabor Juhos15100.00%2100.00%
Total15100.00%2100.00%


static inline void ath79_pci_set_plat_dev_init(int (*func)(struct pci_dev *)) {}

Contributors

PersonTokensPropCommitsCommitProp
Gabor Juhos17100.00%2100.00%
Total17100.00%2100.00%


static inline int ath79_register_pci(void) { return 0; }

Contributors

PersonTokensPropCommitsCommitProp
Gabor Juhos12100.00%1100.00%
Total12100.00%1100.00%

#endif #endif /* _ATH79_PCI_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Gabor Juhos10794.69%685.71%
René Bolldorf65.31%114.29%
Total113100.00%7100.00%
Directory: arch/mips/ath79
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.