pci.h (9ade1217c9ba39ad2f004a898ddfbb815fd5fe74) | pci.h (9833385131fc4e8c52f95320ab899051d1c06831) |
---|---|
1#ifndef __ASM_SH_PCI_H 2#define __ASM_SH_PCI_H 3 4#ifdef __KERNEL__ 5 6#include <linux/dma-mapping.h> 7 8/* Can be used to override the logic in pci_scan_bus for skipping --- 26 unchanged lines hidden (view full) --- 35 36/* ugly as hell, but makes drivers/pci/setup-res.c compile and work */ 37#define __PCI_CHAN(bus) ((struct pci_channel *)bus->sysdata) 38#define PCIBIOS_MIN_IO __PCI_CHAN(bus)->io_resource->start 39#define PCIBIOS_MIN_MEM __PCI_CHAN(bus)->mem_resource->start 40 41struct pci_dev; 42 | 1#ifndef __ASM_SH_PCI_H 2#define __ASM_SH_PCI_H 3 4#ifdef __KERNEL__ 5 6#include <linux/dma-mapping.h> 7 8/* Can be used to override the logic in pci_scan_bus for skipping --- 26 unchanged lines hidden (view full) --- 35 36/* ugly as hell, but makes drivers/pci/setup-res.c compile and work */ 37#define __PCI_CHAN(bus) ((struct pci_channel *)bus->sysdata) 38#define PCIBIOS_MIN_IO __PCI_CHAN(bus)->io_resource->start 39#define PCIBIOS_MIN_MEM __PCI_CHAN(bus)->mem_resource->start 40 41struct pci_dev; 42 |
43#define HAVE_PCI_MMAP 44extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, 45 enum pci_mmap_state mmap_state, int write_combine); |
|
43extern void pcibios_set_master(struct pci_dev *dev); 44 45static inline void pcibios_penalize_isa_irq(int irq, int active) 46{ 47 /* We don't do dynamic PCI IRQ allocation */ 48} 49 50/* Dynamic DMA mapping stuff. --- 129 unchanged lines hidden --- | 46extern void pcibios_set_master(struct pci_dev *dev); 47 48static inline void pcibios_penalize_isa_irq(int irq, int active) 49{ 50 /* We don't do dynamic PCI IRQ allocation */ 51} 52 53/* Dynamic DMA mapping stuff. --- 129 unchanged lines hidden --- |