⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pci.h

📁 arm_uclinux_tools用于安装linux的编译器
💻 H
字号:
/* *  linux/include/asm-armnommu/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. * * history :  * 				ryc modified hw_pci structure for 2510 */#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];};/* ryc-- original structurestruct 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);};*//* ryc modified for 2510 pci*/struct hw_pci {   // void        (*init)(struct arm_pci_sysdata *); //ryc--    void    (*init)(void *); //ryc modified.    u8      (*swizzle)(struct pci_dev *dev, u8 *pin);    int     (*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);    void 	(*setup_resources)(struct resource **); //ryc++    unsigned long mem_offset; //ryc++};  extern u8 no_swizzle(struct pci_dev *dev, u8 *pin);extern void __init smdk2510_pci_setup_resources(struct resource **resource);extern void __init smdk2510_pci_init(struct arm_pci_sysdata*);

⌨️ 快捷键说明

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