~ubuntu-branches/ubuntu/natty/bcmwl/natty

« back to all changes in this revision

Viewing changes to src/src/include/bcmdefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2010-02-14 19:58:58 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100214195858-76xedzc2a1gz1ujz
Tags: upstream-5.60.48.36+bdcom
ImportĀ upstreamĀ versionĀ 5.60.48.36+bdcom

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Misc system wide definitions
3
3
 *
4
 
 * Copyright 2008, Broadcom Corporation
 
4
 * Copyright (C) 2010, Broadcom Corporation
5
5
 * All Rights Reserved.
6
6
 * 
7
 
 *      Unless you and Broadcom execute a separate written software license
8
 
 * agreement governing use of this software, this software is licensed to you
9
 
 * under the terms of the GNU General Public License version 2, available at
10
 
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL"), with the
11
 
 * following added to such license:
12
 
 *      As a special exception, the copyright holders of this software give you
13
 
 * permission to link this software with independent modules, regardless of the
14
 
 * license terms of these independent modules, and to copy and distribute the
15
 
 * resulting executable under terms of your choice, provided that you also meet,
16
 
 * for each linked independent module, the terms and conditions of the license
17
 
 * of that module. An independent module is a module which is not derived from
18
 
 * this software.
19
 
 *
20
7
 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
21
8
 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
22
9
 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
23
10
 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
24
11
 *
25
 
 * $Id: bcmdefs.h,v 13.43.2.11 2009/02/11 01:59:34 Exp $
 
12
 * $Id: bcmdefs.h,v 13.61 2009/04/01 18:59:11 Exp $
26
13
 */
27
14
 
28
15
#ifndef _bcmdefs_h_
40
27
#define BCMFASTPATH
41
28
 
42
29
#define BCMROMDATA(_data)       _data
 
30
#define BCMROMDAT_NAME(_data)   _data
43
31
#define BCMROMFN(_fn)           _fn
 
32
#define BCMROMFN_NAME(_fn)      _fn
 
33
#define STATIC  static
 
34
#define BCMROMDAT_ARYSIZ(data)  ARRAYSIZE(data)
 
35
#define BCMROMDAT_SIZEOF(data)  sizeof(data)
 
36
#define BCMROMDAT_APATCH(data)
 
37
#define BCMROMDAT_SPATCH(data)
44
38
 
45
39
#define SI_BUS                  0       
46
40
#define PCI_BUS                 1       
120
114
} hnddma_seg_map_t;
121
115
 
122
116
#if defined(BCM_RPC_NOCOPY) || defined(BCM_RCP_TXNOCOPY)
 
117
 
123
118
#define BCMEXTRAHDROOM 220
124
119
#else
125
120
#define BCMEXTRAHDROOM 172
126
121
#endif
127
122
 
128
123
#define BCMDONGLEHDRSZ 12
 
124
#define BCMDONGLEPADSZ 16
 
125
 
 
126
#define BCMDONGLEOVERHEAD       (BCMDONGLEHDRSZ + BCMDONGLEPADSZ)
129
127
 
130
128
#ifdef BCMDBG
131
129