1/* 2 * Line6 Linux USB driver - 0.8.0 3 * 4 * Copyright (C) 2004-2009 Markus Grabner (grabner@icg.tugraz.at) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation, version 2. 9 * 10 */ 11 12#ifndef TONEPORT_H 13#define TONEPORT_H 14 15 16#include "driver.h" 17 18#include <linux/usb.h> 19#include <sound/core.h> 20 21 22struct usb_line6_toneport { 23 /** 24 Generic Line6 USB data. 25 */ 26 struct usb_line6 line6; 27 28 /** 29 Serial number of device. 30 */ 31 int serial_number; 32 33 /** 34 Firmware version (x 100). 35 */ 36 int firmware_version; 37}; 38 39 40extern void toneport_disconnect(struct usb_interface *interface); 41extern int toneport_init(struct usb_interface *interface, 42 struct usb_line6_toneport *toneport); 43 44 45#endif 46