#ifndef _SCSI_SCSI_DRIVER_H #define _SCSI_SCSI_DRIVER_H #include struct module; struct request; struct scsi_cmnd; struct scsi_device; struct scsi_driver { struct device_driver gendrv; void (*rescan)(struct device *); int (*init_command)(struct scsi_cmnd *); void (*uninit_command)(struct scsi_cmnd *); int (*done)(struct scsi_cmnd *); int (*eh_action)(struct scsi_cmnd *, int); }; #define to_scsi_driver(drv) \ container_of((drv), struct scsi_driver, gendrv) extern int scsi_register_driver(struct device_driver *); #define scsi_unregister_driver(drv) \ driver_unregister(drv); extern int scsi_register_interface(struct class_interface *); #define scsi_unregister_interface(intf) \ class_interface_unregister(intf) #endif /* _SCSI_SCSI_DRIVER_H */ href='/cgit.cgi/linux/net-next.git/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/Documentation/xillybus.txt
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-09 19:53:05 +0100
committerJonathan Corbet <corbet@lwn.net>2016-12-11 13:37:55 -0700
commit868c97a846a73e937d835b09b8c885a69df50ec8 (patch)
tree9cdc05e799d117ac71b29d0958ee3dc65b8d539d /Documentation/xillybus.txt
parent9e22ff439fa2e1201b168c001683f275afd46258 (diff)
dma-buf: Extract dma-buf.rst
Just prep work to polish and consolidate all the dma-buf related documenation. Unfortunately I didn't discover a way to both integrate this new file into the overall toc while keeping it at the current place. Work around that by moving it into the overall driver-api/index.rst. Cc: linux-doc@vger.kernel.org Cc: Jonathan Corbet <corbet@lwn.net> Cc: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/xillybus.txt')