1 /* 2 * --------------------------------------------------------------------------- 3 * 4 * FILE: unifi_config.h 5 * 6 * PURPOSE: 7 * This header file provides parameters that configure the operation 8 * of the driver. 9 * 10 * Copyright (C) 2006-2008 by Cambridge Silicon Radio Ltd. 11 * 12 * Refer to LICENSE.txt included with this source code for details on 13 * the license terms. 14 * 15 * --------------------------------------------------------------------------- 16 */ 17 #ifndef __UNIFI_CONFIG_H__ 18 #define __UNIFI_CONFIG_H__ 1 19 20 /* 21 * Override for the SDIO function block size on this host. When byte mode CMD53s 22 * are not used/supported by the SD host controller, transfers are padded up to 23 * the next block boundary. The 512-byte default on UF6xxx wastes too much space 24 * on the chip, so the block size is reduced to support this configuration. 25 */ 26 #define CSR_WIFI_HIP_SDIO_BLOCK_SIZE 64 27 28 /* Define the number of mini-coredump buffers to allocate at startup. These are 29 * used to record chip status for the last n unexpected resets. 30 */ 31 #define CSR_WIFI_HIP_NUM_COREDUMP_BUFFERS 5 32 33 34 #endif /* __UNIFI_CONFIG_H__ */ 35