pci_channel.h

来自「Linux Kernel 2.6.9 for OMAP1710」· C头文件 代码 · 共 47 行

H
47
字号
#ifndef __ASM_PCI_CHANNEL_H#define __ASM_PCI_CHANNEL_H/* * This file essentially defines the interface between board * specific PCI code and MIPS common PCI code.  Should potentially put * into include/asm/pci.h file. */#include <linux/ioport.h>#include <linux/pci.h>/* * Each pci channel is a top-level PCI bus seem by CPU.  A machine  with * multiple PCI channels may have multiple PCI host controllers or a * single controller supporting multiple channels. */struct pci_controller {	struct pci_controller *next;	struct pci_bus *bus;	struct pci_ops *pci_ops;	struct resource *mem_resource;	unsigned long mem_offset;	struct resource *io_resource;	unsigned long io_offset;	/* For compatibility with current (as of July 2003) pciutils	   and XFree86. Eventually will be removed. */	unsigned int need_domain_info;	int iommu;};/* * Used by boards to register their PCI interfaces before the actual scanning. */extern struct pci_controller * alloc_pci_controller(void);extern void register_pci_controller(struct pci_controller *hose);/* * board supplied pci irq fixup routine */extern int pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin);#endif  /* __ASM_PCI_CHANNEL_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?