pci.h

来自「Linux内核源代码 为压缩文件 是<<Linux内核>&gt」· C头文件 代码 · 共 43 行

H
43
字号
/* *  linux/include/asm-arm/mach/pci.h * *  Copyright (C) 2000 Russell King * * 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. */#define MAX_NR_BUS	2struct arm_bus_sysdata {	/*	 * bitmask of features we can turn.	 * See PCI command register for more info.	 */	u16		features;	/*	 * Maximum devsel for this bus.	 */	u16		maxdevsel;	/*	 * The maximum latency that devices on this	 * bus can withstand.	 */	u8		max_lat;};struct arm_pci_sysdata {	struct arm_bus_sysdata bus[MAX_NR_BUS];};struct hw_pci {	void		(*init)(struct arm_pci_sysdata *);	u8		(*swizzle)(struct pci_dev *dev, u8 *pin);	int		(*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);};extern u8 no_swizzle(struct pci_dev *dev, u8 *pin);void __init dc21285_init(struct arm_pci_sysdata *);void __init plx90x0_init(struct arm_pci_sysdata *);

⌨️ 快捷键说明

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