File: usbdevfs.h

package info (click to toggle)
rioutil 1.4.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,980 kB
  • ctags: 777
  • sloc: sh: 11,429; ansic: 5,834; makefile: 112
file content (50 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
  (c) 2001 Nathan Hjelm <hjelmn@unm.edu>

  Based off of usbdevs support in rio500-0.7 <rio500.sourceforge.net>
*/

#ifndef __USBDEVFS_H
#define __USBDEVFS_H

#if defined (HAVE_CONFIG_H)
#include "config.h"
#endif

#if defined(WITH_USBDEVFS)

#if defined(HAVE_LINUX_USBDEVICE_FS_H)

#if defined(__cplusplus)
extern "C" {
#endif

#include <linux/types.h>
#include <linux/usbdevice_fs.h>

#if defined(__cplusplus)
}
#endif

#endif /* defined(HAVE_LINUX_USBDEVICE_FS_H) */

#include <linux/usb.h>

#define USBRIO_BULK_OUT 0x1
#define USBRIO_BULK_IN  0x2

#define USBRIO600_BULK_OUT 0x2

#if defined(__cplusplus)
extern "C" {
#endif

#include "usbdrv.h"

#if defined(__cplusplus)
}
#endif

#endif /* defined(WITH_USBDEVFS) */

#endif /* __USBDEVFS_H */