aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/sn/pcidev.h
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@sgi.com>2005-07-06 18:26:51 -0400
committerTony Luck <tony.luck@intel.com>2005-07-06 18:26:51 -0400
commitc13cf3714fc84ad2fd65771aa08e47c95a9f26ef (patch)
treef3fdd5f81fc0e39029f7cc6c8e4f41d6a736a4de /include/asm-ia64/sn/pcidev.h
parentcb4cb2cb9b0b14bdf2fc7125e099ed7e818cea42 (diff)
[IA64] hotplug/ia64: SN Hotplug Driver: moving of header files
This patch moves header files out of the arch/ia64/sn directories and into include/asm-ia64/sn. These files were being included by other subsystems and should be under include/asm-ia64/sn. Signed-off-by: Prarit Bhargava <prarit@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/sn/pcidev.h')
-rw-r--r--include/asm-ia64/sn/pcidev.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/pcidev.h b/include/asm-ia64/sn/pcidev.h
index 42aea21ee187..9610fcc63545 100644
--- a/include/asm-ia64/sn/pcidev.h
+++ b/include/asm-ia64/sn/pcidev.h
@@ -13,6 +13,8 @@
13#define SN_PCIDEV_INFO(pci_dev) \ 13#define SN_PCIDEV_INFO(pci_dev) \
14 ((struct pcidev_info *)(pci_dev)->sysdata) 14 ((struct pcidev_info *)(pci_dev)->sysdata)
15 15
16#define SN_PCIBUS_BUSSOFT_INFO(pci_bus) \
17 (struct pcibus_info *)((struct pcibus_bussoft *)(PCI_CONTROLLER((pci_bus))->platform_data))
16/* 18/*
17 * Given a pci_bus, return the sn pcibus_bussoft struct. Note that 19 * Given a pci_bus, return the sn pcibus_bussoft struct. Note that
18 * this only works for root busses, not for busses represented by PPB's. 20 * this only works for root busses, not for busses represented by PPB's.
@@ -53,6 +55,8 @@ struct pcidev_info {
53 55
54extern void sn_irq_fixup(struct pci_dev *pci_dev, 56extern void sn_irq_fixup(struct pci_dev *pci_dev,
55 struct sn_irq_info *sn_irq_info); 57 struct sn_irq_info *sn_irq_info);
56 58extern void sn_irq_unfixup(struct pci_dev *pci_dev);
59extern void sn_pci_fixup_slot(struct pci_dev *dev);
60extern void sn_pci_unfixup_slot(struct pci_dev *dev);
57extern void sn_irq_lh_init(void); 61extern void sn_irq_lh_init(void);
58#endif /* _ASM_IA64_SN_PCI_PCIDEV_H */ 62#endif /* _ASM_IA64_SN_PCI_PCIDEV_H */