Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Unified Diff: chromeos/compat-wireless/drivers/bluetooth/fwload.h

Issue 5326002: Update compat-wireless to 2.6.36-5-spn (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Fixes for !ACK handling, missing local changes, log message fixes Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/compat-wireless/drivers/bluetooth/fwload.h
diff --git a/chromeos/compat-wireless/drivers/bluetooth/fwload.h b/chromeos/compat-wireless/drivers/bluetooth/fwload.h
new file mode 100644
index 0000000000000000000000000000000000000000..5c1136a18b0311f8ee2352500f872ef851aa5e87
--- /dev/null
+++ b/chromeos/compat-wireless/drivers/bluetooth/fwload.h
@@ -0,0 +1,39 @@
+/*
+ *
+ * Generic Bluetooth USB DFU driver to download firmware to target RAM
+ *
+ * Copyright (c) 2009-2010 Atheros Communications Inc.
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+#ifndef _FWLOAD_H_
+#define _FWLOAD_H_
+
+/* callbacks to load firmware to BT device RAM
+ * when it is inserted */
+struct fw_cb_config {
+ const char *fwfile;
+ void * (*fwload)(struct usb_interface *intf, const char *fwfile,
+ bool *bsuspend);
+ void (*fwunload)(void *, bool);
+ const struct usb_device_id *usb_id_table;
+ void *data;
+ bool bsuspend;
+};
+void *ath_fw_load(struct usb_interface *intf, const char *, bool *);
+void ath_fw_unload(void *pdata, bool bsuspend);
+
+#endif /* _FWLOAD_H_ */

Powered by Google App Engine
This is Rietveld 408576698