blob: 13013732bc580e44719f7cfb9e266c1ff28c1ce8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* -*- linux-c -*- */
/*
* USB Device Firmware Upgrade (DFU) handler
*
* Copyright (c) 2003 Oliver Kurth <oku@masqmail.cx>
* Copyright (c) 2003 Joerg Albert <joerg.albert@gmx.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
*
*/
/* Different to the previous version of usbdfu.c this module does not
register itself with the USB subsystem but provides a generic
procedure for DFU download only. We avoid giving up the device etc.
which was flaky with 2.4.x already (and 2.6.x does not provide
usb_scan_devices etc. !).
*/
#ifndef _USBDFU_H
#define _USBDFU_H
#include <linux/usb.h>
int usbdfu_download(struct usb_device *udev, u8 *fw_buf, u32 fw_len);
#endif /* _USBDFU_H */
|