xref: /haiku/headers/os/device/scsi_bus_raw_driver.h (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1 /*
2 ** Copyright 2002-04, Thomas Kurschel. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 
6 /*
7 	Part of Open SCSI bus manager
8 
9 	Devfs entry for raw bus access.
10 
11 	This interface will go away. It's used by scsi_probe as
12 	long as we have no proper pnpfs where all the info can
13 	be retrieved from.
14 */
15 
16 #ifndef _SCSI_BUS_RAW_DRIVER_H
17 #define _SCSI_BUS_RAW_DRIVER_H
18 
19 #include <Drivers.h>
20 
21 // we start with +300 to not collide with any other SCSI opcode defined
22 // in scsiprobe_driver.h or scsi.h;
23 // all ioctl calls return the subsystem status (see SCSI.h)
24 enum {
25 	B_SCSI_BUS_RAW_RESET = B_DEVICE_OP_CODES_END + 300,
26 	B_SCSI_BUS_RAW_PATH_INQUIRY
27 };
28 
29 #endif
30