diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 08:28:50 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-09 01:41:36 +0200 |
commit | e9870c4c0aef94580e28be11a1c6246dcabbe528 (patch) | |
tree | 4f06f3afeb9fb84e561e1f624b7ea0585fd0a94c /include/asm-sparc64/pbm.h | |
parent | [SPARC64]: Move pci_ops into pci_pbm_info. (diff) | |
download | linux-e9870c4c0aef94580e28be11a1c6246dcabbe528.tar.xz linux-e9870c4c0aef94580e28be11a1c6246dcabbe528.zip |
[SPARC64]: Move {setup,teardown}_msi_irq into pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | include/asm-sparc64/pbm.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/asm-sparc64/pbm.h b/include/asm-sparc64/pbm.h index 1f4de53dcd03..1d5dcfe133a2 100644 --- a/include/asm-sparc64/pbm.h +++ b/include/asm-sparc64/pbm.h @@ -103,6 +103,9 @@ struct pci_pbm_info { u32 msi64_len; void *msi_queues; unsigned long *msi_bitmap; + int (*setup_msi_irq)(unsigned int *virt_irq_p, struct pci_dev *pdev, + struct msi_desc *entry); + void (*teardown_msi_irq)(unsigned int virt_irq, struct pci_dev *pdev); #endif /* !(CONFIG_PCI_MSI) */ /* This PBM's streaming buffer. */ @@ -128,13 +131,6 @@ struct pci_controller_info { /* The PCI bus modules controlled by us. */ struct pci_pbm_info pbm_A; struct pci_pbm_info pbm_B; - - /* Operations which are controller specific. */ -#ifdef CONFIG_PCI_MSI - int (*setup_msi_irq)(unsigned int *virt_irq_p, struct pci_dev *pdev, - struct msi_desc *entry); - void (*teardown_msi_irq)(unsigned int virt_irq, struct pci_dev *pdev); -#endif }; #endif /* !(__SPARC64_PBM_H) */ |