/* basic userland interface stuff */
.name = "usb-storage",
.proc_name = "usb-storage",
- .proc_info = usb_storage_proc_info,
- .info = usb_storage_info,
+ .proc_info = proc_info,
- .proc_dir = NULL,
+ .info = host_info,
- .ioctl = NULL,
-
- /* old-style detect and release */
- .detect = NULL,
- .release = NULL,
/* command interface -- queued only */
- .queuecommand = usb_storage_queuecommand,
- .command = NULL,
+ .queuecommand = queuecommand,
/* error and abort handlers */
- .eh_abort_handler = usb_storage_command_abort,
- .eh_device_reset_handler = usb_storage_device_reset,
- .eh_bus_reset_handler = usb_storage_bus_reset,
+ .eh_abort_handler = command_abort,
+ .eh_device_reset_handler = device_reset,
+ .eh_bus_reset_handler = bus_reset,
- .eh_host_reset_handler = NULL,
- .eh_strategy_handler = NULL,
/* queue commands only, only one command per LUN */
.can_queue = 1,
/* unknown initiator id */
.this_id = -1,
- /* no limit on commands */
- .max_sectors = 0,
-
- /* pre- and post- device scan functions */
- .slave_alloc = NULL,
+ .slave_configure = slave_configure,
- .slave_destroy = NULL,
+
/* lots of sg segments can be handled */
.sg_tablesize = SG_ALL,