blob: 784368e427c238408e1e37d758ca5e725fd36c13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* Linux device driver tunables for
* Broadcom BCM47XX 10/100Mbps Ethernet Device Driver
*
* Copyright 2007, Broadcom Corporation
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* written permission of Broadcom Corporation.
* $Id: et_linux.h,v 1.1.1.1 2008/07/21 09:14:16 james26_jang Exp $
*/
#ifndef _et_linux_h_
#define _et_linux_h_
/* tunables */
#define NTXD 64 /* # tx dma ring descriptors (must be ^2) */
#define NRXD 512 /* # rx dma ring descriptors (must be ^2) */
#define NRXBUFPOST 48 /* try to keep this # rbufs posted to the chip */
#define BUFSZ 2048 /* packet data buffer size */
#define RXBUFSZ (BUFSZ - 256) /* receive buffer size */
#ifndef RXBND
#define RXBND 8 /* max # rx frames to process in dpc */
#endif
#if defined(ILSIM) || defined(__arch_um__)
#undef NTXD
#define NTXD 16
#undef NRXD
#define NRXD 16
#undef NRXBUFPOST
#define NRXBUFPOST 2
#endif
#endif /* _et_linux_h_ */
|