diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/arch/arm/common/pci.c | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/common/pci.c')
-rwxr-xr-x | ANDROID_3.4.5/arch/arm/common/pci.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/ANDROID_3.4.5/arch/arm/common/pci.c b/ANDROID_3.4.5/arch/arm/common/pci.c deleted file mode 100755 index 44325adb..00000000 --- a/ANDROID_3.4.5/arch/arm/common/pci.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * linux/arch/arm/common/pci.c - * - * Some descriptions of such software. Copyright (c) 2008 WonderMedia Technologies, Inc. - * - * This program is free software: you can redistribute it and/or modify it under the - * terms of the GNU General Public License as published by the Free Software Foundation, - * either version 2 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A - * PARTICULAR PURPOSE. See the GNU General Public License for more details. - * You should have received a copy of the GNU General Public License along with - * this program. If not, see <http://www.gnu.org/licenses/>. - * - * WonderMedia Technologies, Inc. - * 10F, 529, Chung-Cheng Road, Hsin-Tien, Taipei 231, R.O.C. - * - * PCI bios-type initialisation for PCI machines - * - * Bits taken from various places. - */ - -#include <linux/kernel.h> -#include <linux/pci.h> -#include <linux/init.h> - -#include <asm/irq.h> -#include <asm/mach/pci.h> -#include <asm/mach-types.h> - -extern int __init wmt_pci_setup(int nr, struct pci_sys_data *sys); -extern struct pci_bus * __init wmt_pci_scan_bus(int nr, struct pci_sys_data *sysdata); - -static int __init wmt_map_irq(struct pci_dev *dev, u8 slot, u8 pin) -{ - u8 int_line; - - pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &int_line); - return int_line; -} - -extern void __init wmt_pci_preinit(void *sysdata); - -static struct hw_pci wmt_pci __initdata = { - .setup = wmt_pci_setup, - .swizzle = pci_std_swizzle, - .map_irq = wmt_map_irq, - .nr_controllers = 1, - .scan = wmt_pci_scan_bus, - .preinit = wmt_pci_preinit -}; - -static int __init wmt_pci_init(void) -{ - /* {JHT} */ - printk("wmt_pci_init\n"); - pci_common_init(&wmt_pci); - return 0; -} - -subsys_initcall(wmt_pci_init); |