diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-26 02:47:42 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-26 02:47:42 -0400 |
commit | f9bd170a87948a9e077149b70fb192c563770fdf (patch) | |
tree | c759b57b67ab41a859e19f7dcee571504b368202 /arch/ppc/syslib/Makefile | |
parent | 25635c71e44111a6bd48f342e144e2fc02d0a314 (diff) |
powerpc: Merge i8259.c into arch/powerpc/sysdev
This changes the parameters for i8259_init so that it takes two
parameters: a physical address for generating an interrupt
acknowledge cycle, and an interrupt number offset. i8259_init
now sets the irq_desc[] for its interrupts; all the callers
were doing this, and that code is gone now. This also defines
a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and
makes the platforms that need it select that symbol.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib/Makefile')
-rw-r--r-- | arch/ppc/syslib/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/arch/ppc/syslib/Makefile b/arch/ppc/syslib/Makefile index 5739a19b9ed9..e6e6aa4d291e 100644 --- a/arch/ppc/syslib/Makefile +++ b/arch/ppc/syslib/Makefile | |||
@@ -36,14 +36,12 @@ endif | |||
36 | endif | 36 | endif |
37 | obj-$(CONFIG_8xx) += m8xx_setup.o ppc8xx_pic.o $(wdt-mpc8xx-y) \ | 37 | obj-$(CONFIG_8xx) += m8xx_setup.o ppc8xx_pic.o $(wdt-mpc8xx-y) \ |
38 | ppc_sys.o mpc8xx_devices.o mpc8xx_sys.o | 38 | ppc_sys.o mpc8xx_devices.o mpc8xx_sys.o |
39 | ifeq ($(CONFIG_8xx),y) | 39 | obj-$(CONFIG_PCI_QSPAN) += qspan_pci.o |
40 | obj-$(CONFIG_PCI) += qspan_pci.o i8259.o | ||
41 | endif | ||
42 | obj-$(CONFIG_PPC_OF) += prom_init.o prom.o | 40 | obj-$(CONFIG_PPC_OF) += prom_init.o prom.o |
43 | obj-$(CONFIG_PPC_PMAC) += open_pic.o | 41 | obj-$(CONFIG_PPC_PMAC) += open_pic.o |
44 | obj-$(CONFIG_POWER4) += open_pic2.o | 42 | obj-$(CONFIG_POWER4) += open_pic2.o |
45 | obj-$(CONFIG_PPC_CHRP) += open_pic.o i8259.o | 43 | obj-$(CONFIG_PPC_CHRP) += open_pic.o |
46 | obj-$(CONFIG_PPC_PREP) += open_pic.o i8259.o todc_time.o | 44 | obj-$(CONFIG_PPC_PREP) += open_pic.o todc_time.o |
47 | obj-$(CONFIG_BAMBOO) += pci_auto.o todc_time.o | 45 | obj-$(CONFIG_BAMBOO) += pci_auto.o todc_time.o |
48 | obj-$(CONFIG_CPCI690) += todc_time.o pci_auto.o | 46 | obj-$(CONFIG_CPCI690) += todc_time.o pci_auto.o |
49 | obj-$(CONFIG_EBONY) += pci_auto.o todc_time.o | 47 | obj-$(CONFIG_EBONY) += pci_auto.o todc_time.o |
@@ -51,7 +49,7 @@ obj-$(CONFIG_EV64260) += todc_time.o pci_auto.o | |||
51 | obj-$(CONFIG_CHESTNUT) += mv64360_pic.o pci_auto.o | 49 | obj-$(CONFIG_CHESTNUT) += mv64360_pic.o pci_auto.o |
52 | obj-$(CONFIG_GEMINI) += open_pic.o | 50 | obj-$(CONFIG_GEMINI) += open_pic.o |
53 | obj-$(CONFIG_GT64260) += gt64260_pic.o | 51 | obj-$(CONFIG_GT64260) += gt64260_pic.o |
54 | obj-$(CONFIG_LOPEC) += i8259.o pci_auto.o todc_time.o | 52 | obj-$(CONFIG_LOPEC) += pci_auto.o todc_time.o |
55 | obj-$(CONFIG_HDPU) += pci_auto.o | 53 | obj-$(CONFIG_HDPU) += pci_auto.o |
56 | obj-$(CONFIG_LUAN) += pci_auto.o todc_time.o | 54 | obj-$(CONFIG_LUAN) += pci_auto.o todc_time.o |
57 | obj-$(CONFIG_KATANA) += pci_auto.o | 55 | obj-$(CONFIG_KATANA) += pci_auto.o |
@@ -59,18 +57,17 @@ obj-$(CONFIG_MV64360) += mv64360_pic.o | |||
59 | obj-$(CONFIG_MV64X60) += mv64x60.o mv64x60_win.o | 57 | obj-$(CONFIG_MV64X60) += mv64x60.o mv64x60_win.o |
60 | obj-$(CONFIG_MVME5100) += open_pic.o todc_time.o \ | 58 | obj-$(CONFIG_MVME5100) += open_pic.o todc_time.o \ |
61 | pci_auto.o hawk_common.o | 59 | pci_auto.o hawk_common.o |
62 | obj-$(CONFIG_MVME5100_IPMC761_PRESENT) += i8259.o | ||
63 | obj-$(CONFIG_OCOTEA) += pci_auto.o todc_time.o | 60 | obj-$(CONFIG_OCOTEA) += pci_auto.o todc_time.o |
64 | obj-$(CONFIG_PAL4) += cpc700_pic.o | 61 | obj-$(CONFIG_PAL4) += cpc700_pic.o |
65 | obj-$(CONFIG_POWERPMC250) += pci_auto.o | 62 | obj-$(CONFIG_POWERPMC250) += pci_auto.o |
66 | obj-$(CONFIG_PPLUS) += hawk_common.o open_pic.o i8259.o \ | 63 | obj-$(CONFIG_PPLUS) += hawk_common.o open_pic.o \ |
67 | todc_time.o pci_auto.o | 64 | todc_time.o pci_auto.o |
68 | obj-$(CONFIG_PRPMC750) += open_pic.o pci_auto.o \ | 65 | obj-$(CONFIG_PRPMC750) += open_pic.o pci_auto.o \ |
69 | hawk_common.o | 66 | hawk_common.o |
70 | obj-$(CONFIG_HARRIER) += harrier.o | 67 | obj-$(CONFIG_HARRIER) += harrier.o |
71 | obj-$(CONFIG_PRPMC800) += open_pic.o pci_auto.o | 68 | obj-$(CONFIG_PRPMC800) += open_pic.o pci_auto.o |
72 | obj-$(CONFIG_RADSTONE_PPC7D) += i8259.o pci_auto.o | 69 | obj-$(CONFIG_RADSTONE_PPC7D) += pci_auto.o |
73 | obj-$(CONFIG_SANDPOINT) += i8259.o pci_auto.o todc_time.o | 70 | obj-$(CONFIG_SANDPOINT) += pci_auto.o todc_time.o |
74 | obj-$(CONFIG_SBC82xx) += todc_time.o | 71 | obj-$(CONFIG_SBC82xx) += todc_time.o |
75 | obj-$(CONFIG_SPRUCE) += cpc700_pic.o pci_auto.o \ | 72 | obj-$(CONFIG_SPRUCE) += cpc700_pic.o pci_auto.o \ |
76 | todc_time.o | 73 | todc_time.o |
@@ -92,7 +89,7 @@ obj-$(CONFIG_MPC10X_OPENPIC) += open_pic.o | |||
92 | obj-$(CONFIG_40x) += dcr.o | 89 | obj-$(CONFIG_40x) += dcr.o |
93 | obj-$(CONFIG_BOOKE) += dcr.o | 90 | obj-$(CONFIG_BOOKE) += dcr.o |
94 | obj-$(CONFIG_85xx) += open_pic.o ppc85xx_common.o ppc85xx_setup.o \ | 91 | obj-$(CONFIG_85xx) += open_pic.o ppc85xx_common.o ppc85xx_setup.o \ |
95 | ppc_sys.o i8259.o mpc85xx_sys.o \ | 92 | ppc_sys.o mpc85xx_sys.o \ |
96 | mpc85xx_devices.o | 93 | mpc85xx_devices.o |
97 | ifeq ($(CONFIG_85xx),y) | 94 | ifeq ($(CONFIG_85xx),y) |
98 | obj-$(CONFIG_PCI) += pci_auto.o | 95 | obj-$(CONFIG_PCI) += pci_auto.o |