mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Patrick Boettcher](/assets/img/avatar_default.png)
Soon my dibcom.fr/parrot.com-address won't respond anymore. Thus I'm replacing it. And, while being at it, let's adapt some other (old) email-addresses as well. Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
28 lines
588 B
C
28 lines
588 B
C
/*
|
|
* Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
|
|
* see dvb-usb-init.c for copyright information.
|
|
*
|
|
* This file contains functions for downloading the firmware to Cypress FX 1
|
|
* and 2 based devices.
|
|
*
|
|
*/
|
|
|
|
#ifndef CYPRESS_FIRMWARE_H
|
|
#define CYPRESS_FIRMWARE_H
|
|
|
|
#define CYPRESS_AN2135 0
|
|
#define CYPRESS_AN2235 1
|
|
#define CYPRESS_FX2 2
|
|
|
|
/* commonly used firmware download types and function */
|
|
struct hexline {
|
|
u8 len;
|
|
u32 addr;
|
|
u8 type;
|
|
u8 data[255];
|
|
u8 chk;
|
|
};
|
|
|
|
int cypress_load_firmware(struct usb_device *, const struct firmware *, int);
|
|
|
|
#endif
|