pci.h

来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· C头文件 代码 · 共 35 行

H
35
字号
/* *  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. */struct hw_pci {	/* Initialise the hardware */	void		(*init)(void *);	/* Setup bus resources */	void		(*setup_resources)(struct resource **);	/*	 * This is the offset of PCI memory base registers	 * to physical memory.	 */	unsigned long	mem_offset;	/* IRQ swizzle */	u8		(*swizzle)(struct pci_dev *dev, u8 *pin);	/* IRQ mapping */	int		(*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);};extern u8 no_swizzle(struct pci_dev *dev, u8 *pin);extern void __init dc21285_setup_resources(struct resource **resource);extern void __init dc21285_init(void *sysdata);extern void __init via82c505_init(void *sysdata);

⌨️ 快捷键说明

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