vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / vmod / driver / vmoddor.h
blobccb83182a27c8f6932d6e2daa3388fb5fd4b6b95
3 #ifndef __VMODDOR_H__
4 #define __VMODDOR_H__
7 #define VMODDOR_MAX_DEVICES 16
8 #define VMODDOR_SIZE_CARRIER_NAME 20
10 struct vmoddor_arg{
11 int data;
12 unsigned short size;
13 unsigned short offset;
16 struct vmoddor_dev
18 int created; /* flag initialize */
19 int dev;
20 int lun;
21 int carrier;
22 unsigned char *cname; /* carrier name */
23 int slot;
24 int is_big_endian;
25 int io_flag;
26 unsigned long handle;
29 /*
30 * IOctl Operations
32 #define VMODDOR_WRITE _IOW('d', 0, struct vmoddor_arg)
34 #endif /* __VMODDOR_H__ */