1/** 2 * 3 * TODO: description 4 * 5 * This file is a part of USB SCSI CAM for Haiku. 6 * May be used under terms of the MIT License 7 * 8 * Author(s): 9 * Siarzhuk Zharski <imker@gmx.li> 10 * 11 * 12 */ 13/** driver settings support definitions */ 14 15#ifndef _USB_SCSI_SETTINGS_H_ 16 #define _USB_SCSI_SETTINGS_H_ 17 18void load_module_settings(void); 19 20typedef struct{ 21 uint16 vendor_id; 22 uint16 product_id; 23 uint32 properties; 24#define VENDOR_PROP_NAME_LEN 0x08 25 char vendor_protocol[VENDOR_PROP_NAME_LEN + 1]; 26 char vendor_commandset[VENDOR_PROP_NAME_LEN + 1]; 27}usb_device_settings; 28 29bool lookup_device_settings(const usb_device_descriptor *udd, 30 usb_device_settings *uds); 31 32extern int reserved_devices; 33extern int reserved_luns; 34extern bool b_reservation_on; 35extern bool b_ignore_sysinit2; 36 37#endif /*_USB_SCSI_SETTINGS_H_*/ 38 39