xref: /haiku/src/add-ons/kernel/drivers/bus/scsi/scsi_raw.h (revision 9c4f4c037d1026f630885f682de9d5a4c24cc124)
1 /*
2  * Copyright 2003, Thomas Kurschel. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _SCSI_RAW_H
6 #define _SCSI_RAW_H
7 
8 /*
9 	Part of Open SCSI Raw Driver
10 */
11 
12 
13 #include <device_manager.h>
14 #include <bus/SCSI.h>
15 
16 #define debug_level_flow 0
17 #define debug_level_error 3
18 #define debug_level_info 0
19 
20 #define DEBUG_MSG_PREFIX "SCSI_RAW -- "
21 
22 #include "wrapper.h"
23 
24 
25 typedef struct raw_device_info {
26 	device_node_handle node;
27 	scsi_device scsi_device;
28 	scsi_device_interface *scsi;
29 } raw_device_info;
30 
31 
32 #define SCSI_RAW_MODULE_NAME "drivers/bus/scsi/scsi_raw/"SCSI_DEVICE_TYPE_NAME
33 
34 #endif	/* _SCSI_RAW_H */
35