4 * Copyright (C) 2011 Aeroflex Gaisler AB, Daniel Hellstrom
7 #ifndef _ASM_LEON_PCI_H_
8 #define _ASM_LEON_PCI_H_
10 /* PCI related definitions */
11 struct leon_pci_info
{
13 struct resource io_space
;
14 struct resource mem_space
;
16 int (*map_irq
)(const struct pci_dev
*dev
, u8 slot
, u8 pin
);
19 extern void leon_pci_init(struct platform_device
*ofdev
,
20 struct leon_pci_info
*info
);
22 #endif /* _ASM_LEON_PCI_H_ */