bcmdefs.h

来自「wi-fi sources for asus wl138g v2 pci car」· C头文件 代码 · 共 62 行

H
62
字号
/* * Misc system wide definitions * * Copyright 2005-2006, Broadcom Corporation * All Rights Reserved. *  * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE. * $Id$ */#ifndef	_bcmdefs_h_#define	_bcmdefs_h_/* Reclaiming text and data : * The following macros specify special linker sections that can be reclaimed * after a system is considered 'up'. */#define BCMINITDATA(_data)	_data#define BCMINITFN(_fn)		_fn#define bcmreclaimed		0/* Reclaim uninit functions if BCMNODOWN is defined		*//* and if they are not already removed by -gc-sections	*/#define BCMUNINITFN(_fn)		_fn/* Compatibility with old-style BCMRECLAIM */#define BCMINIT(_id)		_id/* Bus types */#define	SB_BUS			0	/* Silicon Backplane */#define	PCI_BUS			1	/* PCI target */#define	PCMCIA_BUS		2	/* PCMCIA target *//* Allows optimization for single-bus support */#ifdef BCMBUSTYPE#define BUSTYPE(bus) (BCMBUSTYPE)#else#define BUSTYPE(bus) (bus)#endif/* Defines for DMA Address Width - Shared between OSL and HNDDMA */#define DMADDR_MASK_32 0x0		/* Address mask for 32-bits */#define DMADDR_MASK_30 0xc0000000	/* Address mask for 30-bits */#define DMADDR_MASK_0  0xffffffff	/* Address mask for 0-bits (hi-part) */#define	DMADDRWIDTH_30  30 /* 30-bit addressing capability */#define	DMADDRWIDTH_32  32 /* 32-bit addressing capability */#define	DMADDRWIDTH_63  63 /* 64-bit addressing capability */#define	DMADDRWIDTH_64  64 /* 64-bit addressing capability *//* packet headroom necessary to accomodate the largest header in the system, (i.e TXOFF). * By doing, we avoid the need  to allocate an extra buffer for the header when bridging to WL. * There is a compile time check in wlc.c which ensure that this value is at least as big * as TXOFF. This value is used in dma_rxfill (hnddma.c). */#define BCMEXTRAHDROOM 160#endif /* _bcmdefs_h_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?