sh_eth: R8A7740 supports packet shecksumming
[linux/fpc-iii.git] / drivers / media / common / cypress_firmware.h
blob1e4f2735620529a5bc3531947c15e003679b95df
1 /*
2 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
3 * see dvb-usb-init.c for copyright information.
5 * This file contains functions for downloading the firmware to Cypress FX 1
6 * and 2 based devices.
8 */
10 #ifndef CYPRESS_FIRMWARE_H
11 #define CYPRESS_FIRMWARE_H
13 #define CYPRESS_AN2135 0
14 #define CYPRESS_AN2235 1
15 #define CYPRESS_FX2 2
17 /* commonly used firmware download types and function */
18 struct hexline {
19 u8 len;
20 u32 addr;
21 u8 type;
22 u8 data[255];
23 u8 chk;
26 int cypress_load_firmware(struct usb_device *, const struct firmware *, int);
28 #endif