Staging: vt6655: add TODO
[linux-2.6/linux-2.6-openrd.git] / drivers / staging / meilhaus / medummy.h
blob717000ff6c1ccc54e809fa79424499bb7ceae046
1 /*
2 * Copyright (C) 2005 Meilhaus Electronic GmbH (support@meilhaus.de)
4 * Source File : medummy.h
5 * Author : GG (Guenter Gebhardt) <g.gebhardt@meilhaus.de>
6 */
8 #ifndef _MEDUMMY_H_
9 #define _MEDUMMY_H_
11 #include "metypes.h"
12 #include "medefines.h"
13 #include "medevice.h"
15 #ifdef __KERNEL__
17 #define MEDUMMY_MAGIC_NUMBER 0xDDDD
19 typedef struct medummy_device {
20 me_device_t base; /**< The Meilhaus device base class. */
21 // int magic; /**< The magic number of the structure */
22 unsigned short vendor_id; /**< Vendor ID */
23 unsigned short device_id; /**< Device ID */
24 unsigned int serial_no; /**< Serial number of the device */
25 int bus_type; /**< Bus type */
26 int bus_no; /**< Bus number */
27 int dev_no; /**< Device number */
28 int func_no; /**< Function number */
29 } medummy_device_t;
31 me_device_t *medummy_constructor(unsigned short vendor_id,
32 unsigned short device_id,
33 unsigned int serial_no,
34 int bus_type,
35 int bus_no,
36 int dev_no,
37 int func_no) __attribute__ ((weak));
39 #endif
40 #endif