GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / vme / devices / vme_user.h
blob740d1a3d10f9333098901851f5a4268c3363975c
1 #ifndef _VME_USER_H_
2 #define _VME_USER_H_
4 #define USER_BUS_MAX 1
6 /*
7 * VMEbus Master Window Configuration Structure
8 */
9 struct vme_master {
10 int enable; /* State of Window */
11 unsigned long long vme_addr; /* Starting Address on the VMEbus */
12 unsigned long long size; /* Window Size */
13 vme_address_t aspace; /* Address Space */
14 vme_cycle_t cycle; /* Cycle properties */
15 vme_width_t dwidth; /* Maximum Data Width */
20 * IOCTL Commands and structures
23 /* Magic number for use in ioctls */
24 #define VME_IOC_MAGIC 0xAE
27 /* VMEbus Slave Window Configuration Structure */
28 struct vme_slave {
29 int enable; /* State of Window */
30 unsigned long long vme_addr; /* Starting Address on the VMEbus */
31 unsigned long long size; /* Window Size */
32 vme_address_t aspace; /* Address Space */
33 vme_cycle_t cycle; /* Cycle properties */
36 #define VME_GET_SLAVE _IOR(VME_IOC_MAGIC, 1, struct vme_slave)
37 #define VME_SET_SLAVE _IOW(VME_IOC_MAGIC, 2, struct vme_slave)
38 #define VME_GET_MASTER _IOR(VME_IOC_MAGIC, 3, struct vme_master)
39 #define VME_SET_MASTER _IOW(VME_IOC_MAGIC, 4, struct vme_master)
41 #endif /* _VME_USER_H_ */