vmod/vmodttl: fixed bug related to luns not ordered and/or not starting from zero.
[ht-drivers.git] / cdcm / cdcm-driver-gen.h
blob37ef8fe61d77f635e8a5674e61fc30822681b136
1 /**
2 * @file cdcm-driver-gen.h
4 * @brief Function declarations
6 * @author Copyright (C) 2009 CERN. Yury GEORGIEVSKIY <ygeorgie@cern.ch>
8 * @date Created on 12/06/2009
10 * @section license_sec License
11 * Released under the GPL
13 #ifndef _CDCM_DRIVER_GEN_H_INCLUDE_
14 #define _CDCM_DRIVER_GEN_H_INCLUDE_
16 int dg_get_dev_info(unsigned long) __attribute__((weak));
17 int dg_get_mod_am(void) __attribute__((weak));
18 int dg_cdv_install(char *, struct file_operations *, char *) __attribute__((weak));
19 int dg_cdv_uninstall(struct file *, unsigned long) __attribute__((weak));
21 ssize_t dg_fop_read(struct file *, char __user *, size_t, loff_t *) __attribute__((weak));
22 ssize_t dg_fop_write(struct file *, const char __user *, size_t, loff_t *) __attribute__((weak));
23 unsigned int dg_fop_poll(struct file *, poll_table *) __attribute__((weak));
24 long dg_fop_ioctl(struct file *, unsigned int cmd, unsigned long) __attribute__((weak));
25 int dg_fop_mmap(struct file *, struct vm_area_struct *) __attribute__((weak));
26 int dg_fop_open(struct inode *, struct file *) __attribute__((weak));
27 int dg_fop_release(struct inode *, struct file *) __attribute__((weak));
29 #endif /* _CDCM_DRIVER_GEN_H_INCLUDE_ */