2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License (GPL) Version 2 as
10 * published by the Free Software Foundation
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
18 #ifndef __BFA_FWIMG_PRIV_H__
19 #define __BFA_FWIMG_PRIV_H__
21 #define BFI_FLASH_CHUNK_SZ 256 /* Flash chunk size */
22 #define BFI_FLASH_CHUNK_SZ_WORDS (BFI_FLASH_CHUNK_SZ/sizeof(u32))
34 extern u32 *bfi_image_get_chunk(int type, uint32_t off);
35 extern u32 bfi_image_get_size(int type);
36 extern u32 bfi_image_ct_fc_size;
37 extern u32 bfi_image_ct_cna_size;
38 extern u32 bfi_image_cb_fc_size;
39 extern u32 *bfi_image_ct_fc;
40 extern u32 *bfi_image_ct_cna;
41 extern u32 *bfi_image_cb_fc;
44 #endif /* __BFA_FWIMG_PRIV_H__ */