diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-10-09 00:00:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-10-09 00:00:47 +0000 |
commit | d6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch) | |
tree | e2be02f33984c48ec019c654051d27964e42c441 /arch/ppc/kernel/pci.h | |
parent | 609d1e803baf519487233b765eb487f9ec227a18 (diff) |
Merge with 2.3.19.
Diffstat (limited to 'arch/ppc/kernel/pci.h')
-rw-r--r-- | arch/ppc/kernel/pci.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/ppc/kernel/pci.h b/arch/ppc/kernel/pci.h index 231f1d952..d79eb0f4a 100644 --- a/arch/ppc/kernel/pci.h +++ b/arch/ppc/kernel/pci.h @@ -11,6 +11,18 @@ extern unsigned char *pci_config_data; void fix_intr(struct device_node *node, struct pci_dev *dev); +#if 0 +#define decl_config_access_method(name) \ +struct pci_ops name##_pci_ops = { \ + name##_pcibios_read_config_byte, \ + name##_pcibios_read_config_word, \ + name##_pcibios_read_config_dword, \ + name##_pcibios_write_config_byte, \ + name##_pcibios_write_config_word, \ + name##_pcibios_write_config_dword \ +} +#endif + #define decl_config_access_method(name) \ extern int name##_pcibios_read_config_byte(unsigned char bus, \ unsigned char dev_fn, unsigned char offset, unsigned char *val); \ |