pci.h (b6c58b1d987a5795086c5c2babd8c7367d2fdb8c) pci.h (9ad62ec4f752c82b39aa5927f23d894b46ae10b9)
1#ifndef __ASM_SH_PCI_H
2#define __ASM_SH_PCI_H
3
4#ifdef __KERNEL__
5
6/* Can be used to override the logic in pci_scan_bus for skipping
7 already-configured bus numbers - to be used for buggy BIOSes
8 or architectures with incomplete PCI setup by the loader */

--- 27 unchanged lines hidden (view full) ---

36 unsigned int err_irq, serr_irq;
37};
38
39/* arch/sh/drivers/pci/pci.c */
40extern int register_pci_controller(struct pci_channel *hose);
41extern void pcibios_report_status(unsigned int status_mask, int warn);
42
43/* arch/sh/drivers/pci/common.c */
1#ifndef __ASM_SH_PCI_H
2#define __ASM_SH_PCI_H
3
4#ifdef __KERNEL__
5
6/* Can be used to override the logic in pci_scan_bus for skipping
7 already-configured bus numbers - to be used for buggy BIOSes
8 or architectures with incomplete PCI setup by the loader */

--- 27 unchanged lines hidden (view full) ---

36 unsigned int err_irq, serr_irq;
37};
38
39/* arch/sh/drivers/pci/pci.c */
40extern int register_pci_controller(struct pci_channel *hose);
41extern void pcibios_report_status(unsigned int status_mask, int warn);
42
43/* arch/sh/drivers/pci/common.c */
44extern int early_read_config_byte(struct pci_channel *hose, int top_bus,
45 int bus, int devfn, int offset, u8 *value);
46extern int early_read_config_word(struct pci_channel *hose, int top_bus,
47 int bus, int devfn, int offset, u16 *value);
48extern int early_read_config_dword(struct pci_channel *hose, int top_bus,
49 int bus, int devfn, int offset, u32 *value);
50extern int early_write_config_byte(struct pci_channel *hose, int top_bus,
51 int bus, int devfn, int offset, u8 value);
52extern int early_write_config_word(struct pci_channel *hose, int top_bus,
53 int bus, int devfn, int offset, u16 value);
54extern int early_write_config_dword(struct pci_channel *hose, int top_bus,
55 int bus, int devfn, int offset, u32 value);
44extern void pcibios_enable_timers(struct pci_channel *hose);
45extern unsigned int pcibios_handle_status_errors(unsigned long addr,
46 unsigned int status, struct pci_channel *hose);
47extern int pci_is_66mhz_capable(struct pci_channel *hose,
48 int top_bus, int current_bus);
49
50extern unsigned long PCIBIOS_MIN_IO, PCIBIOS_MIN_MEM;
51

--- 96 unchanged lines hidden ---
56extern void pcibios_enable_timers(struct pci_channel *hose);
57extern unsigned int pcibios_handle_status_errors(unsigned long addr,
58 unsigned int status, struct pci_channel *hose);
59extern int pci_is_66mhz_capable(struct pci_channel *hose,
60 int top_bus, int current_bus);
61
62extern unsigned long PCIBIOS_MIN_IO, PCIBIOS_MIN_MEM;
63

--- 96 unchanged lines hidden ---