source: SVN/cambria/redboot/packages/devs/eth/intel/npe/qmgr/current/src/IxQMgrSymbols.c @ 1

Last change on this file since 1 was 1, checked in by Tim Harvey, 2 years ago

restored latest version of files from server backup

Signed-off-by: Tim Harvey <tharvey@…>

File size: 4.7 KB
Line 
1/**
2 * @file IxQMgrSymbols.c
3 *
4 * @author Intel Corporation
5 * @date 26-Jan-2006
6 *
7 * @brief This file declares exported symbols for linux kernel module builds.
8 *
9 *
10 * @par
11 * IXP400 SW Release version 2.3
12 *
13 * -- Copyright Notice --
14 *
15 * @par
16 * Copyright (c) 2001-2005, Intel Corporation.
17 * All rights reserved.
18 *
19 * @par
20 * Redistribution and use in source and binary forms, with or without
21 * modification, are permitted provided that the following conditions
22 * are met:
23 * 1. Redistributions of source code must retain the above copyright
24 *    notice, this list of conditions and the following disclaimer.
25 * 2. Redistributions in binary form must reproduce the above copyright
26 *    notice, this list of conditions and the following disclaimer in the
27 *    documentation and/or other materials provided with the distribution.
28 * 3. Neither the name of the Intel Corporation nor the names of its contributors
29 *    may be used to endorse or promote products derived from this software
30 *    without specific prior written permission.
31 *
32 *
33 * @par
34 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
35 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
36 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
37 * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
38 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
39 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
40 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
41 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
42 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
43 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
44 * SUCH DAMAGE.
45 *
46 *
47 * @par
48 * -- End of Copyright Notice --
49 */
50
51#ifdef __linux
52
53#include <linux/module.h>
54#include "IxQMgr_sp.h"
55#include "IxQMgrQAccess_p.h"
56#include "IxQMgrQCfg_p.h"
57#if defined(__ixp42X) || defined(__ixp46X) || defined(__ixp43X)
58#include "IxQMgrHwQIfIxp400_p.h"
59#endif /* __ixp42X */
60                           
61EXPORT_SYMBOL(ixQMgrInit);
62EXPORT_SYMBOL(ixQMgrUnload);
63EXPORT_SYMBOL(ixQMgrShow);
64EXPORT_SYMBOL(ixQMgrQShow);
65EXPORT_SYMBOL(ixQMgrQConfig);
66EXPORT_SYMBOL(ixQMgrQSizeInEntriesGet);
67EXPORT_SYMBOL(ixQMgrWatermarkSet);
68EXPORT_SYMBOL(ixQMgrAvailableSramAddressGet);
69EXPORT_SYMBOL(ixQMgrAvailableSramAddressInBlockGet);
70EXPORT_SYMBOL(ixQMgrQRead);
71EXPORT_SYMBOL(ixQMgrQPeek);
72EXPORT_SYMBOL(ixQMgrQWrite);
73EXPORT_SYMBOL(ixQMgrQReadWithChecks);
74EXPORT_SYMBOL(ixQMgrQWriteWithChecks);
75EXPORT_SYMBOL(ixQMgrQPoke);
76EXPORT_SYMBOL(ixQMgrQNumEntriesGet);
77EXPORT_SYMBOL(ixQMgrQStatusGet);
78EXPORT_SYMBOL(ixQMgrQStatusGetWithChecks);
79EXPORT_SYMBOL(ixQMgrDispatcherPrioritySet);
80EXPORT_SYMBOL(ixQMgrNotificationEnable);
81EXPORT_SYMBOL(ixQMgrNotificationDisable);
82EXPORT_SYMBOL(ixQMgrDispatcherLoopGet);
83EXPORT_SYMBOL(ixQMgrNotificationCallbackSet);
84EXPORT_SYMBOL(ixQMgrHwQIfBaseAddressSet);
85EXPORT_SYMBOL(ixQMgrQReadMWordsMinus1);
86EXPORT_SYMBOL(ixQMgrHwQIfQInterruptRegRead);
87EXPORT_SYMBOL(ixQMgrHwQIfQInterruptRegWrite);
88
89#if defined(__ixp42X) || defined(__ixp46X) || defined(__ixp43X)
90EXPORT_SYMBOL(ixQMgrDispatcherLoopRunB0);
91EXPORT_SYMBOL(ixQMgrDispatcherLoopRunB0LLP);
92EXPORT_SYMBOL(ixQMgrStickyInterruptRegEnable);
93EXPORT_SYMBOL(ixQMgrCallbackTypeSet);
94EXPORT_SYMBOL(ixQMgrCallbackTypeGet);
95EXPORT_SYMBOL(ixQMgrPeriodicDone);
96EXPORT_SYMBOL(ixQMgrLLPShow);
97#endif /* __ixp42X */
98
99extern volatile UINT32 * ixQMgrHwQIfQueAccRegAddr[];
100EXPORT_SYMBOL(ixQMgrHwQIfQueAccRegAddr);
101
102#if defined(__ixp42X) || defined(__ixp46X) || defined(__ixp43X)
103extern UINT32 ixQMgrHwQIfQueLowStatRegAddr[];
104extern UINT32 ixQMgrHwQIfQueLowStatBitsOffset[];
105extern UINT32 ixQMgrHwQIfQueLowStatBitsMask;
106extern UINT32 ixQMgrHwQIfQueUppStat0RegAddr;
107extern UINT32 ixQMgrHwQIfQueUppStat1RegAddr;
108extern UINT32 ixQMgrHwQIfQueUppStat0BitMask[];
109extern UINT32 ixQMgrHwQIfQueUppStat1BitMask[];
110EXPORT_SYMBOL(ixQMgrHwQIfQueLowStatRegAddr);
111EXPORT_SYMBOL(ixQMgrHwQIfQueLowStatBitsOffset);
112EXPORT_SYMBOL(ixQMgrHwQIfQueLowStatBitsMask);
113EXPORT_SYMBOL(ixQMgrHwQIfQueUppStat0RegAddr);
114EXPORT_SYMBOL(ixQMgrHwQIfQueUppStat1RegAddr);
115EXPORT_SYMBOL(ixQMgrHwQIfQueUppStat0BitMask);
116EXPORT_SYMBOL(ixQMgrHwQIfQueUppStat1BitMask);
117#endif /* __ixp42X */
118
119extern UINT32 hwQBaseAddress;
120EXPORT_SYMBOL(hwQBaseAddress);
121
122extern BOOL qMgrIsInitialized;
123EXPORT_SYMBOL(qMgrIsInitialized);
124
125extern IxQMgrQInlinedReadWriteInfo ixQMgrQInlinedReadWriteInfo[];
126EXPORT_SYMBOL(ixQMgrQInlinedReadWriteInfo);
127EXPORT_SYMBOL(ixQMgrDispatcherLoopEnable);
128EXPORT_SYMBOL(ixQMgrDispatcherLoopDisable);
129EXPORT_SYMBOL(ixQMgrDispatcherLoopStatusGet);
130EXPORT_SYMBOL(ixQMgrDispatcherInterruptModeSet);
131
132#endif /* __linux */
Note: See TracBrowser for help on using the repository browser.