24 static u32 *bfi_image_ct_cna, *bfi_image_ct2_cna;
25 static u32 bfi_image_ct_cna_size, bfi_image_ct2_cna_size;
28 cna_read_firmware(
struct pci_dev *pdev,
u32 **bfi_image,
34 pr_alert(
"Can't locate firmware %s\n", fw_name);
39 *bfi_image_size = fw->
size/
sizeof(
u32);
51 if (bfi_image_ct2_cna_size == 0)
52 cna_read_firmware(pdev, &bfi_image_ct2_cna,
54 return bfi_image_ct2_cna;
56 if (bfi_image_ct_cna_size == 0)
57 cna_read_firmware(pdev, &bfi_image_ct_cna,
59 return bfi_image_ct_cna;
70 return (bfi_image_ct_cna + off);
73 return (bfi_image_ct2_cna + off);
85 return bfi_image_ct_cna_size;
88 return bfi_image_ct2_cna_size;