const struct usb_device_id *id)和storage_disconnect(struct usb_interface *intf)这两个函数,是不是只在当u盘识别过程中使用啊??
要是在访问u盘中的文件,就不会用到static struct usb_driver usb_storage_driver = {
.name = "usb-storage",
.probe = storage_probe,
.disconnect = storage_disconnect,
#ifdef CONFIG_PM
.suspend = storage_suspend,
.resume = storage_resume,
#endif
.pre_reset = storage_pre_reset,
.post_reset = storage_post_reset,
.id_table = storage_usb_ids,
};
这些函数了吧??