source: svn/trunk/newcon3bcm2_21bu/magnum/portinginterface/dma/bdma.inc

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 4.9 KB
Line 
1############################################################
2#     Copyright (c) 2003-2011, Broadcom Corporation
3#     All Rights Reserved
4#     Confidential Property of Broadcom Corporation
5#
6#  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7#  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8#  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9#
10# $brcm_Workfile: bdma.inc $
11# $brcm_Revision: Hydra_Software_Devel/27 $
12# $brcm_Date: 12/8/11 1:53p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 01/09/2007 by Jon Garrett
19#
20# $brcm_Log: /magnum/portinginterface/dma/bdma.inc $
21#
22# Hydra_Software_Devel/27   12/8/11 1:53p mward
23# SW7125-1165: Replace findstring with filter to do exact word match.
24#
25# Hydra_Software_Devel/26   4/4/11 11:45p vanessah
26# SWDTV-6186: 35233 DMA support
27#
28# Hydra_Software_Devel/25   2/2/11 9:50a vanessah
29# SW7550-670: add Sharf mem DMA support for 7550 B0
30#
31# Hydra_Software_Devel/24   1/18/11 3:36p hongtaoz
32# SW35125-56: fixed compile error for chips other than 35125/230;
33#
34# Hydra_Software_Devel/23   1/18/11 5:53p cdisc
35# SW35230-2816: bdma_mem_priv.c was not being pulled in by bdma.inc for
36# 35230
37#
38# Hydra_Software_Devel/22   1/18/11 4:53p cdisc
39# SW35125-56: findstring didn't catch the 35125, replacing with ifeq
40#
41# Hydra_Software_Devel/21   12/22/10 3:03p vanessah
42# SWBLURAY-23683:
43# Add DMA PortingInterface support for Blast (7640) chip
44#
45# Hydra_Software_Devel/20   12/1/10 12:08p cdisc
46# SW35230-2451: adding Sharf support for 35230 C0
47#
48# Hydra_Software_Devel/19   11/17/10 4:13p vanessah
49# SW7231-18:  Add DMA support for 7231 7344 7346
50#
51# Hydra_Software_Devel/18   11/9/10 5:10p vanessah
52# SW35125-11:  DMA PI support for 35125
53#
54# Hydra_Software_Devel/17   11/4/10 1:41p vanessah
55# SW7552-14:  Add DMA PI support
56#
57# Hydra_Software_Devel/16   11/1/10 1:56p yuxiaz
58# SW7358-15: Added DMA PI support on 7358.
59#
60# Hydra_Software_Devel/15   8/31/10 2:31p tdo
61# SW7422-62: Add DMA PI
62#
63# Hydra_Software_Devel/14   2/2/10 3:07p syang
64# SW7408-68: add 7408 support
65#
66# Hydra_Software_Devel/13   12/1/09 11:53a rpan
67# SW7468-19: Added support for 7468.
68#
69# Hydra_Software_Devel/12   9/16/09 6:05p tdo
70# SW7630-13: Fix 7630 compiling error
71#
72# Hydra_Software_Devel/11   9/15/09 11:08p tdo
73# SW7630-13: Remove compiling error for 7630 DMA
74#
75# Hydra_Software_Devel/10   9/3/09 1:58p tdo
76# SW7630-13: Add support for 7630
77#
78# Hydra_Software_Devel/9   4/7/09 4:09p syang
79# PR 52973: add 7635 support
80#
81# Hydra_Software_Devel/8   8/19/08 3:19p syang
82# PR 43729:  add sharf files for 7601
83#
84# Hydra_Software_Devel/7   7/11/08 11:48a syang
85# PR 43729:  make bdma.h chip independent
86#
87# Hydra_Software_Devel/6   2/22/08 9:50a rpan
88# PR39458: Initial work for bcm3556.
89#
90# Hydra_Software_Devel/5   2/21/08 12:12p rpan
91# PR34854: Got codes to compile for bcm3548.
92#
93# Hydra_Software_Devel/4   11/8/07 11:12a tdo
94# PR36046: Basic DMA support for 7440 C0
95#
96# Hydra_Software_Devel/3   11/7/07 5:29p tdo
97# PR35401: Temporary remove sharf functionality for 7440C0 compilation.
98#
99# Hydra_Software_Devel/2   3/19/07 4:37p syang
100# PR 28171: add sharf files
101#
102# Hydra_Software_Devel/1   1/11/07 2:39p jgarrett
103# PR27004: Adding new .inc files
104#
105############################################################
106
107#
108# Conditional Options for this Makefile
109#
110# N/A
111#
112
113# Define this module
114MAGNUM_MODULES += BDMA
115
116# Module Include Path
117BDMA_INCLUDES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)
118
119# Module Sources
120BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma.c
121BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem.c
122BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_priv.c
123
124BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_pci.c
125ifeq ($(filter $(BCHP_CHIP), 3548 3556 7630 7640 7468 7408 7422 7425 7358 7552 7231 7344 7346 7550),)
126BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_pci_priv.c
127endif
128
129BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_priv.c
130BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_queue.c
131
132ifeq (${BCHP_CHIP}, 7440)
133ifneq (${BCHP_VER}, A0)
134BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf.c
135BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf_priv.c
136endif
137endif
138
139ifeq (${BCHP_CHIP}, 7550)
140ifeq (${BCHP_VER}, B0)
141BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf.c
142BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf_priv.c
143endif
144endif
145
146ifeq (${BCHP_CHIP}, 35230)
147ifeq (${BCHP_VER}, C0)
148BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf.c
149BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf_priv.c
150endif
151endif
152
153
154ifneq ($(filter ${BCHP_CHIP}, 7635 7640 7601 7630 35233),)
155BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf.c
156BDMA_SOURCES += $(MAGNUM)/portinginterface/dma/$(BCHP_CHIP)/bdma_mem_sharf_priv.c
157endif
158
159
160
Note: See TracBrowser for help on using the repository browser.