pci.h (98d9f30c820d509145757e6ecbc36013aa02f7bc) | pci.h (0e47ff1ce65bbd0b12a9421a2756b26987ea5083) |
---|---|
1#ifndef __ASM_POWERPC_PCI_H 2#define __ASM_POWERPC_PCI_H 3#ifdef __KERNEL__ 4 5/* 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 30 unchanged lines hidden (view full) --- 39#define IOBASE_ISA_IO 3 40#define IOBASE_ISA_MEM 4 41 42/* 43 * Set this to 1 if you want the kernel to re-assign all PCI 44 * bus numbers (don't do that on ppc64 yet !) 45 */ 46#define pcibios_assign_all_busses() \ | 1#ifndef __ASM_POWERPC_PCI_H 2#define __ASM_POWERPC_PCI_H 3#ifdef __KERNEL__ 4 5/* 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 30 unchanged lines hidden (view full) --- 39#define IOBASE_ISA_IO 3 40#define IOBASE_ISA_MEM 4 41 42/* 43 * Set this to 1 if you want the kernel to re-assign all PCI 44 * bus numbers (don't do that on ppc64 yet !) 45 */ 46#define pcibios_assign_all_busses() \ |
47 (ppc_pci_has_flag(PPC_PCI_REASSIGN_ALL_BUS)) | 47 (pci_has_flag(PCI_REASSIGN_ALL_BUS)) |
48 49static inline void pcibios_set_master(struct pci_dev *dev) 50{ 51 /* No special bus mastering setup handling */ 52} 53 54static inline void pcibios_penalize_isa_irq(int irq, int active) 55{ --- 118 unchanged lines hidden (view full) --- 174extern void pcibios_resource_survey(void); 175 176extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 177extern int remove_phb_dynamic(struct pci_controller *phb); 178 179extern struct pci_dev *of_create_pci_dev(struct device_node *node, 180 struct pci_bus *bus, int devfn); 181 | 48 49static inline void pcibios_set_master(struct pci_dev *dev) 50{ 51 /* No special bus mastering setup handling */ 52} 53 54static inline void pcibios_penalize_isa_irq(int irq, int active) 55{ --- 118 unchanged lines hidden (view full) --- 174extern void pcibios_resource_survey(void); 175 176extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 177extern int remove_phb_dynamic(struct pci_controller *phb); 178 179extern struct pci_dev *of_create_pci_dev(struct device_node *node, 180 struct pci_bus *bus, int devfn); 181 |
182extern void of_scan_pci_bridge(struct pci_dev *dev); | 182extern void of_scan_pci_bridge(struct device_node *node, 183 struct pci_dev *dev); |
183 184extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 185extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); 186 187extern int pci_read_irq_line(struct pci_dev *dev); 188 189struct file; 190extern pgprot_t pci_phys_mem_access_prot(struct file *file, --- 16 unchanged lines hidden --- | 184 185extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 186extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); 187 188extern int pci_read_irq_line(struct pci_dev *dev); 189 190struct file; 191extern pgprot_t pci_phys_mem_access_prot(struct file *file, --- 16 unchanged lines hidden --- |