2004-06-07 03:52:08 +04:00
|
|
|
/*
|
2010-04-13 13:48:02 +04:00
|
|
|
* Copyright 2002-2004, Thomas Kurschel. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _SCSI_BUS_RAW_DRIVER_H
|
|
|
|
#define _SCSI_BUS_RAW_DRIVER_H
|
2004-06-07 03:52:08 +04:00
|
|
|
|
2010-04-13 13:48:02 +04:00
|
|
|
|
|
|
|
/*! Part of Open SCSI bus manager
|
2004-06-07 03:52:08 +04:00
|
|
|
|
|
|
|
Devfs entry for raw bus access.
|
|
|
|
|
|
|
|
This interface will go away. It's used by scsi_probe as
|
|
|
|
long as we have no proper pnpfs where all the info can
|
|
|
|
be retrieved from.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <Drivers.h>
|
|
|
|
|
2010-04-13 13:48:02 +04:00
|
|
|
|
2004-06-07 03:52:08 +04:00
|
|
|
// we start with +300 to not collide with any other SCSI opcode defined
|
|
|
|
// in scsiprobe_driver.h or scsi.h;
|
|
|
|
// all ioctl calls return the subsystem status (see SCSI.h)
|
|
|
|
enum {
|
|
|
|
B_SCSI_BUS_RAW_RESET = B_DEVICE_OP_CODES_END + 300,
|
|
|
|
B_SCSI_BUS_RAW_PATH_INQUIRY
|
|
|
|
};
|
|
|
|
|
2010-04-13 13:48:02 +04:00
|
|
|
#endif /* _SCSI_BUS_RAW_DRIVER_H */
|