日期:2014-05-16  浏览次数:20619 次

请手请进:usb driver 2.6.9 vs 2.6.15
在Linux 2.6.9内核中
struct usb_class_driver {
char *name;
struct file_operations *fops;
mode_t mode;
int minor_base;
};

FC5:2.6.15中变为:
struct usb_class_driver {
char *name;
struct file_operations *fops;
int minor_base;
};
读写存取mode_t mode哪里去?还要在别的地方设置吗?

------解决方案--------------------
不知道是不是像人类渐渐没有尾巴一样退化掉了~~~ ^_^
------解决方案--------------------
用户使用时可以自己定义吧。。。