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